A model never reads your words. Before anything else happens, a tokeniser splits your text into pieces called tokens, and each piece is swapped for a number from a fixed list. Those numbers are all the model works with, in and out. Common words usually stay whole as one token. Rarer or longer words are chopped into fragments, so “unbelievable” might become three pieces where “the” is one.
Words in, tokens out
As a rule of thumb, a token is about three quarters of a word in English, so a thousand tokens is roughly 750 words. Other languages often take more tokens for the same meaning, because the list was built mostly from English text.
Two everyday oddities follow from this. Models are poor at spelling tasks, such as counting the letters in a word or writing it backwards, because they never see the letters, only the token numbers. And pricing and limits are counted in tokens, not words, so long or unusual words cost more than short common ones, and a context window measured in tokens holds fewer words than the number suggests.
Once the text is numbers, the model needs to know what the numbers mean. That is the job of embeddings, the next entry.