Context window#
Context
The context window is the finite span of tokens a model can consider at once: everything it "sees" on a given turn, including the system prompt, conversation, tool results, and files. It is measured in tokens and is the model's entire working reality for that turn; nothing outside it exists to the model.
In-context learning#
Context
In-context learning is the model's ability to pick up a new pattern or task from examples in the prompt, with no training or weight change. Shown three examples of a format, it follows the format. It is adaptation at inference time, notable because nothing is "learned" in the training sense.
Context rot#
Context
context degradation
Context rot is the decline in output quality as the context window fills: the model loses track, over-weights recent tokens, or contradicts earlier state. It is why long sessions drift, and why managing what is in the window matters as much as what the model knows.