What is Context Window?
In one sentence
The temporary working memory of an AI—how much text and conversation history it can hold at once.
How it actually works
Measured in tokens, the context window determines whether a model can analyze an entire 200-page PDF at once or starts forgetting earlier paragraphs in a long chat.
Everyday example
A 1-million-token context window can fit several full novels in a single prompt.
Related concepts