What is the context window?
The context window is the maximum amount of text a language model can process at once in a single request, measured in tokens. Anything beyond that limit has to be shortened, summarised or managed outside the model, for instance through RAG.
The size of the context window directly determines how much history, document content or conversation an model can consider at the same time.
Why does the term context window matter?
A context window that is too small causes a model to simply forget important information from earlier messages or long documents once it falls outside the window.
Anyone unaware of this limit is puzzled by unexplained memory gaps in longer conversations or with lengthy documents.
The term matters because it explains why some AI applications get progressively less accurate during long interactions.
When It Is Relevant
- A long document needs to be processed fully in a single request.
- A chatbot needs to stay consistent with earlier statements across a longer conversation.
- Several sources need considering together in a single request.
- The choice between a model with a larger context window and a RAG solution is on the table.
When Not
For short, one-off requests without a longer conversation, context window size barely matters, any common model handles it. And when a RAG solution already selects the relevant excerpts deliberately, a very large context window often matters less than good selection logic.
Industries That Use It
- Legal and compliance: extensive contracts need reviewing as completely as possible in one request.
- Professional services: long reports or minutes need summarising in a single pass.
- Software and SaaS: support chats need to stay consistent with the case history across many messages.
- Research and development: extensive technical documentation needs analysing together.
Typical Use Cases
- Summarising a long document in a single, complete request.
- A chatbot that stays consistent in context across a longer conversation.
- Comparing several documents considered together in one request.
- Deciding whether a larger context window or a RAG solution fits better.
Decision Guide
| Signal | A larger context window fits | Alternative |
|---|---|---|
| A long document must be viewed in full | a large context window makes sense | RAG with targeted selection |
| Short, one-off requests | usually not decisive | any common model is enough |
| A very large, growing knowledge base | context window alone is not enough | RAG with a vector database |
| Consistency across a long conversation is needed | a larger window helps | regular summarising as an alternative |
Example
A team notices a chatbot forgetting earlier user input in longer conversations and giving contradictory answers. After moving to a model with a larger context window and a structured summary of the conversation so far, the bot stays consistent across longer interactions. This describes the method, not an asserted client metric.
Service Connection
Correctly judging context window limits is part of the technical groundwork in AI manager training and supported in practice through AI manager as a service.
Sources
This framing describes common practice for handling context windows in company applications. Specific window sizes vary by model and vendor and should be checked there at the time.