01What is a token, and why does the context window matter?Beginner
A token is the unit a language model reads and writes: a word, part of a word, or a symbol. In English, one token is roughly three quarters of a word on average.
The context window is the maximum number of tokens a model can consider at once: the prompt, any documents you include, and the reply. If the input is too long, it must be shortened, split or summarised. Pricing and speed also depend on tokens, so shorter prompts are cheaper and faster.
