The language tax: how much more you pay to use an LLM in Spanish (and why)

The same 1,012 sentences through 16 tokenizers and 25 languages: Spanish costs 26% to 69% more than English.
If your application talks to a language model in Spanish, you pay more than if it talked in English. Not a little more: with o200k, GPT-4o's tokenizer, the same sentence costs 32% more in Spanish. With DeepSeek's, 50% more. With Kimi's, 69% more. A $100 monthly bill in English is $132, $150 or $169 in Spanish, depending on who you pay. And nobody puts it on the pricing page, because the pricing page is per million tokens and doesn't say how many tokens your sentences are.

I wanted to know where that surcharge comes from, so I took the same corpus of 1,012 human-translated sentences (FLORES-200), ran it through the tokenizers of eight model families and counted. Then I repeated the count with 23 more languages besides English and Spanish, because anyone reading this in English also has users who write in Hindi, Portuguese or Japanese.

There are two culprits, and it pays to separate them, because one can't be fixed and the other can. Written Spanish is 19% longer than English: you pay that with any model in the world and it isn't going to change. The rest, anywhere from 7% to 50% depending on the tokenizer, is that the model's chopper learned from far more English than Spanish and cuts our words into more pieces. That does change, and it changes a lot between providers and between generations of the same provider.

A word on tone: there are wide tables and figures with three decimals, but there is also a tokenizer that needs seven tokens to write "¿Cómo estás?", and that deserves a comment.

What I measured and what I didn't

Everything below comes from counting tokens myself, on October 31, 2026, with the tokenizer files each lab publishes on Hugging Face or in its libraries, pinned to a specific revision. There isn't a single figure from memory or from an X thread. Prices are the list prices on each provider's official page that day, in dollars per million tokens, and I use them as they are.

  • Actually measured: the tokenizers of OpenAI (o200k_base, used by GPT-4o and gpt-oss, and cl100k_base, used by GPT-4 and the original ChatGPT), DeepSeek (V3.2 and V4.1-Flash), Mistral (Small 3.2 and Large 4), Qwen (Qwen3-8B and Qwen3.8), Meta (Llama 3.3 and Llama 4 Scout), Google (Gemma 3 and Gemma 4), Z.ai (GLM-4.6 and GLM-5.3) and Moonshot (Kimi K2 and K3). Sixteen files, although several give identical counts and I say so when it happens.
  • Not measured: Claude and Gemini. Anthropic and Google don't publish the tokenizer of their API models; the only way to count is to call their token-counting API, and I had no key for that. For Gemini there's a reasonable approximation that I explain below; for Claude, none I'd dare sign.
  • What I don't use even though I've seen it: Mistral's prices, because I found two different figures for Mistral Large on two official pages and couldn't work out which applies. I give its token ratio, which is what I measured, and not its dollars.

The corpus is the FLORES-200 devtest: 1,012 sentences taken from Wikinews, Wikibooks and Wikivoyage and translated by human translators into more than 200 languages, the same sentence in all of them. It's the corpus used by the reference paper on this topic, Petrov et al. at NeurIPS 2023 (they used 2,000 FLORES-200 sentences; I used the 1,012 of the devtest), and that lets me check that my measurement matches theirs: they got 1.55 for Spanish with ChatGPT's tokenizer; I get 1.544. That reassures me about the method, so on to what matters.

The count: how much more you pay in Spanish

I'll start with the table everyone wants to see. The "ES/EN" column is how many tokens it takes in Spanish for every token it takes in English to say the same thing, over the full 1,012 sentences. The confidence intervals come from a bootstrap of 10,000 resamples over the sentences, including for Mistral Large 4 and Qwen3.8. They help separate noise from signal: the five in the 1.30-1.34 zone (Gemma 3, Llama 4, Mistral Small 3.2, o200k and Qwen3.8) have overlapping intervals and can't be told apart with this corpus; Mistral Large 4 sits below all of them, with a separate interval; between that zone and GLM, DeepSeek, cl100k or Kimi, the gap is many times the interval.

Family Tokenizer EN tokens ES tokens ES/EN 95% CI Same count as
Mistral Large 4 (Tekken) 27,831 34,965 1.256 [1.245, 1.268]
Google Gemma 3 27,114 35,167 1.297 [1.284, 1.310] Gemma 4 (12B and 31B)
Meta Llama 4 Scout 27,048 35,113 1.298 [1.286, 1.311]
Mistral Small 3.2 (Tekken) 27,827 36,657 1.317 [1.304, 1.331]
OpenAI o200k_base 26,873 35,415 1.318 [1.305, 1.331] gpt-oss-120b ✱, o200k_harmony
Qwen Qwen3.8 27,530 36,423 1.323 [1.310, 1.337] Qwen3.8-27B ✱, Flash-Next ✱
Z.ai GLM-5.3 27,185 39,188 1.442 [1.426, 1.457] GLM-4.6, 5.1 ✱, 5.2 ✱
DeepSeek V4.1-Flash-1017 27,041 40,434 1.495 [1.480, 1.511] V3.2, V4-Pro-0813 ✱
Qwen Qwen3 (8B, 2025) 27,621 42,051 1.522 [1.506, 1.539]
Meta Llama 3.3 27,171 41,885 1.542 [1.525, 1.558]
OpenAI cl100k_base (GPT-4) 27,182 41,974 1.544 [1.528, 1.561]
Moonshot Kimi K3 27,137 45,842 1.689 [1.672, 1.708] K2, K2.6 ✱, K2.7-Code ✱

