Context Windows and Memory
The most common misconception I encounter: people assume these models remember previous conversations. They don't.
Part 5 of 13 in AI: From the Engine Room View all 13 parts
- 01 I've Heard This Engine Before
- 02 The Attention Mechanism Explained
- 03 Training Economics
- 04 The Efficiency Illusion
- 05 Context Windows and Memory Current
- 06 The Multiplier Effect
- 07 The Tacit Knowledge Bottleneck
- 08 Why Vectors Aren't Enough
- 09 UI as the Ultimate Guardrail
- 10 Hallucination is a Feature, Not a Bug
- 11 Working With the Machine
- 12 AI Readiness Is a Governance Question
- 13 What the Engine Room Taught Me
How Context Works
A context window is the text the model can process when generating a response. It includes system prompts, conversation history, and any documents you’ve included: everything the model can “see” for this particular response.
Models are stateless. Each response is generated fresh from the current context. Previous conversations aren’t remembered unless explicitly included.
Bigger Windows, Different Tradeoffs
Context windows have grown substantially, from a few thousand tokens to hundreds of thousands (and into the millions) in current frontier models. This sounds like pure improvement, but there are considerations.
Longer contexts are slower and more expensive to process. More importantly, research shows models don’t use long contexts uniformly. Information in the middle tends to get less attention than content at the beginning and end.
Practical Implications
Be explicit about what’s needed. Don’t assume the model remembers anything from outside the current context.
Position matters. Put the most important information at the beginning of your context.
More isn’t always better. Selective, relevant context often outperforms comprehensive context.
The Takeaway: Context is working memory, not long-term memory. Design systems that explicitly manage what the model sees for each response.