yaptax Index · v0 · free

What does your language cost?

AI models charge by the token, and they slow down with every token. The same meaning takes more tokens outside English. Here is how many more, for 204 languages on 8 tokenizers, measured on the same 1,012 sentences in every language.

  • 1.57× to 4.42×Hindi's tokens against English, from GPT-4o's tokenizer to Qwen3's
  • 42 of 203languages need at least twice English's tokens on GPT-4o's tokenizer
  • 123 of 203on Qwen3's, a popular open model

01 · Your language tax

Pick a language and a model.

–× English's tokens

Loading…

The tax is the share of spend that English would not need: 1 − 1/ratio. It assumes you pay per token at the same price, which is how API pricing works. Bars show the 95% interval as a thin line where it is wide enough to see.

02 · Your own text

Paste a real prompt.

We count its tokens on OpenAI's two current tokenizers, in your browser. Your text is not sent anywhere.

The tokenizers load when you press the button (about 1.6 MB, once).

A whole file of prompts?

yaptax counts them per language on your own machine and tells you how many tokens are language tax. Open source, MIT. Nothing is uploaded.

pip install yaptax
yaptax measure prompts.jsonl --spend 2000

yaptax on GitHub →

03 · The full index

All 204 languages.

Token ratio to English. Click a column to sort. Hover a number for its 95% interval.