✱ Checked separately, by file hash or by counting by hand; reproduce.py doesn't measure these tokenizers, so this match can't be reproduced with the published script. The others can.

Three things jump out.

The first: the range runs from 1.26 to 1.69. Between the best tokenizer for Spanish and the worst there are 43 percentage points of difference in what you pay for the same sentence. That's more than the list-price gap between many competing models.

The second: every lab that has renewed its tokenizer has improved Spanish, and not by a little. OpenAI went from 1.544 (cl100k) to 1.318 (o200k). Meta, from 1.542 (Llama 3.3) to 1.298 (Llama 4). Qwen, from 1.522 to 1.323 between Qwen3 and Qwen3.8. The three jumps are almost the same: from "50% more" to "30% more". What changed I cover in the why section; I'll say up front that Google and Mistral do say what they did with theirs, and that for OpenAI, Meta and Qwen what I give is my interpretation.

The third: some labs' tokenizers have behaved the same, in this corpus, for several generations, and it shows. Kimi K3's file is, byte for byte, the same as Kimi K2's (same SHA-256 hash). DeepSeek changed the file between V3.2 and V4.1, but the measured behavior doesn't change: the counts come out identical down to the last token, in English and in Spanish. GLM-5.1, 5.2 and 5.3 share a file (I checked 5.1 and 5.2 separately, outside the script), and GLM-4.6 has a different one that counts exactly the same. A model being from 2026 doesn't mean its tokenizer is.

In dollars

A ratio is abstract; a bill isn't. This table applies the ratio to each model's list price. The reading is: "what a million tokens costs in English gets charged to you as if it were 1.3 or 1.5 or 1.7 million when the text is in Spanish". The right-hand column is a sample job with a million input tokens and a million output tokens, counted in English, and what that same job costs when the text is in Spanish.

Model (list price $/M, input / output) Tokenizer used ES/EN Effective input in ES Effective output in ES 1M+1M job: EN → ES
DeepSeek deepseek-flash (0.30 / 1.20, peak rate) V4.1-Flash-1017 (its own) 1.495 0.45 1.79 $1.50 → $2.24 (+0.74)
DeepSeek deepseek-v4-pro (1.32 / 3.96, peak) V4-Pro-0813 (its own) 1.495 1.97 5.92 $5.28 → $7.90 (+2.62)
Z.ai GLM-5.3 (1.40 / 4.40) GLM-5.3 (its own) 1.442 2.02 6.34 $5.80 → $8.36 (+2.56)
Moonshot kimi-k3 (3.00 / 15.00) Kimi K3 (its own) 1.689 5.07 25.34 $18.00 → $30.41 (+12.41)
Alibaba qwen3.8-max (2.00 / 6.00) Qwen3.8 ⁽¹⁾ 1.323 2.65 7.94 $8.00 → $10.58 (+2.58)
OpenAI GPT-6 Luna (0.10 / 0.50) o200k_base ⁽²⁾ 1.318 0.13 0.66 $0.60 → $0.79 (+0.19)
OpenAI GPT-6.1 Sol (2.00 / 10.00) o200k_base ⁽²⁾ 1.318 2.64 13.18 $12.00 → $15.81 (+3.81)
OpenAI GPT-6 Astra (10.00 / 50.00) o200k_base ⁽²⁾ 1.318 13.18 65.90 $60.00 → $79.07 (+19.07)
Google gemini-3.8-flash (0.75 / 3.75 until Dec 31, 2026) Gemma 3 ⁽³⁾ ≈1.297 ≈0.97 ≈4.86 $4.50 → ≈$5.84 (+1.34)
Google gemini-3.8-flash (1.50 / 7.50 from Jan 1, 2027) Gemma 3 ⁽³⁾ ≈1.297 ≈1.95 ≈9.73 $9.00 → ≈$11.67 (+2.67)
Google gemini-4-argon (2.00 / 10.00 until Nov 30, 2026) Gemma 3 ⁽³⁾ ≈1.297 ≈2.59 ≈12.97 $12.00 → ≈$15.56 (+3.56)
Google gemini-4-argon (4.00 / 20.00 from Dec 1, 2026) Gemma 3 ⁽³⁾ ≈1.297 ≈5.19 ≈25.94 $24.00 → ≈$31.13 (+7.13)

