What is a context window?

A context window is the space for what a model sees and writes.

Concept. You ask a model to sum up notes. The notes, your request and the reply all need room in the window.

Facts checked on November 18, 2026.

Words on this page

3 short definitions.
AI
Technology that lets computers do tasks like reading text or spotting patterns.
model
The part of an AI tool that uses what it learned to give an answer. Claude and GPT are model families.
tokens
A token is a piece of text an AI model reads or writes.

How it works

Models count this space in tokens. When text is too long, try a short set of notes or split the work into parts. Keep the facts the model must use in the part you send.

Keep reading