Skip to main content

The Library with No Memory

Why does ChatGPT forget what you said ten minutes ago? Understanding the 'Context Window' and why AI has the memory of a goldfish.

4 min read
context window, memory, technical terms
The Library with No Memory

The Library with No Memory

Imagine a genius librarian. They have read every book in existence. You can ask them about quantum physics or 14th-century poetry, and they know it all.

But there’s a catch.

This librarian has the short-term memory of a goldfish.

If you walk out of the room and come back five minutes later, they don’t know who you are. They don’t remember your last question. They don’t remember that you’re allergic to peanuts or that you’re trying to build a website.

This is exactly how AI works. It has Infinite Knowledge, but Zero Memory.

The "Counter" Metaphor

To talk to this librarian, you have to write everything down on a piece of paper and slide it across the counter.

That piece of paper? That is the Context Window.

When you open ChatGPT and start a new chat, the paper is blank.

  • You type: "Hi, my name is Karl."
  • The AI reads the paper. It sees: "Hi, my name is Karl."
  • It replies: "Hello Karl!"

Now, for the next turn, the AI doesn't "remember" you are Karl. It just looks at the paper again.

  • The paper now says: "User: Hi, my name is Karl. AI: Hello Karl!"
  • You type: "What is my name?"
  • The AI reads the huge transcript on the paper and says: "Your name is Karl."

Running Out of Space

Here is the problem: The piece of paper has a limit.

In the old days (2023), the paper was tiny—about 5 pages. You'd lose context in 10 minutes. Today, it varies wildly depending on which model you use.

Here is a rough guide to "Paper Size" in 2026:

AI Model Context Window What that fits
Standard / Free (e.g. GPT-5.2) ~256k Tokens ~600 Pages. Perfect for codebases and novels.
Claude 4.5 Sonnet 500k Tokens ~1,200 Pages. The daily driver for most pros.
Claude 4.6 Opus (Brand New!) 2M Tokens ~5,000 Pages. Massive recall precision.
Gemini 3 Flash 10M Tokens Video Archives. Hours of video or huge logs.
Gemini 3 Pro Infinite Everything. You never hit the limit.

Why the huge difference? It comes down to cost and "brain power."

  • Small Context (GPT-5): Like a sprinter. Very fast, very smart, but can't hold much at once.
  • Massive Context (Gemini 3): Like a cargo ship. It can carry an entire library, but it takes longer to find things.

This brings us to a key rule: Just because you CAN fill the window, doesn't mean you SHOULD. The more you add, the slower (and sometimes dumber) the "Librarian" gets.

Even with these massive windows, if you talk long enough (or upload enough files), you eventually fill up the paper. When that happens, the AI has to make room for new words. So what does it do? It erases the top of the page.

It literally deletes the beginning of your conversation.

Suddenly, you ask it to fix the code you sent an hour ago, and it says, "What code?" It’s not being difficult. It literally doesn't have that information anymore. It fell off the "Context Window."

The "Save Game" Trap

Many people make the mistake of having one giant, never-ending chat thread called "Work." They think they are building a relationship with the AI.

They aren't. They are just pushing old info off the ledge to make room for new info.

The Fix: Context Hygiene

Because the AI has no long-term memory of you, you need to manage the Context Window yourself. Here is the protocol:

1. The "One Task, One Chat" Rule Never mix topics. Have a chat for "Email Drafts" and a separate chat for "Coding Help." If you mix them, the AI gets confused by the noise.

2. The "Summary Restart" If a conversation gets too long (and the AI starts getting dumb), do not fight it.

  • Step A: Ask the AI: "Summarize everything we decided in this chat so far into a bulleted list."
  • Step B: Copy that list.
  • Step C: Open a brand new chat.
  • Step D: Paste the list and say: "Here is where we left off. Let's continue."

This gives the "Librarian" a fresh sheet of paper with only the important notes.

Utility Step

Don't just read about it. Try it.

You understand the concept. Now see how it works in the real world with this step-by-step guide.

Analyze Data with Context

Want to keep learning?

Get our free AI Starter Kit — 5 lessons delivered to your inbox.

Join readers learning AI in plain English. No spam, ever.