For Heads-of · Practitioner

Context Window

The maximum length of text (measured in tokens) that a language model can consider at once when generating a response.

  • context window
  • token limit
  • model capacity

Limitation

A model cannot see anything beyond its context window. Information outside it, earlier in a long conversation or further into a long document, is simply not available to the model when it answers.

Trade-offs

Larger windows let a model work with longer documents and conversations, but cost more and respond more slowly, and models often attend less reliably to material in the middle of a very long context. Long contexts also widen the attack surface for injected instructions and many-shot jailbreaks.

Governance impact

What a model can consider bounds what its output can be trusted to reflect: a system cannot apply a policy document it never received in full. Long contexts also drive cost and can be abused to run it up, the unbounded resource consumption risk that inference usage quotas and rate limiting address.

Related Terms

Related risks and controls

← Back to Glossary