LanguageOpenAI o200kOpenAI cl100kQwen3DeepSeek-V3Mistral TekkenBLOOMGPT-2UTF-8 bytesServer energydGPU energym
Acehnese (Arabic script) ace_Arab2.623.772.652.712.482.644.751.513.00–
Acehnese (Latin script) ace_Latn1.811.991.971.951.861.742.171.092.12–
Afrikaans afr_Latn1.431.691.681.631.521.691.931.071.77–
Akan aka_Latn2.092.692.292.362.602.052.811.102.52–
Amharic amh_Ethi5.787.594.045.977.435.007.701.715.035.02
Armenian hye_Armn1.799.885.273.011.914.289.922.047.08–
Assamese asm_Beng1.996.155.392.693.281.419.672.547.28–
Asturian ast_Latn1.421.591.571.561.421.311.901.071.64–
Awadhi awa_Deva1.714.754.302.902.031.437.152.505.45–
Ayacucho Quechua quy_Latn1.832.082.062.051.951.842.211.082.24–
Balinese ban_Latn1.571.791.781.701.661.451.971.111.89–
Bambara bam_Latn2.042.562.132.192.441.882.661.042.33–
Banjar (Arabic script) bjn_Arab2.543.782.602.682.422.454.981.692.94–
Banjar (Latin script) bjn_Latn1.451.711.701.591.551.301.981.051.79–
Bashkir bak_Cyrl1.754.263.122.952.573.555.991.863.65–
Basque eus_Latn1.601.881.871.741.531.152.101.062.00–
Belarusian bel_Cyrl1.993.502.972.622.153.206.472.053.44–
Bemba bem_Latn1.942.212.192.212.101.902.441.222.40–
Bengali ben_Beng1.705.805.032.022.051.189.562.616.652.45
Bhojpuri bho_Deva1.774.684.302.912.081.537.172.495.44–
Bosnian bos_Latn1.501.871.861.821.521.832.191.031.98–
Buginese bug_Latn1.741.961.951.911.801.692.191.092.10–
Bulgarian bul_Cyrl1.712.632.211.981.642.485.501.902.42–
Burmese mya_Mymr3.1611.628.935.303.219.9916.813.5214.603.99
Catalan cat_Latn1.481.711.691.621.441.181.921.131.78–
Cebuano ceb_Latn1.681.931.921.831.841.782.251.202.06–
Central Atlas Tamazight tzm_Tfng10.1510.035.0210.099.827.6310.382.296.64–
Central Aymara ayr_Latn1.942.182.152.142.031.942.331.072.35–
Central Kanuri (Arabic script) knc_Arab2.763.623.152.712.492.104.711.603.69–
Central Kanuri (Latin script) knc_Latn2.132.382.162.312.202.012.581.112.37–
Central Kurdish ckb_Arab2.774.803.453.073.813.196.461.794.13–
Chhattisgarhi hne_Deva1.734.674.212.912.031.447.172.475.30–
Chinese (Simplified) zho_Hans1.251.871.000.941.400.913.150.911.001.16
Chinese (Traditional) zho_Hant1.422.141.151.061.470.943.110.881.16–
Chokwe cjk_Latn1.731.961.921.921.871.702.151.062.06–
Crimean Tatar crh_Latn1.722.111.952.151.802.062.481.122.10–
Croatian hrv_Latn1.481.841.831.791.501.792.141.001.95–
Czech ces_Latn1.602.102.061.701.552.022.621.082.24–
Danish dan_Latn1.401.631.621.631.481.671.911.051.70–
Dari prs_Arab1.483.152.481.621.421.645.071.632.78–
Dutch nld_Latn1.251.601.591.501.411.711.981.121.67–
Dyula dyu_Latn1.862.061.962.041.931.812.211.072.12–
Dzongkha dzo_Tibt9.0012.148.036.8113.387.2416.123.6212.56–
Eastern Panjabi pan_Guru2.627.857.284.472.971.447.892.6110.94–
Eastern Yiddish ydd_Hebr2.025.542.753.402.964.386.591.943.13–
Egyptian Arabic arz_Arab1.412.951.631.631.281.174.201.561.72–
English eng_Latn1.001.001.001.001.001.001.001.001.001.00
Esperanto epo_Latn1.531.871.791.761.511.642.021.011.91–
Estonian est_Latn1.501.871.851.851.601.772.121.011.98–
Ewe ewe_Latn2.342.732.342.492.622.102.881.062.60–
Faroese fao_Latn1.662.082.052.051.881.962.391.092.23–
Fijian fij_Latn1.852.162.142.132.061.992.311.182.34–
Finnish fin_Latn1.561.991.981.871.651.892.281.102.13–
Fon fon_Latn2.893.662.873.183.582.214.081.263.30–
French fra_Latn1.371.611.581.551.321.202.001.241.661.44
Friulian fur_Latn1.731.851.831.831.721.702.071.131.96–
Galician glg_Latn1.331.561.541.521.321.271.911.131.61–
Ganda lug_Latn1.661.961.941.951.871.672.181.042.09–
Georgian kat_Geor1.789.755.193.912.394.9313.762.956.93–
German deu_Latn1.311.591.561.511.301.682.141.181.631.29
Greek ell_Grek2.145.134.912.692.103.786.522.186.45–
Guarani grn_Latn1.782.172.092.061.951.872.451.082.27–
Gujarati guj_Gujr1.797.666.743.862.721.3512.192.519.84–
Haitian Creole hat_Latn1.411.741.721.681.601.561.900.941.82–
Halh Mongolian khk_Cyrl1.893.753.082.942.373.376.381.913.59–
Hausa hau_Latn1.551.991.941.941.901.772.141.072.09–
Hebrew heb_Hebr1.483.641.471.771.632.894.351.391.53–
Hindi hin_Deva1.574.764.422.791.801.287.412.555.632.11
Hungarian hun_Latn1.792.152.121.991.612.072.661.162.31–
Icelandic isl_Latn1.612.142.102.101.881.992.421.092.28–
Igbo ibo_Latn1.672.462.382.422.391.723.481.222.65–
Ilocano ilo_Latn1.842.052.032.031.961.902.261.212.20–
Indonesian ind_Latn1.251.551.541.351.320.961.981.081.61–
Irish gle_Latn1.852.322.282.312.172.152.551.232.52–
Italian ita_Latn1.471.641.631.541.391.622.021.191.71–
Japanese jpn_Jpan1.662.271.401.421.571.772.971.261.451.41
Javanese jav_Latn1.371.731.721.671.631.401.931.041.81–
Jingpho kac_Latn2.142.382.352.382.272.162.681.292.61–
Kabiyè kbp_Latn3.904.703.324.024.513.314.831.373.94–
Kabuverdianu kea_Latn1.551.731.711.661.561.511.941.011.80–
Kabyle kab_Latn2.142.462.132.152.302.022.501.062.33–
Kamba kam_Latn1.822.171.992.021.931.762.321.012.14–
Kannada kan_Knda1.978.866.923.692.211.3013.592.8410.21–
Kashmiri (Arabic script) kas_Arab2.614.603.473.052.612.356.151.734.15–
Kashmiri (Devanagari script) kas_Deva2.234.664.373.212.451.857.002.405.55–
Kazakh kaz_Cyrl1.593.783.012.662.053.225.901.893.50–
Khmer khm_Khmr3.348.716.476.7914.706.2515.183.299.316.41
Kikongo kon_Latn1.761.991.982.001.901.742.181.142.13–
Kikuyu kik_Latn2.603.262.632.712.602.453.421.292.98–
Kimbundu kmb_Latn1.832.132.112.091.991.812.341.112.30–
Kinyarwanda kin_Latn1.712.132.112.132.031.572.361.132.30–
Korean kor_Hang1.472.371.631.641.282.755.031.201.711.58
Kyrgyz kir_Cyrl1.673.502.752.582.183.025.741.893.14–
Lao lao_Laoo8.239.545.697.9712.668.6313.092.737.83–
Latgalian ltg_Latn1.892.202.142.111.931.982.391.042.34–
Ligurian lij_Latn1.811.981.951.971.821.812.291.172.10–
Limburgish lim_Latn1.601.811.791.771.691.762.061.081.91–
Lingala lin_Latn1.621.871.861.871.791.652.031.081.99–
Lithuanian lit_Latn1.682.192.041.961.731.922.431.052.21–
Lombard lmo_Latn1.842.042.002.021.881.832.371.162.17–
Luba-Kasai lua_Latn1.701.951.941.921.841.692.141.082.08–
Luo luo_Latn1.681.821.811.821.761.672.041.041.93–
Luxembourgish ltz_Latn1.671.991.961.951.841.882.251.152.12–
Macedonian mkd_Cyrl1.782.762.272.001.642.505.461.902.50–
Magahi mag_Deva1.724.684.192.882.041.457.202.475.26–
Maithili mai_Deva1.764.884.393.122.261.567.412.545.58–
Malayalam mal_Mlym1.968.947.234.422.561.3815.163.1210.83–
Maltese mlt_Latn1.872.422.242.322.312.252.701.162.46–
Maori mri_Latn1.832.362.342.292.182.112.451.172.59–
Marathi mar_Deva1.825.054.623.002.151.227.862.695.97–
Meitei (Bengali script) mni_Beng3.076.715.613.283.392.3510.182.797.68–
Mesopotamian Arabic acm_Arab1.382.981.621.611.251.154.221.561.70–
Minangkabau (Arabic script) min_Arab2.663.972.782.832.572.585.231.753.18–
Minangkabau (Latin script) min_Latn1.561.781.771.681.621.451.981.071.88–
Mizo lus_Latn1.831.991.971.971.891.852.121.112.12–
Modern Standard Arabic arb_Arab1.383.031.631.621.241.154.361.601.711.52
Modern Standard Arabic (Romanized) arb_Latn2.252.452.422.412.332.142.511.172.69–
Moroccan Arabic ary_Arab1.482.961.691.691.371.264.181.561.79–
Mossi mos_Latn2.042.282.042.162.081.962.501.022.21–
Najdi Arabic ars_Arab1.393.031.631.621.251.154.371.601.72–
Nepali npi_Deva1.614.764.422.972.131.187.552.575.63–
Nigerian Fulfulde fuv_Latn1.601.851.751.841.741.651.990.951.86–
North Azerbaijani azj_Latn1.722.642.492.481.812.303.461.262.79–
North Levantine Arabic apc_Arab1.342.821.571.571.231.133.991.481.65–
Northern Kurdish kmr_Latn2.022.202.162.172.032.022.451.102.36–
Northern Sotho nso_Latn1.862.182.172.122.061.942.321.172.37–
Northern Uzbek uzn_Latn1.782.172.152.131.821.982.301.132.34–
Norwegian Bokmål nob_Latn1.351.561.551.551.411.611.861.021.62–
Norwegian Nynorsk nno_Latn1.411.641.631.621.471.641.931.031.71–
Nuer nus_Latn3.254.003.393.433.782.784.241.334.04–
Nyanja nya_Latn1.612.082.062.071.981.772.261.122.24–
Occitan oci_Latn1.601.831.811.791.651.492.061.181.93–
Odia ory_Orya4.9912.409.705.5412.871.3713.262.7416.474.17
Pangasinan pag_Latn1.431.551.541.521.481.431.650.981.61–
Papiamento pap_Latn1.581.751.731.721.611.541.981.081.83–
Plateau Malagasy plt_Latn1.792.252.232.172.122.062.591.252.45–
Polish pol_Latn1.641.911.761.681.572.132.681.121.87–
Portuguese por_Latn1.231.481.451.421.271.121.931.121.51–
Romanian ron_Latn1.631.881.861.861.611.912.491.191.99–
Rundi run_Latn1.782.142.122.132.031.642.341.122.31–
Russian rus_Cyrl1.422.461.751.581.502.465.671.971.861.79
Samoan smo_Latn1.932.282.252.272.162.122.561.212.48–
Sango sag_Latn1.822.082.042.051.951.802.241.122.21–
Sanskrit san_Deva2.094.944.512.862.291.627.862.635.78–
Santali sat_Olck13.7012.748.926.4212.4412.6212.802.8014.58–
Sardinian srd_Latn1.781.991.971.961.811.732.251.192.12–
Scottish Gaelic gla_Latn1.992.412.382.422.312.242.691.282.64–
Serbian srp_Cyrl1.782.902.331.901.642.565.321.802.58–
Shan shn_Mymr7.9314.9810.437.979.2511.9918.693.9618.327.86
Shona sna_Latn1.702.132.112.091.991.802.301.122.30–
Sicilian scn_Latn1.812.001.951.941.841.792.271.102.10–
Silesian szl_Latn1.962.192.092.031.952.152.601.102.28–
Sindhi snd_Arab1.713.982.852.892.502.494.971.603.27–
Sinhala sin_Sinh2.698.686.884.5712.328.0712.652.6210.12–
Slovak slk_Latn1.682.132.071.911.672.002.511.092.25–
Slovenian slv_Latn1.511.891.871.811.561.802.121.012.00–
Somali som_Latn1.722.212.192.232.152.042.381.152.39–
South Azerbaijani azb_Arab1.863.322.602.051.771.805.121.632.94–
South Levantine Arabic ajp_Arab1.342.831.551.561.231.123.991.491.62–
Southern Pashto pbt_Arab1.713.762.802.521.982.515.241.633.20–
Southern Sotho sot_Latn1.842.212.192.192.131.962.341.202.40–
Southwestern Dinka dik_Latn1.862.242.011.952.061.802.470.962.17–
Spanish spa_Latn1.321.541.521.501.321.211.981.211.591.20
Standard Latvian lvs_Latn1.812.342.282.221.912.072.531.112.51–
Standard Malay zsm_Latn1.301.621.611.411.351.062.041.111.69–
Standard Tibetan bod_Tibt8.1011.197.236.1412.296.6114.823.3210.84–
Sundanese sun_Latn1.391.821.801.731.681.472.021.051.92–
Swahili swh_Latn1.491.951.941.941.821.242.131.052.08–
Swati ssw_Latn1.812.172.152.122.041.832.321.132.34–
Swedish swe_Latn1.351.581.561.551.411.641.941.041.64–
Tagalog tgl_Latn1.702.062.042.011.931.852.291.262.22–
Tajik tgk_Cyrl1.893.622.902.782.683.286.052.013.34–
Tamasheq (Latin script) taq_Latn2.082.221.982.072.091.892.381.012.14–
Tamasheq (Tifinagh script) taq_Tfng10.2110.105.2910.159.797.6610.392.297.10–
Tamil tam_Taml1.987.646.113.072.181.2815.543.198.622.53
Tatar tat_Cyrl1.753.732.872.492.113.135.801.853.30–
Ta’izzi-Adeni Arabic acq_Arab1.393.001.631.621.251.154.301.581.71–
Telugu tel_Telu1.938.297.003.742.261.3312.972.6810.363.03
Thai tha_Thai1.964.352.551.782.374.588.992.762.87–
Tigrinya tir_Ethi5.977.784.156.127.605.127.861.755.21–
Tok Pisin tpi_Latn1.792.042.022.051.981.932.211.282.19–
Tosk Albanian als_Latn1.832.252.232.301.872.162.641.202.45–
Tsonga tso_Latn1.742.262.242.222.162.012.451.212.46–
Tswana tsn_Latn1.912.272.242.252.172.002.371.242.47–
Tumbuka tum_Latn2.112.582.522.562.442.202.791.322.82–
Tunisian Arabic aeb_Arab1.422.911.651.641.301.194.161.541.74–
Turkish tur_Latn1.431.921.622.041.491.962.441.121.71–
Turkmen tuk_Latn1.672.412.202.332.082.192.821.172.41–
Twi twi_Latn1.862.502.142.172.391.802.611.052.34–
Ukrainian ukr_Cyrl1.752.972.502.161.732.735.711.862.80–
Umbundu umb_Latn1.792.031.992.011.921.762.261.052.15–
Urdu urd_Arab1.654.343.152.371.751.356.241.753.69–
Uyghur uig_Arab2.525.173.713.764.103.647.111.984.51–
Venetian vec_Latn1.561.711.681.671.571.582.011.061.77–
Vietnamese vie_Latn1.492.441.442.121.431.264.521.391.49–
Waray war_Latn1.721.961.941.851.851.802.391.252.09–
Welsh cym_Latn1.742.132.112.102.002.112.361.072.30–
West Central Oromo gaz_Latn1.882.312.292.322.222.182.521.202.53–
Western Persian pes_Arab1.533.262.581.791.441.765.251.692.91–
Wolof wol_Latn1.731.931.911.881.861.692.151.002.05–
Xhosa xho_Latn1.642.062.032.041.971.662.251.052.21–
Yoruba yor_Latn2.172.952.692.832.811.623.891.283.05–
Yue Chinese yue_Hant1.382.091.111.021.440.913.060.871.12–
Zulu zul_Latn1.722.212.192.192.101.762.421.132.40–

