# Why Do Token Counts Differ Across Languages and Models?

> Why the same text can cost more tokens in some languages and on some models, and how to count it right, explained for your AI interview.

**In short:** A tokenizer learned its pieces from its training text, so languages it saw less of split into more tokens. The count also depends on the model and its encoding, so always count with the model you plan to use.

AI and LLM interview question Q005, LLM fundamentals. Intermediate, common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/why-do-token-counts-differ-across-languages-and-models

## Say it in 30 seconds

A token is a piece of text, like a word, part of a word or a symbol. A tokenizer learns its pieces from its training text. So text it saw less of splits into more pieces, and the same policy can cost far more in one language. The count depends on the model and its encoding too, so counts change when you switch models. I count with the model I will run, and I check the usage on each real call.

## Say it in 2 minutes

A token is a small piece of text that a model reads and counts, such as a word, part of a word, a number or a symbol. The tokenizer decides where the pieces break. It learned those pieces from its training text, so text that looks like that training text gets big, reusable pieces.

Languages differ because that training text is uneven. Petrov and colleagues found differences up to 15 times in some cases, and the gap persists even in tokenizers built for many languages. So a policy that is a few thousand tokens in English can be several times bigger in a language the tokenizer saw less.

Models differ because the count depends on the model and its encoding. Anthropic says Claude 4.7 and later models give about 30 percent more tokens than earlier models for the same input, and the exact increase depends on the content. So I never reuse an old count. I count with the model I will run, using its counting tool, and I count the whole request, not just the text.

Then I check what each real call reports and compare it with my estimate. I keep a separate budget for every language the product serves, and I recount whenever the model changes. A budget set on one language or one model is a guess for the others. If a real call uses more tokens than my estimate, I fix the estimate before the next release, not after the bill arrives.

## What is a token count, in plain words?

A token is a small piece of text that a model reads and counts. It can be a whole word, part of a word, a number or a symbol. The tokenizer is the part that cuts text into tokens, and it decides where each piece starts and ends.

The token count is how many of those pieces a text turns into. It matters because usage, limits and costs are counted in tokens. OpenAI's help page says that input, output and cached tokens all affect usage, model limits and costs.

Think of a call centre's shorthand codebook. A common request has a one-word code. A rare phrase has no code, so the agent spells it out letter by letter, and the log gets longer. A tokenizer works the same way: it has codes for what it saw often, and spells out the rest in smaller pieces.

A real product shows the same effect. A bank's fee policy can cost far more tokens in Tamil than in English, because the tokenizer has fewer learned codes for Tamil.

Byte pair encoding (BPE) is a common method for building those codes. It starts with single letters and merges the pairs that show up together most often.

- **Token:** A small piece of text, often part of a word, that the model reads and counts.
- **Tokenizer:** The fixed set of rules that cuts text into tokens. Its rules are tied to a model or encoding.
- **Vocabulary:** The list of pieces a tokenizer knows, with a number for each piece.
- **Byte pair encoding (BPE):** A common way to learn the pieces: merge the pairs of letters that appear together most often.

## Why does the same text get different counts across languages?

A tokenizer is built once, from a large pile of training text. Hugging Face's guide says common words stay whole as single tokens, while rare words split into smaller subword pieces.

*Diagram, Same meaning, different token counts: A simplified picture: the same policy, in two languages, goes through one tokenizer. Its learned rules keep English in big pieces and split a less common script into many small ones. The words are a rough picture of the gap, with no measured counts.*
1. English text reaches the tokenizer. Its common words match big pieces.
2. Tamil text reaches the same rules. Its letters match many small pieces.
3. English comes out as a short list of tokens.
4. The same meaning in Tamil comes out as a much longer list.

So, in our reading, the training text sets the cost, because the pieces are learned from it. A language with lots of text gets big, reusable pieces. A language with little text is split into many small ones. Petrov and colleagues, in their 2023 paper, found the gap can be large:

> "The same text translated into different languages can have drastically different tokenization lengths, with differences up to 15 times in some cases." (Petrov and colleagues, 2023)

The same study found these disparities persist even in tokenizers built on purpose for many languages. Spaces matter too. Hugging Face's guide notes that the standard methods assume spaces separate words, which does not suit Chinese and Japanese, since they do not use spaces between words.

## Why do two models count the same text differently?

Each model's count depends on the model and its encoding, so the same text can count differently from one model to the next. OpenAI's help page says plainly that the count depends on the model, its encoding and the language.

> "The same text can produce different token counts depending on the model, its encoding, and the language." (OpenAI, help center)

- **Older model: Its own count.** Last quarter's count belongs to that model, and only to it.
- **Newer model: About 30% more.** Anthropic says Claude 4.7 and later models give about 30 percent more tokens than earlier models for the same input, depending on the content.

