PhyseaWiki How AI actually works physea.ai →

Context windows

What is a context window?

A context window is all the text a model can reference while producing a response, including the response itself. It acts as working memory and is measured in tokens, not words.

Last updated 2026-07-25 · Physea Labs

A context window is, in Anthropic’s words, “all the text a language model can reference when generating a response, including the response itself.”[1] The same documentation describes it as a “working memory” for the model, separate from the much larger body of data the model was trained on.[1] Whatever you want the model to take into account on a given turn has to fit inside that window.

The window is measured in tokens, not words. A token is a chunk of text the model processes; OpenAI describes tokens as “commonly occurring sequences of characters” and offers a rough rule of thumb that “1 token is approximately 4 characters or 0.75 words for English text.”[2] So a few hundred words of plain English is a few hundred tokens, and the page or two of text in a short note is roughly the same order. Counting in tokens matters because the limit is a token limit.

A rough mental model helps make that distinction concrete. A 1,000-word email comes out to somewhere around 1,300 tokens at OpenAI’s stated rate of roughly 0.75 words per token, and a 200,000-token window can hold on the order of 150,000 words, well past the length of a typical novel.[2] That much headroom sounds generous, but it fills up faster than it looks, because the window has to hold more than just what you type. What else counts against the same budget is covered on the next page.

Why it matters If something is not in the context window, the model cannot see it. Earlier conversation, a document you forgot to paste, a file the model never opened: none of it influences the answer unless it is in the window for that turn.
In the window – System prompt, history, documents– The model's own response counts too– Available to reason over Not in the window – Earlier chats you didn't include– A file the model never opened– Invisible, no matter how relevant
A document you forgot to paste might as well not exist for that turn. The model only works with what actually made it into the window.

References

  1. Context windows (Claude API docs) — Anthropic
  2. Key concepts (OpenAI API docs) — OpenAI