Home · Glossary · Context window
Enterprise AI glossary · Generative AI & LLMs

Context window

The maximum number of tokens a model can attend to in a single inference call (prompt plus output combined).

Definition

What Context window means in practice

The context window is the maximum number of tokens an LLM can process in one inference call, counting both the prompt and the generated output. Modern open-weights models offer 8K to 128K-token windows, with some research models pushing to 1M+. The practical engineering trap is that quality typically degrades as the context fills — the famous "lost in the middle" effect — so a 128K context is not a free pass to dump every relevant document in. Better-engineered RAG with tight retrieval and re-ranking beats long-context prompt-stuffing on most enterprise workloads, both in answer quality and in inference cost.

Go deeper
Generative AI for enterprise →

All 62 terms, in plain language

Sovereign AI, RAG, agentic AI, IDP, MLOps and the regulations that shape enterprise AI.

Browse the glossary →Talk to an engineer →