Bangla needs more tokens than English for the same meaning.
Counted on this page with each model's own tokenizer. Anyone can repeat it and get the same numbers.
A study on language fairness in AI
AI models read text in small pieces called tokens, and every token is billed. The same sentence in Bangla is cut into far more pieces than in English. That can mean paying more, waiting longer, and fitting less into the model's memory.
One word is enough to see it. Both words below mean the same thing.
Before a model can read anything, it cuts the text into tokens. A common English word is usually a single piece.
The same word in Bangla is broken into many more pieces. Some letters are even split into raw bytes.
AI companies charge per token. Same meaning, more pieces, higher price.
Example measured with GPT-4's tokenizer.
Pick a sample or write your own Bangla sentence with its English translation.
You don't have to trust this site. Paste the same text into OpenAI's own tokenizer and compare the numbers.
Every block is one piece the model sees. A red number means a single piece cost several tokens, usually because one Bangla letter was chopped into raw bytes. Tap any block to see inside it.
How many Bangla tokens each model needs for every English token, across all 8 sample pairs. The line marks 1×, where Bangla would be treated as fairly as English.
Each cell is Bangla ÷ English tokens for one sentence pair. If the colours in a row are similar, the result is consistent and not driven by one sentence.
Small hand-written sample set. The full FLORES-200 study with 1,012 sentences gives the same ranking; see Proof & method.
What this site measures, what it doesn't, and how you can check every number.
Counted on this page with each model's own tokenizer. Anyone can repeat it and get the same numbers.
AI companies publish their prices per token: OpenAI, Google Gemini, Anthropic.
Models write one token at a time and have token-based memory limits, so this follows from the counts. Not measured on this site yet.
The demo sentences on this page are few and short. To test the result properly, all 8 tokenizers were run on FLORES-200, a standard research benchmark of 1,012 sentences professionally translated from English into Bangla. The ranking is the same, and the gap is slightly larger.
Black lines show 95% confidence intervals (10,000 bootstrap resamples). GPT counts match OpenAI's official encodings in 8,036 of 8,036 cases. The result repeats on a second set of 997 sentences.
cl100k_base, o200k_base) using js-tiktoken: 16 of 16 counts match.Every sentence, every model, every count. Open it in Excel or Google Sheets and check the math yourself.
This site applies those ideas to Bangla with current models and makes the result something anyone can try.
AI APIs bill per token. If a Bangla message needs 5× the tokens, a Bangladeshi startup pays 5× for the same feature.
Models write one token at a time. More tokens for the same answer means people writing in Bangla wait longer.
A model's context window is measured in tokens. Bangla fills it faster, so the model can read less of your document.
Tokenizers learn their vocabulary from training text that is mostly English, so common English words become a single token. Bangla is rare in that text, and every Bangla letter takes 3 bytes in UTF-8. The tokenizer often has no piece for it and falls back to raw bytes, splitting a single ক into two or three tokens. Newer tokenizers with larger, more multilingual vocabularies, like GPT-4o's, close much of the gap.
A small piece of text. AI models never see whole sentences; they see a list of numbered pieces. In English a piece is often a whole word. In Bangla it is often a part of a letter.
No. Counting happens inside your browser. The site only downloads each model's tokenizer file (its "dictionary") from Hugging Face. Your text stays on your device.
Yes, but some come from community copies on Hugging Face rather than the company itself; the "Tokenizers used" table marks which. GPT-4 and GPT-4o were checked against OpenAI's published encodings and all 16 counts matched. You can check any GPT number with the "Check it yourself" box.
Not necessarily. This site measures cost in tokens, not understanding. Research has found that poor tokenization can hurt quality too, but that is a separate question this site doesn't test.
BLOOM's tokenizer was trained on data that deliberately included Bangla and other Indic languages, so it learned whole Bangla words as pieces. It suggests the gap comes from what a tokenizer learns from, not from the language itself.
They are enough to show the effect, but not for a scientific answer. That is why the same test was also run on FLORES-200, a standard benchmark of 1,012 professionally translated sentences. It confirms the result; see "Checked at scale" in Proof & method.
No. It is a comparison: if a message costs ৳100 in English, how much would the same message cost in Bangla on the same model. Real prices differ by model and change over time.
Lamia Islam Mim, a Computer Science graduate from North South University in Dhaka. The goal is to make a hidden cost visible, so Bangladeshi developers can plan for it and more people ask for AI that treats Bangla fairly.