What does context window mean? The library and the desk

By Christophe Paka · Facts checked on 23 October 2026

One reader says ChatGPT knows personal things they never mentioned. Another says it suddenly forgot everything from an hour ago. Both are puzzled, and both are looking at the same machine.

Get this wrong and you trust an answer that was built on the wrong page, or on no page at all. So what does context window mean? It is the desk in front of the model: everything it can see while it writes an answer. The figure below draws the desk next to the library the model learned from, so you can see where each piece of its knowledge lives.

Left, a library: training data, learned once, read only, baked into the model. Right, a desk: the context window, with sheets filling left to right, from memory and instructions to a pasted document, up to the token limit at the edge.
Figure 4.1: The library and the desk. The model learned from the library once; it works only from what is on the desk right now.
Use this diagram on your site

Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.

How to read this figure

  1. Start with the library on the left. The library is the training data. The model read it once, at the vendor, and it is now baked into the model's dials. It is read only: it cannot be reread or updated, whatever you type.

  2. Move to the desk on the right. The desk is the context window, one conversation's working memory. Anthropic defines it as all the text a model can reference while it writes a response, including the response itself.

  3. Read the first sheet. Before you type, the product places its memory notes and its standing instructions on the desk. That is why an app can seem to know you: a note was put back, not learned.

  4. Follow the sheets left to right. Your first message, the AI's reply, a pasted document and more turns fill the desk in order. Every sheet counts toward the space, the replies too.

  5. Look at the edge. The space left ends at the token limit. When the desk is full, the oldest sheets slide off or the system replaces them with a short summary. The model works only from the desk.

Key takeaways

  • When an answer looks wrong, ask what was on the desk, because the model works only from the context window.
  • Paste the source document whenever a fact must be right, and start a new chat for a new task.
  • Open your chat AI's memory page and delete any note that should not shape your work.

Worked example: one question, four desks

Crystal Goods, the book's example shop, has a 45 day refund window. Ask the AI what the refund window is, four ways, and read the desk each time.

  1. New chat, memory off: only your question is on the desk. A careful model asks; a careless one says 30 days.
  2. Policy page pasted: the desk holds the question and the policy, so the answer is 45 days, right in this chat only.
  3. New chat the next day: the desk was cleared, so you are back to the first case.
  4. Memory on, with a saved note that you prefer short replies: every answer comes back short, even a letter that needed detail.

Result: In all four cases the model never changed; only the desk did. The last case is the one to watch, because nothing on screen says why the answers changed.

Questions readers ask

Sorry if this is stupid, but what does context window mean?

Not stupid at all. It is everything the model can see while it writes one answer: your messages, its replies, pasted files and any memory notes the app adds. Picture a desk. The model cannot see anything that is not on it.

Why does ChatGPT suddenly feel like it forgot everything?

The desk has edges. In a long chat the oldest sheets slide off or get replaced by a short summary, and a new chat starts with a cleared desk. Ask for a short handover brief and continue in a clean chat.

Can I erase what ChatGPT knows about me?

You cannot change its training, but you can change the desk. Product memory is a set of notes the app saves and puts back on the desk. You can delete notes or turn memory off in the app's settings.

Sources: Anthropic: Context windows; Claude Help Center: chat search and memory.

This figure is from AI Made Crystal Clear, chapter 4.

The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.

Get the book

All diagrams