Plain-English AI definitions for legal professionals. For what bars actually require, see the Legal AI Compliance Register.

Context window

How models work Last reviewed 2026-06-11

Definition The maximum amount of text, measured in tokens, an AI model can consider at one time—covering the instructions, any documents provided, and the response. Material beyond the window is invisible to the model.

In more depth

The context window functions as the model's working memory for a single exchange. Modern models accept very large windows—enough for entire contracts or briefs—but accuracy in recalling details can degrade as input grows, and anything outside the window is simply not seen. When a long conversation exceeds the window, earlier content may be dropped or summarized, which can cause the model to lose track of instructions or facts stated earlier.

Related terms

About the editor: MHSB Solutions, Research desk. MHSB Solutions is not a law firm. This glossary is educational information, not legal advice.

Educational information, not legal advice. AI terminology and tools change quickly; definitions reflect usage as of the last-updated date. For what bar associations and courts actually require of lawyers using AI, see legalaicompliance.help and consult a licensed attorney in your jurisdiction.