The same paragraph can cost nearly twice as many tokens on one model as on another. Measure it here, in your browser.
Pick the models to compare. Each tokenizer downloads once (size shown on the chip) and runs locally; your text never leaves the page. Click a row to see exactly where it cuts.
Type an OpenRouter model (for example deepseek/deepseek-v4.1-flash) or a Hugging Face repo (for example Qwen/Qwen3.6-27B). OpenRouter tells us which Hugging Face repo backs each open model; the page then pulls that repo's tokenizer directly. Closed models such as Claude, Gemini and Grok have no public tokenizer to pull.
Usually within a generation, often not across them. Each panel plots vocabulary size by release on the same scale (dashed lines at 100k and 200k). Labels come from comparing the old and new tokenizer files entry by entry, not from release notes.
Loading…
Characters per token on five fixed passages of the same content (higher is cheaper). Each column is shaded against its own best, so the colour shows how far a model trails the leader on that kind of text. Every tokenizer handles English prose within 3% of every other; on Chinese the best is 1.97× the worst.
Vocabulary size is base entries plus special tokens, counted from the files themselves. "Public" means the tokenizer file can be downloaded, regardless of whether the model weights are open.
| Vendor | Latest model | Tokenizer | Vocabulary | Public | How to count |
|---|
Anthropic, Google and xAI don't publish their tokenizers, and OpenAI hasn't published GPT-6's. Send the text to the official endpoint and it returns the count. Each needs that vendor's API key.