AI · · 1 min read

What Is an AI Context Window?

Ever notice an AI "forgetting" something you told it earlier in a long chat? Meet the context window.

The context window is how much text a model can consider at once. Think of it as working memory. It holds:

  • Its instructions
  • Your messages and files
  • The conversation so far
  • The reply it's writing

It's measured in tokens (pieces of words), and modern models can handle a lot. But it's still finite, and in very long conversations, older details may be cut, summarized, or given less attention.

How to work with it:

  • Start a fresh chat for a new task instead of continuing a giant old one.
  • Put the most important instructions clearly, and repeat key constraints in long sessions.
  • Share only the documents that matter for the task.
  • Ask it to summarize decisions so far before moving on.