Everything the model can see
The context window is the total amount of text a model can consider at one moment, measured in tokens. It is not memory in any lasting sense. Think of it as a desk: whatever is on the desk can be used, and whatever is off it does not exist.
Eight things compete for that desk, and most people only know about the second:
- the hidden system instructions from the product
- your current message
- every earlier message in this conversation, yours and its own
- any files or images you attached
- anything retrieved by a search on your behalf
- any stored memories the product pasted in
- descriptions of the tools it may call
- the reply it is currently generating
Sizes as of 2026 run from about 8,000 tokens on small local models, through 128,000 on most mainstream ones, to a million or more on a few. For scale, 128,000 tokens is roughly 96,000 English words (a 300-page book) and considerably less than that in most other scripts.
What happens when it fills
The model cannot simply be given more. So the product does something on your behalf, usually without saying so.
Most commonly, the oldest turns are dropped. Sometimes the middle is replaced by an automatic summary. Sometimes only the last few exchanges are kept along with the system instructions.
This is the real explanation for a very familiar experience: a long conversation in which the assistant slowly forgets a constraint you set at the start, or starts contradicting a decision made an hour ago. Nothing degraded. The instruction fell off the desk.
It also explains why the assistant sometimes appears to forget the file you attached forty messages ago. The file is gone from the context; a summary of it, or nothing at all, remains.
A big window is not the same as reading it
The second thing to know is that capacity and attention are different claims.
As the previous lesson noted, models retrieve facts placed near the beginning or end of a long context far more reliably than facts placed in the middle. Newer models are better and the effect has not gone away.
So the honest expectation when you paste a hundred pages is: everything is available, the ends are attended to well, the middle is a lottery, and the model will not tell you which. It has no signal that says “I did not really look at that part”. It answers with the same confidence either way.
The cost, which surprises people
Each turn re-sends the whole context. If your conversation has grown to 80,000 tokens, every new message, however short, is processed against all 80,000.
On a paid interface that is what you are billed for. On a free one it is why replies get slower as a chat lengthens. And it is why a fresh conversation is dramatically faster and cheaper than a long one, for the same question.
Six practical habits
All of these come straight from the mechanism, and together they change results more than most prompt tricks.
- Start a new conversation for a new task. Continuing a two-hundred-message thread carries all its irrelevance forward, competing for attention with your actual question.
- Restate the constraint that matters, late. If the answer must be in Hindi, under 200 words, and cite the attached policy, say so in the message that asks for it, not only at the start.
- Paste the relevant passage rather than the whole document when you can. Ten targeted paragraphs beat a hundred pages for accuracy, cost and speed.
- Ask about one section at a time. Then combine the answers yourself.
- Check whether the file is still in play. Ask it to quote the first line of the attachment. If it cannot, the attachment is gone and everything it says about the document is invention.
- Keep your own record. The context is not storage. If a decision matters, it belongs in a document you control, not in a chat that will be trimmed.
The one-sentence version
A context window is working space, not memory; it is shared with things you did not put there; the middle of it is read least reliably; and you pay for all of it on every turn.
Check your understanding
Ninety messages into a conversation, an assistant starts ignoring a formatting rule set in message two. Which explanation fits the mechanism best?
Pick the one you would defend. Your answer stays private.
Stuck on something?Ask Meenal, your AI tutor