AI, Actually ExplainedLesson 25 of 92

Contents

AI, Actually Explained

Lesson 25 of 92. Sign in to keep your place.

Module 3 · What a chatbot is actually doing

The desk it works on, and what falls off it

9 min read

Eight things competing for one deskThe hidden system promptHundreds to thousands of words placed there by theproduct before you typed anythingStored memoriesNotes the product saved about you and pasted back inTool descriptionsWhat the model may call, and howAttached files and imagesA 1024-pixel photograph costs several hundred tokensRetrieved search resultsPage text a search fetched on your behalfEvery earlier turnYours and its own, back to the start of the threadYour current messageThe part most people think is the whole of itThe reply being generatedEach token it writes is read back before the nextone is chosenAll of it is counted in the same token budget, and all of it is re-sent on every turn. Most peopleknow about one item on this list. When the desk fills, the oldest turns are dropped silently, which iswhy a constraint set at the start quietly stops applying.
All of it is counted in the same token budget, and all of it is re-sent on every turn. Most people know about one item on this list. When the desk fills, the oldest turns are dropped silently, which is why a constraint set at the start quietly stops applying.

Figure

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.

  1. 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.
  2. 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.
  3. Paste the relevant passage rather than the whole document when you can. Ten targeted paragraphs beat a hundred pages for accuracy, cost and speed.
  4. Ask about one section at a time. Then combine the answers yourself.
  5. 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.
  6. 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.

Next lesson · 8 minWhy the same question gives different answers

Stuck on something?Ask Meenal, your AI tutor

How to cite: Addaly (2026) ‘The desk it works on, and what falls off it’, in AI, Actually Explained. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-actually-explained/the-context-window (Accessed: 13 October 2026).