Home / Glossary / Context window
Context window
A context window is the amount of text, measured in tokens, that an AI model can read and consider at one time. It limits how much of a file or chat the model can use at once, and longer inputs cost more and may be less accurate.
Also called: context length, context limit
In plain words
Think of a desk. The context window is how many pages fit on it at once. If you pile on too many, the early pages slide off or get lost in the pile. The model can only work with what is on the desk right now.
Where it came from
The term comes from how language models work: they read a limited number of tokens at a time. Model makers have raised these limits over the years. Anthropic’s engineering team also notes that as the window fills, a model’s recall of details can drop, which it calls context rot.
How FDE teams use it
A client might have thousands of pages of policies and a model that can read only some of them at once. FDE teams decide what to load, what to fetch on demand, and what to summarize. They also watch cost, since more text per request usually means a higher bill.
Related terms
Sources
- Context windows (Anthropic documentation) (checked Nov 30, 2026)
- What is a context window? (IBM) (checked Nov 30, 2026)
- Effective context engineering for AI agents (Anthropic) (checked Nov 30, 2026)