d Derived: Qwen3-8B on an NVIDIA L40S, a page of 20 sentences on a shared server (batch of 64). A model checked against Deng et al.'s GPU measurements, not a measurement. m Measured: laptop RTX 4060, a 4-bit fine-tune of Qwen3.5-4B, copying 20 sentences, 1 or 2 runs. Noisy; a controlled rerun is planned. Shading: 1.5× or more, 2× or more, 4× or more.

04 · How to cut it

Same meaning, fewer tokens.

64% fewer

Pick the tokenizer that suits the language.

Hindi on Qwen3's tokenizer needs 4.42× English's tokens; on GPT-4o's, 1.57×. Tamil: 6.11× against 1.98×, 68% fewer.

No single winner

Route each language to its best model.

Of the four current tokenizers here, Qwen3 is the most efficient for Amharic (4.04× against GPT-4o's 5.78×), and DeepSeek-V3 for Thai (1.78× against 1.96×). One model for every language leaves savings behind.

3,416 fewer

Keep the fixed instructions in English.

A bot's instructions go out with every request. 1,000 tokens of English instructions are about 4,416 if written in Hindi on Qwen3. The bot can still answer in Hindi; check that its answers stay as good.

Fewer tokens is not the same as cheaper or better: prices per token differ, and so does answer quality in each language. The yaptax Audit measures all three on your own traffic and ranks the fixes. Ask for one.

Do it automatically

yaptax Router sits between your app and your models. For each request it picks the cheapest model you allow for that language, falls back if one is down, and shows the saving on a live dashboard. Open source; your keys stay with you.

pip install "yaptax[router]"
yaptax demo --open

Router docs →

The demo runs on a built-in fake provider where every model has the same price, so its savings come only from tokens. Version 0 has not yet run on real traffic.

05 · How we measured

One text, 204 languages.

FLORES-200 is the same 1,012 sentences, professionally translated into 204 languages. We ran every language through each tokenizer and divided its token count by English's. A ratio of 2 means the same meaning costs twice the tokens. The 95% intervals come from resampling the sentences 2,000 times.

Tokenizers from Anthropic and Google are not in v0, because they are not published as files. They are next on our list. So are a dated price table, so the Index can show cost in dollars per model, and more open tokenizers.

The method, the checks and what is wrong with it are in our first post,What does a sentence cost in electrons? Every number here is rebuilt from that post's published data by one script.

Want this measured on your own traffic? We run a yaptax Audit: your real prompts, per language, on your model and the alternatives, with fixes measured before and after. Write toneurotitancontact@gmail.com.