Skip to main content

The Tokenizer Tax: Your AI Feature Costs More and Works Worse in Every Language but English

· 10 min read
Tian Pan
Software Engineer

Your pricing page says every user pays the same. Your cost dashboard says otherwise. The same AI feature — same prompt template, same model, same feature flag — costs 55% more to serve a Spanish user, roughly double for a Japanese user, and over 3x for an Arabic or Bengali user. Meanwhile, the quality those users receive is measurably worse: on identical benchmark questions translated across languages, frontier models drop 13 to 24 percentage points when you leave the English distribution.

Most teams shipping AI features globally have never measured either number. They have per-locale pricing, per-locale support SLAs, per-locale legal review — and a single English eval suite standing in for the experience of every user on the planet.

This is the tokenizer tax, and it compounds with a quality gap that scale alone doesn't close. Both are invisible in your dashboards until you slice by language, and both were decided years before you wrote your first prompt, by the training corpus of a tokenizer you don't control.

Where the Tax Comes From

LLMs don't bill you for words or characters. They bill you for tokens, and tokens are not a neutral unit. A tokenizer's vocabulary is learned from its training corpus by merging frequently co-occurring byte sequences. Since web-scale corpora are overwhelmingly English — Common Crawl is roughly 46% English, with every other language in a long tail — the tokenizer learns big, efficient chunks for English and fragments for everything else.

The result is a metric researchers call fertility: the average number of tokens needed to represent one word. English on a modern tokenizer runs close to 1.2–1.5 tokens per word, around four characters per token. Chinese, Japanese, and Korean text often degrades to roughly one token per character. Languages with rich morphology or non-Latin scripts — Turkish, Hindi, Thai, Amharic — fragment even harder. Systematic measurements across languages show the same semantic content requiring anywhere from 1.5x to over 5x the tokens of its English equivalent, with some low-resource African languages exceeding that.

Fertility is not a rounding error. It multiplies through every line item of your serving economics:

  • API cost scales linearly with tokens. A 2x fertility language means 2x input cost and 2x output cost for the same conversation, forever.
  • Effective context shrinks by the same factor. Your 128K-token window holds half the Japanese conversation history, half the retrieved documents, half the few-shot examples. Users lose the start of their conversation sooner and your RAG pipeline truncates more aggressively — in exactly the locales where the model needs more grounding, not less.
  • Latency scales with output tokens. Time-to-last-token roughly doubles when the answer takes twice the tokens. Your p95 latency SLO is quietly a per-language SLO.
  • Rate limits and quotas are token-denominated. The same traffic volume from a CJK-heavy user base burns your provider quota at twice the rate your English-based capacity planning assumed.

Newer tokenizers help but don't fix it. Moving from a 100K vocabulary to 200K or 256K vocabularies meaningfully narrows the CJK gap, which is why the same Japanese paragraph counts differently on different providers. But the ordering never changes: English is always the cheapest language, and the gap to the tail never closes, because you cannot add efficient vocabulary for 300+ languages without ballooning the embedding table — expanding a vocabulary by a few thousand tokens per language across hundreds of languages turns a 4B-parameter model into a 20B one with no capability gain.

The Quality Gap Rides on Top of the Cost Gap

If non-English users merely paid more for the same quality, this would be a pricing problem. They pay more for less.

Cross-lingual benchmarks built from identical questions — MMLU-ProX across 29 languages, Global MMLU, MuBench across 61 languages — consistently show frontier models losing double-digit accuracy off the English distribution. The drop is modest for high-resource European languages, grows through mid-resource languages, and reaches 20–30 percentage points for languages like Swahili. Reasoning chains get shorter and sloppier. Instruction-following degrades. Safety guardrails, themselves mostly trained on English red-teaming data, regress in both directions — more false refusals and more misses.

Fertility itself predicts part of this. A study of ten models across sixteen African languages found that higher fertility consistently correlates with lower accuracy — each additional token per word costing 8 to 18 points depending on subject and model — with fertility explaining 20–50% of accuracy variance. The mechanism is intuitive once you see it: when a word shatters into meaningless fragments, morphological information the model needs is destroyed at the input layer. A Turkish suffix that marks case, split mid-morpheme, is noise instead of signal. Diacritics that carry semantic weight in some languages get mangled in generation at rates as high as 18–50%. A typo in a fragmented script can produce a token sequence with zero overlap with the correctly spelled form — so the robustness to noisy input you take for granted in English simply isn't there.

The compounding is what should worry you. The locales where the model is weakest are the same locales where fertility eats your context budget fastest, which means less room for the retrieved documents and few-shot examples that would compensate for the weakness. Your mitigation budget is smallest exactly where you need it most.

Loading…
References:Let's stay in touch and Follow me for more thoughts and updates