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 →
Free download · 12-minute read

The Sovereign AI Playbook.

Enterprise generative AI that runs on your servers.

  • 01Definition. The four non-negotiable properties of a sovereign deployment — and the three patterns that look sovereign but aren't.
  • 02Why now. Three forces that converged in 2026: regulator pressure, the open-weights capability gap closing, and unit economics flipping.
  • 03Reference architecture. The five-layer stack we deploy: applications → agent runtime → sovereign LLM → RAG + KB → data stores. With model and tooling choices for each.
  • 04The regulators. SAMA · RBI · UK ICO · EU AI Act · DPDP · HIPAA — what each requires and how it maps to architecture.
Get the playbook
Free PDF, in your inbox in 30 seconds.
We'll send the PDF, and may follow up once or twice with related material. One click unsubscribes.

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 →