Tokens and context window
Tokens are the pieces of text a language model calculates in; the context window is the amount it can process at once.
A language model breaks text down into tokens, which are words or parts of words. Both the costs and the limits of a model are measured in tokens.
The context window defines how much text a model can take into account in one request: the question, the documents supplied, and the answer together. What does not fit is unknown to the model at that moment.
Example
Instead of supplying an entire manual, the system picks out the three matching sections and passes only these to the model.
Why it matters
Tokens determine the running costs, the context window the architecture. Both belong in every cost-effectiveness assessment.
Let's talk about your project.
Describe the task to us. We will give you a professional assessment and suggest a next step.