⁽¹⁾ The file I measured is Qwen3.8-2.4T-A95B's, identical to Qwen3.8-27B's and Flash-Next's (checked separately, outside reproduce.py). I haven't checked that qwen3.8-max shares the file; I assume the family goes together, and if it doesn't, the row is wrong.
⁽²⁾ OpenAI doesn't publish which tokenizer the GPT-6 models use over the API. o200k_base is the latest it has published for its API models (GPT-4o); gpt-oss uses o200k_harmony, a later variant with the same counts. If GPT-6 uses another, these rows change. It's the most reasonable hypothesis I have, and it is a hypothesis.
⁽³⁾ Google says in the Gemma 3 technical report that it uses "the same tokenizer as Gemini 2.0". Gemini 3.8 and 4 are not Gemini 2.0, so this is an approximation two generations removed. Google's pricing page, read on October 31, 2026, announced the two increases shown in the table: gemini-4-argon goes to 4.00 / 20.00 on December 1, 2026 and gemini-3.8-flash to 1.50 / 7.50 on January 1, 2027, before this article is published. The newer rows are the ones you'll be charged.

Two readings of this table before moving on. One: the absolute surcharge is driven by price, not by ratio. Kimi K3 has the worst ratio for Spanish and is also expensive, so the sample job costs it $12 more in Spanish than in English; for GPT-6 Luna, with a middling ratio and a very low price, the same surcharge costs 19 cents. Two: when you compare two models of similar price, the tokenizer can be the difference between them. qwen3.8-max and GPT-6.1 Sol cost the same on input in English ($2) and practically the same in Spanish (2.65 against 2.64), because their tokenizers treat Spanish almost identically. GLM-5.3 costs 1.40 on input in English and 2.02 in Spanish; in Spanish it gets close to what the other two cost in English.

A warning that holds for the whole table: FLORES is text from Wikinews, Wikibooks and Wikivoyage translated by humans. What the model sends back in Spanish may be more or less wordy than a human translation, and what you send it may be JSON, code or an English system prompt, none of which pays the surcharge. These ratios are for text in Spanish; how much of your traffic is text in Spanish, you know.

Where the surcharge comes from: two culprits

This is the part of the exercise I found most useful. The surcharge in the table above can be split into two factors that multiply, and both can be measured.

The first is that Spanish is longer. The 1,012 sentences take up 131,966 characters in English and 157,041 in Spanish: 19.0% more. In words the same happens (21,901 against 26,081, 19.1% more). In this corpus and with these translators that's how it is, and the underlying reason is the usual one: "the" is three letters, while Spanish brings "el", "la", "los", "las" along with prepositions and agreements that English doesn't have. Every tokenizer pays this, even a perfect one, and no provider can do anything about it.

The second is that the tokenizer chops Spanish up worse. If a tokenizer were equally efficient in both languages, the token ratio would be 1.19, the same as the character ratio. Everything above 1.19 is the tokenizer. Dividing the token ratio by 1.19 gives the pure tokenizer penalty: how many more pieces it makes per character in Spanish than in English. A note on the unit: here I measure length in characters; if I measure it in UTF-8 bytes, Spanish is 21.1% longer (the accents and the eñe take two bytes) and the penalty comes out somewhat smaller (1.088 instead of 1.107 for o200k). Both are correct, they say different things, and I state which one I use in each table: characters in this section, bytes in the 25-language one.

Tokenizer ES/EN tokens Total surcharge From length From tokenizer Pure penalty
Mistral Large 4 1.256 +25.6 pts +19.0 +6.6 1.056
Gemma 3 / 4 1.297 +29.7 +19.0 +10.7 1.090
Llama 4 Scout 1.298 +29.8 +19.0 +10.8 1.091
Mistral Small 3.2 1.317 +31.7 +19.0 +12.7 1.107
o200k_base 1.318 +31.8 +19.0 +12.8 1.107
Qwen3.8 1.323 +32.3 +19.0 +13.3 1.112
GLM-5.3 1.442 +44.2 +19.0 +25.2 1.211
DeepSeek V4.1 1.495 +49.5 +19.0 +30.5 1.257
Qwen3 (2025) 1.522 +52.2 +19.0 +33.2 1.279
Llama 3.3 1.542 +54.2 +19.0 +35.2 1.295
cl100k_base 1.544 +54.4 +19.0 +35.4 1.298
Kimi K3 1.689 +68.9 +19.0 +49.9 1.420

