The Nerd Uncle
One stop shop for AI news.


The Nerd Uncle › Courses › Course 06

The context window: everything it can actually see

A model has no memory between messages. What looks like memory is the whole conversation being handed back to it, every single time, until it no longer fits.

6 modules, drawn as you go. Step through them below, or read them straight down underneath — about 4 minutes either way.

01It remembers nothing02The transcript is re-sent02The transcript is re-sent03The window has a size03The window has a size04Reading it costs every turn04Reading it costs every turn05Old turns fall off the front05Old turns fall off the front06Why it forgets mid-chat06Why it forgets mid-chat

The modules

  1. 01

    It remembers nothing

    Between one message and the next the model keeps nothing at all. It is the same machine in the same state it was in before you arrived. This is the fact everything else here follows from.

  2. 02

    The transcript is re-sent

    So the application quietly sends the entire conversation again with every message — your first question, its first answer, all of it, plus the new line. What feels like it remembering is really it reading the whole thing again from the top.

  3. 03

    The window has a size

    There is a ceiling on how much it can be handed at once, counted in tokens. That ceiling is the context window. Modern ones are large — hundreds of thousands of tokens, a few books’ worth — but they are a ceiling nonetheless.

  4. 04

    Reading it costs every turn

    Because the transcript is re-sent, you pay to read it again on every turn. A long conversation gets more expensive per message as it goes, even if your questions stay short. This surprises people looking at a bill.

  5. 05

    Old turns fall off the front

    When the conversation outgrows the window, something has to go, and it is normally the oldest material. Nothing announces this. The instruction you gave at the start is simply not in the room any more.

  6. 06

    Why it forgets mid-chat

    That is the whole explanation for a model that was following your rule perfectly and then stopped. It did not get lazy and it did not decide to ignore you. The rule fell off the front. Restate important instructions late, or start a fresh conversation with them at the top.

Everything on this page is drawn by the page itself, so it costs nothing to load and reads the same on a slow connection.

The Nerd Uncle

Subscribe

One edition a day, finished and dated, at six in your own morning. No account, no tracking, no price.

or

Double opt-in, one unsubscribe link in every message, and the list lives in our own database rather than a provider’s.