Volume 1 / Part 3 Mechanics — What Happens Inside / Chapter 34
AI Has No Memory — The Trick Behind Chats That Feel Continuous
After dozens of back-and-forth messages, it feels like the AI remembers the whole conversation. But the model itself doesn't even remember what it said one turn ago. Today we look at what's really happening behind that illusion of continuity, starting with a property called "stateless."
A simple question: "Wait, you remember what we talked about earlier, right?"
Last time we talked about the "size of the desk" — the limited amount of information an AI can look at in one go. Today picks up right where that left off. Have you ever had a long chat with an AI and noticed something odd? Ten or twenty exchanges in, it still tracks the very first thing you mentioned.
It feels just as natural as talking to a person. But if the AI really "remembers" all that, where is that memory actually stored? Is there some brain-like place inside it where the information gets written down?
The answer is a bit surprising. The model itself wipes the slate completely clean after every single exchange. The illusion of memory comes from something else working behind the scenes. Let's open that mechanism up, piece by piece.
AI starts every message as a stranger — the property called "stateless"
OpenAI's developer documentation, "Conversation state," says plainly that the Chat Completions API is independent per request — it holds no state at all. In other words, it's stateless. Each request arrives with zero knowledge of the request that came before it.
"Stateless" is a dry word, so let's use an analogy. Picture a temp worker who shows up fresh every morning. She's sharp and capable, but she carries nothing over from yesterday's shift. Every single morning, you have to hand her the full case file and say, "Here's today's task," before she can do anything.
OpenAI's own developer community gives the same practical explanation: the model has no memory of past requests, so anything it needs for context has to be included in the conversation history, every single time. Because the model is trained to follow a chat format, lining up user and assistant turns in sequence just creates the impression that it remembers — nothing more.
AI isn't holding onto the conversation as it goes — it starts over from scratch, as a total stranger, every single time.
Conversations feel continuous thanks to "resending the context"
So why does it feel like the conversation is flowing naturally? The trick is simpler than it sounds: the app resends the entire conversation history from scratch, every single time. This is called context resending.
Try picturing it concretely. Say you and the AI have traded around 50 messages. Developer write-ups note that a chat of this length can easily pass 10,000 tokens, and depending on the model, a single call at that size might cost a few cents. When you send message 51, the app isn't just sending that new message — it's bundling up messages 1 through 50 and handing the whole pile to the model at once.
In other words, the longer the conversation runs, the heavier the bundle it resends every time gets. This connects right back to the "size of the desk" idea from last time. Since March 2025, OpenAI has also offered a newer approach called the Responses API, which lets the server hold onto the conversation's history, cutting down on the need to resend everything. That said, the older Chat Completions approach is still widely used, and it still works by resending the full history every time.
ChatGPT's "Memory feature" is a different mechanism entirely
This is a good place to untangle something people often mix up. ChatGPT has something called a "Memory feature." This isn't the model's own memory — it's a separate, product-side mechanism called Memory that stores information somewhere else entirely.
OpenAI rolled this feature out to Plus users starting April 29, 2024. It works by saving things you explicitly ask it to remember, then quietly slipping that saved information back into the conversation the next time you talk. On April 10, 2025, the feature was expanded so it could draw on your entire chat history, not just saved notes, to personalize responses. Then on June 4, 2026, OpenAI announced a mechanism called "Dreaming," which automatically synthesizes and updates memory in the background from your conversation history. OpenAI's internal evaluations reportedly showed an improvement in how accurately the system recalled facts, but since that's a self-reported number from OpenAI itself, it's worth treating as an estimate rather than an independent finding.
The important thing here is that all of this is a "storage locker built by the app," not the model getting smarter and remembering things on its own. Someone — or something — is writing notes, and those notes get quietly handed over before the conversation starts. This feature also isn't available the same way everywhere: according to OpenAI's Help Center records, it's off by default in some regions, and users have to turn it on manually in settings. It might be worth a quick peek at your own settings screen to see whether Memory is actually switched on for you.
The "Memory feature" isn't the model remembering — it's a storage locker built by the product, with its contents slipped in before each conversation.
The model's weights don't change because of a conversation
There's one more thing worth nailing down clearly: the model's "weights" — its actual internal substance — never get rewritten by a conversation. Weights are the enormous collection of numbers the model tuned during training.
In an official blog post about Claude Code, Anthropic explains that each model's weights are locked in at training time, and by the time a request comes in, they're already "read-only." Whatever you say in the prompt or the conversation can steer the output, but it can't add anything to the weights themselves.
Think of it like a massive dictionary. No matter how many sticky notes you attach to it, the text inside the dictionary never changes. The sticky notes might change which pages you flip to and how, but the dictionary itself stays exactly the same. Even if you tell the AI mid-conversation, "Call me this from now on," that's not a change to the weights carrying forward into next time — it's just a note being handed over fresh, each time, in that moment.
Lining the memory-like mechanisms up side by side
Putting it all together, there are two separate mechanisms hiding behind that feeling of a continuous conversation. One is context resending, where the app resends the full conversation history every time. The other is information getting slipped in by the product-side Memory feature. Neither one is the model itself remembering anything.
The model is always stateless, and its weights never get updated by a conversation. That might sound a little cold at first. But flip it around, and it's actually reassuring: no matter who talks to it or what gets said, there's no risk of the model's core contents getting silently rewritten.
Next time you're in a long conversation, try picturing what's happening behind your screen. Everything you've exchanged so far is being bundled up and resent, in full, all over again. The conversation isn't "continuing" — it's being rebuilt from scratch, every single time. Once you see it that way, how you relate to AI might shift just a little.
FAQ
Does the AI learn and get smarter in the middle of a conversation?
No. The model's weights are never updated while you're talking to it. According to Anthropic's official explanation, weights are finalized at training time and treated as read-only during inference. What looks like "learning" mid-conversation is really just the model reacting to the context it's been handed in that moment.
If I turn off ChatGPT's Memory feature, does the model get worse?
No. Memory is a separate, product-side storage and insertion mechanism — it's not part of the model's own capability. Turning it off doesn't change the model's underlying reasoning ability at all.
Does resending the whole conversation history every time affect cost or speed?
Yes, it does. The longer a conversation runs, the more text gets resent each time, which increases both the amount of information processed and the cost. Newer options like OpenAI's Responses API, available since March 2025, let the server hold onto conversation state instead. But the older Chat Completions approach, still widely used, continues to resend the full history every time.
Next time, we dig into the model's actual insides. We'll look at what numbers like 7B, 70B, and 1T — the so-called "parameter counts" — really mean.
Primary sources
- OpenAI Developers Docs: Conversation state — Official explanation of Chat Completions' statelessness and conversation-state management via the Responses API
- OpenAI Developer Community: Unable to maintain user session — Practical explanation that the API is stateless and the full history must be resent each time
- The New Stack: Open Responses vs. Chat Completion — Covers the March 2025 move to the Responses API alongside continued use of Chat Completions
- Claude.com Blog: Choosing a Claude model and effort level in Claude Code — Official Anthropic explanation that weights do not change during inference
- ChatGPT Business release notes (OpenAI Help Center) — Official record of the Memory feature's launch on April 29, 2024
- Official OpenAI post on X — Official announcement of the April 10, 2025 expansion to reference past chats
- OpenAI Research: Dreaming: Better memory for a more helpful ChatGPT — Official announcement of the Dreaming memory architecture, June 4, 2026
- ChatGPT — Release Notes (OpenAI Help Center) — Official record of regional availability and opt-in settings for the Memory feature
This article organizes general knowledge based on our experience and public sources. Product specs, prices, and regulations reflect the time of writing (October 8, 2026) and may change.