What Is Context Window?

Context WindowContext Window
How much text (in tokens) AI can keep in mind at once. Beyond it, AI loses track of earlier content or documents.

A closer look

Your conversation with a chat AI and the documents you provide are placed on a “desk” called the context window. The size of the desk is fixed for each model; as of 2026, some major models can handle hundreds of thousands of tokens (several books’ worth of text).

Even with a large desk, though, putting too much on it makes it easier to overlook important information. Answers become more consistent when you start a new chat when the topic changes in a long conversation, and pass only the parts of documents you need.

Tips for business use

  • If answers go off track in a long conversation, start a new chat with the key points
  • Pass the relevant parts of documents, not everything
  • To have AI refer to all your internal documents, use a RAG setup

Related terms

Back to the AI Glossary