The language tax: how much more you pay to use an LLM in Spanish (and why)
I ran the same text in Spanish and English through 16 tokenizers (OpenAI, DeepSeek, Mistral, Qwen, Llama, Gemma, GLM, Kimi) and through 25 languages. In Spanish you pay between 26% and 69% more than in English for the same sentence. I split how much of that is because Spanish is longer and how much is because the tokenizer chops it up worse, explain where it comes from (BPE, training data, UTF-8), convert the ratios to dollars at list prices and say what I would do. With the script and the data to reproduce it.