Short Definition
A context window is the maximum amount of input and generated tokens a model can consider at one time.
Intuition
It is the model's working room. If information falls outside the window, the model cannot directly attend to it.
Technical Definition
Context window length is the supported sequence length for a model's token processing, constrained by architecture, memory, and serving implementation.
Example
A 128K-token context window can hold much more source material than an 8K-token window, but it may cost more to use.
Common Misunderstandings
A larger context window does not guarantee better use of all context.
Long context still needs retrieval, ranking, and evaluation discipline.