Token
A chunk of text, like a word, part of a word or punctuation, that a language model reads and writes.
Language models don't see letters or whole words directly. Text is split into tokens by a tokenizer, often using byte-pair encoding. Common words may be one token, while rare words are split into several pieces.
In English, a token averages about three-quarters of a word. Model limits and API pricing are usually measured in tokens, and tokenization explains quirks like LLMs struggling to count letters.
💡 Example: "Unbelievable" might be split into tokens like "Un", "believ" and "able".