Not letters, not words
A large language model never sees text the way a reader does. Before anything else happens, a program called a tokeniser cuts the input into pieces called tokens. A token may be a whole common word, such as the, a fragment, such as ing, a single character, a space or a punctuation mark. Each token is then swapped for a number from the model's vocabulary, which typically holds tens of thousands to a few hundred thousand entries. The model works entirely with these numbers and produces its answer the same way, one token at a time, before the numbers are turned back into readable text.
How the vocabulary is built
Most modern tokenisers are built with a method called byte-pair encoding, or a close relative. It starts with individual characters and looks through a huge sample of text for the pair that appears most often, then merges it into a new token. It repeats this thousands of times. Frequent words end up as single tokens; rarer words are assembled from several pieces. A word like unbelievable might become un, believ and able. This compromise means the model never meets a word it cannot represent, while still handling common text compactly. Numbers, code and unusual names are often split into many small fragments, which partly explains why models can stumble over counting letters or doing arithmetic.
Why Arabic can cost more
The vocabulary reflects the text it was built from, and that text has often been dominated by English. English words therefore tend to be single tokens, while words in many other languages are broken into more pieces. Arabic adds its own challenges. Prefixes and suffixes attach directly to words, so wa, meaning and, or al, meaning the, join the word that follows, creating many distinct written forms. Studies comparing tokenisers have found that the same sentence can need several times more tokens in some languages than in English. Newer models have enlarged their vocabularies to include more Arabic and other scripts, narrowing the gap, but it has not disappeared everywhere.
A worked example
Using the English rule of thumb of about 0.75 words per token, a 1,000-word report is roughly 1,333 tokens. Now imagine a hypothetical service charging AED 10 per million tokens. That report would cost about AED 0.013 to process. If the same report in another language needed twice as many tokens, around 2,667, the cost would double to roughly AED 0.027. Small sums per document, but a company processing millions of customer messages would see the difference in its bill. The prices and ratios here are illustrative only; actual charges and token counts vary by provider, model and text, and most services publish tools that count tokens precisely.
The limit on what a model reads
Tokens also set the size of a model's context window, the maximum amount of text it can consider at once, including both your question and its reply. Windows have grown from a few thousand tokens in early chatbots to hundreds of thousands or more in some current models. When a conversation exceeds the window, the oldest material is dropped or summarised and the model effectively forgets it. Because the window is counted in tokens, not words, a language that needs more tokens fits less text in the same window. Answers are capped in the same way, which is why a very long reply can stop abruptly mid-sentence.
Common misunderstandings
Many people assume an AI reads letters or whole words. Neither is quite true, which explains some odd behaviour, such as miscounting the letters in a word it otherwise spells correctly. Another assumption is that a token is a fixed amount of text. It is not: the same sentence produces different counts in different models, because each has its own tokeniser. Researchers are exploring models that work directly on bytes or characters to avoid these quirks, and others are building tokenisers designed for fairness across languages. For now, if a service prices or limits by tokens, it is worth checking how efficiently it handles the language you actually write in.
Sources & further reading
Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.