Anthropic's token counting page adds the detail that matters for a team: its counting endpoint follows the tokenizer of the model you pass. Pass the model you will run, and the count follows that model's tokenizer.

## How big can the gap get in a real product?

Take a mid-size bank's support bot. Every chat loads the bank's fee policy, a 30-page document. These are made-up numbers, to show the scale. The policy is 9,000 tokens in English. The same policy, with the same meaning, in Tamil comes to 27,000 tokens on the same model.

The team's budget used the English count. So each Tamil chat sends three times the policy text, and the policy alone takes three times the room in the context window. The estimate was short by 18,000 tokens a chat, and the English tests never showed it.

Then the bank moves to a newer model. The newer tokenizer can add about 30 percent more to the same text, depending on the content, so the old count is short again. The fix is a recount on the model you will run, for each language the bot serves.

## How do you count tokens correctly?

1. **Count with the model you will run:** Use that model's own counting tool or endpoint. Counts follow the model you pass, so an old model's number is the wrong number.
2. **Don't trust the English rule of thumb:** OpenAI's rule of about 4 characters per token is for English text, and OpenAI says these are estimates, not exact counts.
3. **Count the whole request:** A plain-text count can miss some tokens in an API request. Tools, images and files can change the full input count too.
4. **Check the real usage after each call:** Field names vary by endpoint, so read the usage fields your API returns. After a request, inspect its usage information, and compare it with your estimate.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] Tokens are pieces the tokenizer learned, not words.
- [ ] The training text sets the pieces, so languages seen less split more.
- [ ] The count depends on the model and its encoding, so counts change between models.
- [ ] Real numbers come from counting with the model you will run.
- [ ] Count the whole request, and check the usage on each call.
- [ ] The 4-characters rule is an English estimate only.

**Common traps**

- Trap: "One token is one word, so English rules work everywhere." Better: A token is often part of a word. The rule of thumb is for English, and only roughly.
- Trap: "Same meaning, same token count." Better: Meaning does not set the count. The tokenizer's rules and its training text do.
- Trap: "Last quarter's count still holds." Better: Recount after any model switch. A newer tokenizer can add about 30 percent more tokens, depending on the content.

## Can you spot the wrong estimate?

**Spot the wrong estimate:** A bank's budget sheet has four lines for the same policy. Which line underestimates the Tamil version?

A. Policy in Tamil: 9,000 tokens, estimated at 4 characters per token.
B. Policy in English: 9,000 tokens, counted with the new model's counting endpoint.
C. Policy in Tamil: 27,000 tokens, counted with the new model's counting endpoint.
D. Chat history: recounted each turn, since it grows during a chat.

**Answer:** A. The 4-characters rule is an English estimate. Tamil splits into many more pieces, so the same rule gives a count far too low. Count the Tamil text on the model the bot will run.

**Quick check:** The bank's bot moves to a newer model. Its budget was set with last quarter's counts. What is the safest first step?

A. Keep the budget, since the policy text has not changed
B. Recount the policy on the new model before setting the budget
C. Cut the policy by a quarter to be safe
D. Switch the bot to English only

**Answer:** B. Same text, new tokenizer: the count can change. Only a recount on the model you will run gives a reliable number. Cutting text or changing language does not fix the budget.

## Can you answer these from memory?

**Flash cards**

- **Why do token counts differ?** The tokenizer's learned rules split text differently by language and by model.
- **Is one token one word?** No. A token can be a character, part of a word, a whole word or punctuation.
- **The English rule of thumb?** About 4 characters per token. It is an estimate for English text only.
- **Why is some text costlier?** Less training text means fewer learned pieces for that language, so more splits per word.
- **What about a newer Anthropic model?** Claude 4.7 and later: about 30 percent more tokens than earlier models, depending on the content.
- **What is the fix for a budget?** Count with the model you will run, using its counting tool or endpoint.

## Likely follow-up questions

- Q003 What is a token, and why not whole words? https://designervenkat.online/interview/ai/what-is-a-token
- Q004 How do tokenizers like BPE, WordPiece and SentencePiece work? https://designervenkat.online/interview/ai/how-do-tokenizers-work-bpe-wordpiece-sentencepiece
- Q040 How do you estimate the token count of a text? https://designervenkat.online/interview/ai/how-do-you-estimate-the-token-count-of-a-text
- Q324 How do you estimate token cost for a feature? https://designervenkat.online/interview/ai/how-to-estimate-token-cost
- Q105 How do you budget tokens for chat history? https://designervenkat.online/interview/ai/how-do-you-budget-tokens-for-chat-history

## Learn it in depth

- [Tokens](https://designervenkat.online/learn/ai-engineering/tokens)
