LLM token counter
One counter per provider, because there is no such thing as a token count that is right for all of them. The same paragraph is a different number of tokens to OpenAI than to Claude, and the difference is what you are billed on. Pick the family you are pricing.
| Counter | Counting | Tokens / word | Models | From |
|---|---|---|---|---|
| OpenAI token counter | exact | 1.11 | 63 | $0.10 |
| Claude token counter | estimated | 1.28 | 19 | $0.10 |
| Gemini token counter | estimated | 1.17 | 33 | $0.10 |
| DeepSeek token counter | estimated | 1.20 | 10 | $0.14 |
| Grok token counter | estimated | 1.18 | 35 | $1.00 |
| Perplexity token counter | estimated | 1.17 | 16 | $0.20 |
| Kimi token counter | estimated | 1.20 | 13 | $0.95 |
| Groq token counter | estimated | 1.20 | 4 | $0.075 |
| Mistral token counter | estimated | 1.22 | 48 | $0.10 |
| Cohere token counter | estimated | 1.21 | 5 | $0.50 |
| Cerebras token counter | estimated | 1.20 | 8 | $0.10 |
| AI21 token counter | estimated | 1.22 | 7 | $0.20 |
Why the counts differ
A tokenizer is part of a model, not a standard. OpenAI publishes theirs, so the 63 OpenAI models on this site are counted by running the real encoder in your browser. No other lab publishes one. Every other family here is that same encoder's count scaled by the ratio the provider publishes for its own tokenizer — 1.05 for Gemini, 1.15 for Claude — and labelled estimated on every figure it touches.
Which means: use these numbers to choose a model and size a budget. Do not use them to reconcile an invoice. A tool that hands you a single exact count for twelve providers is quietly doing the same scaling and not telling you.
Questions
- How many tokens is 1,000 words?
- About 1110 tokens on OpenAI's encoder for English prose, and 5–15% more on families that tokenize denser. Code, JSON and non-Latin scripts run denser still.
- Is there one token counter that works for every LLM?
- No, and any tool claiming otherwise is estimating. Only OpenAI publishes a tokenizer, so counts for its 63 models are exact and every other family is that count scaled by a published ratio, labelled as an estimate.