(The "from length" and "from tokenizer" points add up to the total surcharge; the tokenizer part is 1.19 × (penalty − 1), which is why it doesn't match the bare penalty.)

With Mistral Large 4, of every 25 cents of surcharge, 19 are the language and 6 the tokenizer: almost all of it is unavoidable. With Kimi K3, of every 69 cents, 19 are the language and 50 the tokenizer: almost all of it is avoidable, and in fact others avoid it. In the middle, with o200k, the split is 19 and 13: the tokenizer is 40% of the surcharge.

What that looks like in words

The pure penalty has a visual translation: how many ordinary words fit in a single token. Among the thousand most frequent words of each language in the 1,012 sentences, I counted how many come out as a single token (with their leading space). This count is from the first pass, so for GLM, DeepSeek and Kimi the file is GLM-4.6's, DeepSeek-V3.2's and Kimi K2's, which count the same as the current ones. In English all the tokenizers sit between 93% and 96%. In Spanish:

Tokenizer Top-1000 in one token, EN Top-1000 in one token, ES
Gemma 3 95.9% 88.4%
Llama 4 Scout 94.2% 87.0%
o200k_base 95.3% 86.3%
Mistral Small 3.2 93.0% 82.5%
GLM-4.6 (= 5.3) 94.4% 69.7%
DeepSeek V3.2 (= V4.1) 93.2% 59.7%
Qwen3 (2025) 94.4% 53.5%
Llama 3.3 94.4% 51.1%
cl100k_base 94.4% 51.0%
Kimi K2 (= K3) 93.5% 26.0%

For Kimi, three out of four frequent Spanish words have no token of their own. With cl100k, half. And then there are the specific cases, which is where you see what's going on:

Word o200k Gemma 3 Mistral L4 DeepSeek Qwen3.8 Kimi K3 GLM-5.3
information 1 1 1 1 1 1 1
información `inform\ ación` (2) 2 2 2 2 2
development 1 1 1 1 1 1 1
desarrollo `des\ arrollo` (2) `des\ ar\ rollo` (3) 3 2
aprendizaje `apr\ endiz\ aje` (3) aprendizaje (1) 3 `ap\ rend\
{% raw %}también `tamb\ ién` (2) 1 2 `t\ amb\ ién` (3)
año `a\ ño` (2) año (1) 2 2 2 2
¿Cómo estás? `¿Cómo\ estás\ ?` (3) 4 3 5 4

"Information" and "development" are one token in all of them. "Información" and "desarrollo" are not in any. "Año", one of the most frequent words in the language, is two tokens in all but Gemma, and the cut falls right at the eñe. And Kimi needs seven tokens for "¿Cómo estás?": "Cómo" comes out in three pieces, C, ó and mo, with the cut on either side of the accented vowel. That the "ó" is the cause is my reading of the splitting, not something I could check in the vocabulary.

It also has to be said that the ratio is an average and varies a lot sentence by sentence. Of the three median-length sentences I looked at in detail, one (about consulting other governments' advice) comes out shorter in Spanish than in English in four of the eight tokenizers (in three of them, 20 tokens against 24, ratio 0.83) because the translator was more concise than the original. Another, with "honeymoon" and some guillemets, comes out at 1.70 with Kimi and 1.28 with Gemma. The median of the sentence-by-sentence ratios sits right next to the global ratio in every tokenizer (1.313 against 1.318 for o200k, for example), so the average is representative, but a particular sentence can be far off.

Why the tokenizer chops Spanish up worse

So far, the measurement. Now the mechanism, which is what lets you predict what will happen with the next model.

BPE: a compressor that learns from what it sees

Almost all the tokenizers in the table are variants of Byte Pair Encoding. The algorithm comes from a 1994 compression paper and was adapted to machine translation by Sennrich et al. in 2016, who describe it like this: "Byte Pair Encoding (BPE) […] is a simple data compression technique that iteratively replaces the most frequent pair of bytes in a sequence with a single, unused byte". Instead of bytes, they merge characters: "Instead of merging frequent pairs of bytes, we merge characters or character sequences".

The idea fits in one sentence: you start with single characters, look in a training corpus for which pair of adjacent symbols appears most often, merge it into a new symbol, and repeat tens of thousands of times until you have a vocabulary of the size you want. What shows up a lot in that corpus ends up as a whole token; what shows up little stays chopped into smaller pieces.

The consequence is direct: the tokenizer is a statistical portrait of the corpus it was trained on. If the corpus was 90% English, "information" will get its own token and "información" won't, not because of any property of Spanish, but because the algorithm saw "information" a hundred times more.

What they were trained on

Labs don't publish the exact tokenizer corpus, but they do give clues. GPT-2, the grandfather of cl100k and o200k, was trained on WebText, and in their own paper the authors say that when filtering the corpus they found only 10 MB of French. GPT-2's tokenizer had 50,257 entries and, according to Petrov's table, gave Spanish a ratio of 1.99: twice the tokens of English.

Llama 2 published the language distribution of its pretraining data (table 10 of the paper): English 89.70%, "unknown" 8.38%, German 0.17%, French 0.16%, Chinese 0.13% and Spanish 0.13%. The table's legend clarifies that "the large unknown category is partially made up of programming code data". It isn't the tokenizer corpus, but it gives an idea of the family's diet. And the web in general, which is where nearly everything comes from: in the Common Crawl statistics for the CC-MAIN-2026-43 capture, 42.6% of HTML pages are in English, 4.7% in Spanish, 4.4% in Chinese, 2.5% in Portuguese, 0.21% in Hindi and 0.04% in Tamil. (These are pages, not text, and detection is done by CLD2; the page itself warns about this.)

With those percentages, a BPE trained "on the web" without rebalancing will have between eight and ten times more material in English than in Spanish, and a thousand times more than in Tamil. English takes the tokens.

This also explains, I think, the jump in the newer tokenizers. What changed between cl100k and o200k, between Llama 3 and Llama 4, between Qwen3 and Qwen3.8, is the vocabulary; that the language mix of the tokenizer corpus also changed is my interpretation in those three cases, because OpenAI, Meta and Qwen don't say. Google and Mistral do. Google says it explicitly in the Gemma 3 technical report: "We use the same tokenizer as Gemini 2.0: a SentencePiece tokenizer with split digits, preserved whitespace, and byte-level encodings (Kudo and Richardson, 2018). The resulting vocabulary has 262k entries. This tokenizer is more balanced for non-English languages". Mistral, when presenting Tekken in 2024, said it compresses text "more efficiently than the SentencePiece tokenizer used in previous Mistral models", and that it is "~30% more efficient at compressing source code, Chinese, Italian, French, German, Spanish, and Russian": that 30% is against its previous SentencePiece, not against Llama 3. Against Llama 3 it only says Tekken "proved to be more proficient in compressing text for approximately 85% of all languages", with no per-language figure. It's a vendor claim with no published methodology. I can't check the 30%, because I haven't measured Mistral's earlier tokenizer. What I can compare is Llama 3: the Tekken I measured is Mistral Small 3.2's, and in Spanish it uses 12.5% fewer tokens than Llama 3.3 (36,657 against 41,885). That's consistent with Mistral's "more efficient", though it says nothing about that 30%.

Petrov et al. already warned in 2023 that this isn't fixed by good intentions alone: "These disparities persist even for tokenizers that are intentionally trained for multilingual support". Their paper defines a language's "premium" exactly as I've used it here: "The ratio |t(sA)|/|t(sB)| is the premium for A relative to B", with sA and sB the same sentence in the two languages. And they measured differences "up to 15 times in some cases" between languages. In parallel, Ahia et al. (arXiv 2305.13707, May 2023) laid out the economic consequence just as clearly: "speakers of a large number of the supported languages are overcharged while obtaining poorer results", with "some languages requiring 5 times as many tokens than others".

UTF-8: the eñe costs double

There's a third layer, lower down, that mostly affects languages that don't use the Latin alphabet but also brushes Spanish. Modern tokenizers work on bytes, not characters: GPT-2 introduced this because "a byte-level version of BPE only requires a base vocabulary of size 256", and so any text in the world can be encoded with no unknown characters. It's an elegant decision with a price: an ASCII letter is one byte, but "ñ", "á", "é", "í", "ó", "ú" and "ü" are two bytes in UTF-8, and so is a Cyrillic, Arabic or Hebrew letter; a Devanagari or Tamil one, three; a Chinese or Japanese ideogram, three.

For Spanish the effect is small but measurable: the 1,012 sentences are 19.0% longer in characters and 21.1% longer in bytes. Those two points are the accents and the eñes. What the data shows is that "año" comes out as a + ño in every tokenizer except Gemma: two tokens, with the cut right before the eñe, and the pieces are whole characters, not loose bytes. Whether the two bytes of the "ñ" have anything to do with that cut is my hypothesis; what I know is that the cut is there. For Hindi or Tamil the effect is enormous, and it's what explains the figures in the next section.

The other 23 languages

I repeated the measurement with 25 FLORES-200 languages, with the same 1,012 sentences in each, and with the ten tokenizers that cover the families above. The table is wide; on a phone, it scrolls. It's sorted by the o200k column, and the value is the token ratio relative to English.

Language o200k cl100k Gemma 3 Mistral L4 DeepSeek V4.1 Qwen3 (2025) Qwen3.8 Kimi K3 GLM-5.3 Llama 4
English 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000
Portuguese 1.225 1.478 1.257 1.156 1.423 1.452 1.241 1.616 1.404 1.225
Dutch 1.247 1.603 1.383 1.183 1.497 1.591 1.380 1.688 1.517 1.331
Chinese (simpl.) 1.249 1.869 1.079 1.223 0.939 1.003 0.911 0.871 0.946 1.063
Indonesian 1.249 1.551 1.154 1.266 1.349 1.542 1.095 1.576 1.539 1.134
German 1.311 1.586 1.328 1.243 1.515 1.559 1.314 1.726 1.450 1.296
Spanish 1.318 1.544 1.297 1.256 1.495 1.522 1.323 1.689 1.442 1.298
Galician 1.335 1.562 1.354 1.288 1.524 1.543 1.364 1.626 1.486 1.339
French 1.370 1.608 1.412 1.297 1.547 1.582 1.396 1.732 1.512 1.367
Arabic 1.381 3.027 1.471 1.289 1.617 1.629 1.309 2.052 1.766 1.589
Russian 1.421 2.462 1.365 1.380 1.582 1.755 1.363 2.046 1.424 1.228
Turkish 1.431 1.921 1.370 1.323 2.041 1.624 1.435 1.949 1.645 1.316
Italian 1.469 1.641 1.376 1.247 1.544 1.626 1.326 1.746 1.530 1.355
Korean 1.472 2.367 1.374 1.384 1.643 1.630 1.231 1.979 1.919 1.266
Catalan 1.483 1.710 1.544 1.468 1.620 1.687 1.551 1.715 1.670 1.522
Hebrew 1.483 3.643 1.733 1.359 1.769 1.474 1.826 2.255 3.644 1.737
Swahili 1.486 1.954 1.639 1.610 1.940 1.936 1.821 1.907 1.932 1.673
Vietnamese 1.490 2.444 1.372 1.411 2.118 1.435 1.308 2.792 1.461 1.328
Hindi 1.574 4.759 1.311 1.594 2.795 4.416 2.011 2.740 4.315 1.651
Basque 1.604 1.881 1.678 1.569 1.737 1.866 1.758 1.886 1.840 1.716
Polish 1.639 1.914 1.507 1.781 1.684 1.765 1.513 2.111 1.691 1.396
Japanese 1.658 2.266 1.213 1.633 1.422 1.403 1.163 1.643 1.497 1.306
Bengali 1.697 5.799 1.211 1.539 2.017 5.026 2.181 2.952 4.713 2.054
Ukrainian 1.749 2.967 1.610 1.720 2.161 2.500 1.739 2.159 1.828 1.539
Tamil 1.980 7.644 1.469 1.706 3.070 6.112 2.587 4.158 7.644 3.749

What I take from this:

  • Spanish is in the temperate zone. In almost every tokenizer it sits between Portuguese and French, and below Italian, Catalan and Polish. If the Spanish surcharge hurts, think of whoever builds an app in Catalan (1.48 with o200k, 1.54 with Gemma) or in Basque (1.60 and 1.68).
  • cl100k is a disaster outside the Latin alphabet, and it's the tokenizer of GPT-4 and of the ChatGPT half the world used in 2023 and 2024: Hebrew 3.64, Hindi 4.76, Bengali 5.80, Tamil 7.64. With o200k those same figures drop to 1.48, 1.57, 1.70 and 1.98. For a Tamil user, OpenAI's tokenizer change cut the tokens by almost four.
  • Chinese tokenizers are cheaper in Chinese than in English. Kimi 0.871, Qwen3.8 0.911, DeepSeek 0.939, GLM 0.946: the same sentence costs fewer tokens in Chinese than in English. My reading is that it's the mirror image of what happens to Spanish with Western tokenizers: a tokenizer corpus with a lot of Chinese. It also matters that Chinese uses 67% fewer characters than English to say the same thing, so the per-sentence comparison favors it from the start. Meanwhile, o200k gives 1.249 and cl100k 1.869 for Chinese.
  • A "better" tokenizer isn't better at everything. Gemma 3 is the best of the group for Hindi (1.31), Bengali (1.21) and Tamil (1.47), yet for Portuguese (1.26), French (1.41) or Dutch (1.38) it is beaten by Mistral Large 4, o200k and Llama 4. Mistral Large 4 is the best for Spanish, Portuguese, Dutch, German and Italian and one of the worst for Polish (1.78). There's no winner; there's a winner per language.
  • GLM-5.3 gives 7.644 for Tamil, the same figure as cl100k (207,796 tokens against 207,772), and 3.644 for Hebrew against 3.643. I don't have the training corpus of either; my interpretation, and it is an interpretation, is that both run out of learned tokens for those scripts and fall back to chopping almost byte by byte, which is why they coincide.
  • Qwen3 to Qwen3.8 is one of the biggest improvements by a single lab in the table (OpenAI's between cl100k and o200k is bigger in Tamil, Bengali and Hindi): Hindi from 4.42 to 2.01, Bengali from 5.03 to 2.18, Tamil from 6.11 to 2.59. If you use Qwen with Indic languages and haven't upgraded, you're paying twice what you need to.

The byte correction

For Spanish I separated length from the tokenizer by dividing by the character ratio. For a 25-language table that doesn't work: Chinese has 67% fewer characters than English to say the same thing, Japanese 57% fewer, Korean 50% fewer, and dividing by that would give factors of 3 and 4 that describe nothing real. The honest unit for comparing across scripts is the UTF-8 byte, which is what the tokenizer actually sees. This table is the token ratio divided by the byte ratio: how much worse the tokenizer compresses each byte of that language than each byte of English.

Language o200k cl100k Gemma 3 Mistral L4 DeepSeek V4.1 Qwen3.8 Kimi K3 GLM-5.3 Llama 4
Spanish 1.088 1.275 1.071 1.038 1.235 1.093 1.395 1.191 1.072
Portuguese 1.097 1.324 1.126 1.035 1.274 1.111 1.447 1.257 1.097
French 1.103 1.295 1.137 1.044 1.246 1.124 1.394 1.218 1.101
German 1.107 1.340 1.122 1.050 1.280 1.110 1.458 1.225 1.095
Italian 1.234 1.378 1.156 1.047 1.297 1.114 1.466 1.285 1.138
Catalan 1.316 1.518 1.370 1.303 1.438 1.376 1.522 1.482 1.351
Polish 1.460 1.705 1.342 1.587 1.501 1.348 1.881 1.507 1.244
Basque 1.510 1.772 1.580 1.477 1.636 1.656 1.776 1.732 1.615
Russian 0.721 1.249 0.693 0.700 0.803 0.692 1.038 0.723 0.623
Ukrainian 0.939 1.594 0.865 0.924 1.161 0.934 1.160 0.982 0.826
Arabic 0.864 1.893 0.920 0.806 1.011 0.818 1.283 1.104 0.993
Hebrew 1.070 2.629 1.251 0.980 1.277 1.317 1.627 2.629 1.253
Hindi 0.617 1.865 0.514 0.625 1.095 0.788 1.074 1.691 0.647
Bengali 0.650 2.222 0.464 0.590 0.773 0.836 1.131 1.806 0.787
Tamil 0.620 2.395 0.460 0.535 0.962 0.810 1.303 2.395 1.175
Chinese (simpl.) 1.365 2.044 1.179 1.337 1.027 0.996 0.953 1.035 1.163
Japanese 1.311 1.791 0.959 1.291 1.124 0.919 1.299 1.183 1.032
Korean 1.233 1.981 1.151 1.159 1.375 1.031 1.656 1.606 1.060

Read this way, things change. A value below 1 means the tokenizer compresses that language's bytes better than English's, and it happens in Russian, Ukrainian, Arabic, Hindi, Bengali and Tamil with o200k, Gemma 3, Mistral Large 4 and Qwen3.8: they've learned multi-letter tokens for those scripts. Hindi pays 1.57 with o200k not because the tokenizer treats it worse per byte (0.62, it treats it much better), but because Hindi in UTF-8 takes 2.55 times the bytes of English. There the tax isn't the tokenizer's; it's the encoding's. And Spanish, with all the renewed tokenizers, sits between 1.04 and 1.09 per byte: there's little left to scrape. Whoever still pays a high pure penalty in Spanish is whoever hasn't renewed: cl100k (1.28), DeepSeek (1.24), GLM (1.19) and Kimi (1.40).

Claude and Gemini: what I couldn't measure

I don't want the absence of Claude and Gemini from the tables to be read as meaning they have no surcharge. They have one, surely, because every tokenizer trained on more English than Spanish does; what I don't know is how much.

Gemini. Google doesn't publish the API tokenizer, but it has said that Gemma 3 uses "the same tokenizer as Gemini 2.0". Gemma 3 and Gemma 4 give me identical counts in English and Spanish (35,167 tokens in Spanish in all four models I tried, Gemma 3 4B and 27B, Gemma 4 12B and 31B, which are three different files: the two Gemma 3 ones share a hash), so it's reasonable to think the family hasn't changed tokenizer and that Gemini sits near 1.30 for Spanish. It's the best approximation I have and I mark it as such in the dollar table; if Gemini 4 introduced a new tokenizer, I don't know.

Claude. Anthropic doesn't publish the tokenizer and I don't know of any open model that shares it, so I have no possible approximation without the API. The only thing its documentation says about it is that the tokenizer changed recently: "Claude 4.7 and later models and Claude Mythos Preview use a newer tokenizer. The same input text produces approximately 30 percent more tokens than on earlier models. The exact increase depends on the content and workload shape. Recount prompts against the model you plan to use rather than reusing counts measured against earlier models". It says nothing about languages, and I won't either. I'll keep the advice, which is good and applies to everyone: count against the model you're going to use, not the one from six months ago.

If you have a key for either, the script at the end accepts any counting function; swap it for a call to their counting API and you'll have the row I'm missing. If you do, tell me.

What I would do

The practical part, in order of how much money it moves.

1. Measure with your own text before choosing a model. FLORES is translated text from Wikinews, Wikibooks and Wikivoyage. Your prompts have JSON, field names in English, code, a system prompt that may be half the context. Take a hundred real conversations, run them through each candidate's tokenizer (tiktoken for OpenAI, Hugging Face tokenizers for almost all the open ones, mistral-common for Mistral, the counting API for Claude and Gemini) and multiply by the price. It's an afternoon's work and it's the only figure that holds for your case. This article's script does exactly that with FLORES; swap the corpus.

2. Compare effective prices, not list prices. When two models cost about the same on the pricing page, the tokenizer decides. GLM-5.3 at 1.40 input looks quite a bit cheaper than qwen3.8-max at 2.00; in Spanish it's 2.02 against 2.65, and the gap narrows. If one of the candidates has an unrenewed 2024 tokenizer (cl100k, Llama 3, Qwen3, Kimi), add 50% before comparing.

3. The surcharge isn't only money: it's also context window, tokens-per-minute limit and latency. A Spanish document takes 1.3 or 1.5 times more tokens, so it fills the window sooner, uses up the per-minute quota sooner and, since output tokens are generated one at a time, the same answer takes longer to come out. I haven't measured this in seconds; I deduce it from how autoregressive models work, and I say so so you keep it in mind when sizing.

4. The system prompt: what I know and what I don't. What I know from arithmetic: the part of your request that's in English doesn't pay the surcharge. If your system prompt is 2,000 fixed tokens in Spanish and you switch it to English, with o200k you save on the order of 480 tokens per call (2,000 × 0.318 / 1.318), and that saving multiplies by every call of the day. What I don't know, and won't claim because I haven't measured it: whether the model answers as well in Spanish with English instructions. I have no data in either direction. If you do it, run the A/B test with your task and your users; if you can't, don't take it as given because a thread says so.

5. If your users write in a language other than yours, look at their row, not yours. The 25-language table is there for that. A product for Brazil, Germany or the Netherlands has the Spanish surcharge or less. One for India, Israel or Poland has surcharges that swing from 1.3 to 4.7 depending on the tokenizer, and there the provider choice is the most important cost decision you'll make.

6. When the model changes, count again. The three big jumps in the table (OpenAI, Meta, Qwen) cut the Spanish surcharge by 20 points from one generation to the next. Anthropic's raised tokens by around 30%, depending on content. Counts expire with the tokenizer, not with the calendar.

How I measured it

Everything is reproducible and published alongside this article.

  • Corpus: FLORES-200, devtest, 1,012 sentences per language, downloaded from Meta's public link (flores200_dataset.tar.gz). For the Spanish-English comparison I also used the dev set (997 sentences) as a check; the ratios change by at most 0.012 between the two (cl100k: 1.544 on devtest, 1.548 on dev; the published script doesn't repeat this check, it only measures the devtest). I checked that the 1,012 lines of each language are aligned (same sentence on the same line) at five points in the file, and that Unicode NFC normalization doesn't change the character count.
  • Tokenizers: only the tokenizer files, never the weights, downloaded from Hugging Face at a pinned revision (the commit hash is in the results.json table). tiktoken 0.14.0 for o200k_base, cl100k_base and o200k_harmony; the tokenizers library for the tokenizer.json files; mistral-common for Mistral's tekken.json files; Moonshot's official tokenization_kimi.py via AutoTokenizer for Kimi. In every case, add_special_tokens=False: I count the text, not the start and end markers.
  • Mirrors: the Llama 3.3, Llama 4 Scout and Gemma 3 tokenizers come from unsloth repositories, ungated copies that I assume are identical to Meta's and Google's official files (the official ones return 401 without accepting the license, so I couldn't check hash against hash). For Gemma 3 I checked that the tokenizer.json of the 4B copy and the 27B one have the same SHA-256. Gemma 4 (12B and 31B) does come from the official google/ repositories, and gives the same counts as Gemma 3 with different files.
  • Second path: four counts in the Spanish-English table were computed by two different paths and matched to the token: o200k_base with tiktoken and with the tokenizer.json of Xenova/gpt-4o loaded into tokenizers (26,873 and 35,415 by both), Kimi with its official class and with the tiktoken.model file, Mistral Large 4 with tekken.json and with tokenizer.json, and gpt-oss with its tokenizer.json against o200k_base. The rest was counted once. Where two files of the same family gave identical counts, I checked with the file hash and say so in the table.
  • Intervals: non-parametric bootstrap over the 1,012 sentences, 10,000 resamples, seed 12345, 2.5 and 97.5 percentiles of the ratio of totals.
  • The other languages: same procedure with 25 FLORES-200 codes and ten tokenizers; each tokenizer gives ratio 1.000 for English against itself, which is the check that the script doesn't swallow lines.
  • Prices: read from each provider's official page on October 31, 2026 (OpenAI, DeepSeek, Z.ai, Moonshot, Alibaba Cloud Model Studio international, Google AI). DeepSeek has peak and off-peak rates; I use peak. I don't use Mistral's because of the conflict between two official pages I've already described.

The files:

  • reproduce.py: a single self-contained script. It downloads FLORES-200, fetches each tokenizer at its pinned revision, counts Spanish against English with the 16 tokenizers (with the bootstrap and the count of frequent words that fit in one token) and the 25 languages with ten, and writes the two JSON files.
  • results.json and langs.json: the raw numbers every table in this article comes from, with the repository and revision of each tokenizer.

You need Python 3 with numpy, tiktoken, tokenizers, transformers, ...