What is Tokenization?
In Turkish: Tokenleştirme · Topic: Models and training
The process of splitting text into small units called tokens and representing each one as a number. Language models read text as this sequence of numbers.
How does it work?
A tokenizer has a pre-built vocabulary of text pieces. It splits incoming text into those pieces: common words often become a single token, while rarer words are broken into several parts. Each piece has an ID number, and the model sees only these numbers, not words or letters. When the model produces output, the numbers are converted back into text. The tokenizer is prepared separately from the model and usually stays fixed during training.
Why does it matter?
Usage fees and context-window limits are measured in tokens, so cost and capacity depend directly on this step. Efficiency varies by language and by tokenizer. In languages such as Turkish, which add many suffixes, a single word often takes several tokens, so the same text can be slower and costlier to process.
Example
A word like the Turkish “Okullarımızdan” (“from our schools”) might be split into pieces such as “Okul”, “larımız” and “dan”.
FAQ
How many tokens is one word?
There is no fixed ratio. It depends on the language and the tokenizer. In languages with many suffixes, one word often takes more than one token.
Why isn't text split letter by letter or word by word?
Splitting by letter makes sequences very long and expensive to process. Splitting by whole word makes the vocabulary huge and cannot handle unseen words. Subword pieces are a middle ground.