Computers do not read letters the way people do. Before an LLM processes text it cuts it into small pieces called tokens. In English a token is about 3–4 characters — the word "hello" is 1 token, "understanding" is about 3 tokens.
Now try it with Khmer. Open the tokenizer widget below and type an English sentence, for example "The market is busy today." Note the token count. Then type the Khmer sentence with the same meaning, "ផ្សារមមាញឹកថ្ងៃនេះ". You will see the Khmer sentence uses more tokens — often 3 to 4 times as many.
Why? Most tokenizers were designed and trained mainly on English text. Khmer letters (consonants, vowels, subscript forms) are not in the frequent vocabulary, so they break into many small tokens — sometimes one token per letter. This gap is called the "Khmer token premium" — the extra cost you pay when using AI in Khmer.
Why it matters:
- Price: most APIs bill per token. A Khmer sentence that costs 3× the tokens also costs roughly 3× the money.
- Speed and context: a long Khmer document fits fewer words into the model's context window than the same document in English.
- Quality: many tiny tokens can make it harder for the model to see Khmer word structure.
Try it yourself: in the widget below, compare 5 Khmer–English sentence pairs and note the average ratio. You will use the number you measure yourself in the cost lesson (M3 L4).
Takeaways:
- LLMs cut text into tokens before processing
- Khmer text uses more tokens than equivalent English — the "token premium"
- The premium affects price, speed and how much text fits