Token
A token is a unit of text processed by a language model. It may be part of a word, a whole word or punctuation. Both the input and the generated answer consume tokens.
Why it matters
Token counts affect context limits, memory, processing time and many API bills. A token is not a fixed number of words across languages or models.
In practice
A long question with several retrieved documents uses more input tokens than a short question alone.