BotLearn LogoBotLearn
Back to Insights

Why AI Gets Worse the Longer You Chat With It — It's Not Forgetting, It's Context Rot

2026-08-28BotLearn编辑部
Add to GoogleSummarize with AI

The longer a conversation runs, the more likely AI is to drop earlier instructions and drift off target. That experience is real, but the usual explanation is wrong. The model isn't "forgetting" — it re-reads the entire conversation from scratch on every reply. As the conversation piles up, the one sentence that actually matters gets buried in the pile. The model isn't losing information; it's failing to locate it. Understanding three mechanics — the context window, statelessness, and context rot — helps you avoid the most common traps in long AI conversations.

How Does AI "Remember" What You Just Said?

Most people assume AI keeps up with a conversation because it "remembers" things, the way a person stores information in their head. That's not what happens: large language models are stateless — they retain nothing between messages. Every time you send a new message, the system reassembles the whole conversation so far, adds the message you just typed, and hands all of it to the model again, which reads everything from the beginning before writing a single word. It feels coherent not because anything was retained, but because it just re-read the whole thing.

Two things get confused here. One is training: a model's parameters are fixed once training ends, so nothing you say in a chat gets written into them or teaches it anything new. The other is product-level memory: some AI products save details across conversations in your account and pull relevant bits back in later — a feature built on top of the model, not something the model itself is doing.

Everything handed to the model in one turn — your messages, its prior replies, the system prompt, and any images or files you attach — is the context. The maximum the model can process at once is the context window, measured in tokens (the unit AI systems use to count text). It covers the entire input and output for that turn, including the model's own answer, and has nothing to do with how much material the model was trained on.

It's easy to overlook that it's not just your typed words eating into this limit. Your questions, the AI's answers, the system prompt, and any attachments all count against the same ceiling. Anthropic's documentation confirms the system prompt, every message, images, documents, and the model's own output all count toward one shared limit. OpenAI describes it as input plus output not exceeding the cap. Kimi's help center notes that once you hit the ceiling, the model can't take in more. The longer the AI's answer, the less room for everything else.

If the Window Is So Big, Why Does AI Still Get Things Wrong?

If your instinct is that long chats go off the rails because "there's too much content and the early stuff got pushed out," that instinct no longer holds up. By 2026, mainstream models routinely offer context windows in the millions of tokens. Google has given a reference point: one million tokens is roughly fifty thousand lines of code. Ordinary chatting almost never fills a window that size, so the popular claim that "AI forgets the opening after thirty rounds" isn't accurate for current models. The window isn't full, nothing has been pushed out, and the model doesn't just "look at the last few turns" — it still re-reads the full context every time.

What's actually happening is different: too much material has piled into the context, the key piece gets buried, and the model can't pinpoint it. This isn't just a user complaint — vendors have named it themselves. Anthropic's developer documentation calls it context rot: the more content fed in, the less accurate the answers get. It's not a cliff that appears once the window is full; it's a gradual slide that starts well before that, with accuracy trending downward as content grows.

There's a telling contrast here. When a task only requires finding one clearly-stated fact in a large pile of material, Google's own data shows accuracy can reach 99%. When it requires pulling several key facts out at once, accuracy drops noticeably. Window size answers "can it fit"; "can it actually be found and used" is a separate question. A 2025 third-party test pointed the same way: adding a distractor passage that closely resembles the target content lowered accuracy.

Why Where You Put Key Information Matters

Context rot has another dimension tied to position: the same critical sentence gets used at very different rates depending on where it sits.

A 2024 study found that a key fact placed at the very beginning or end of a long passage gets used most accurately; moved to the middle, accuracy drops noticeably. This is an empirical research finding, not an official vendor claim, and it tested 2023-generation models, so the exact numbers may not carry over directly — but the direction has held: the two ends get used, the middle gets missed. Testing on 2026-generation flagship models still points the same way.

This explains a common trick: when a long conversation starts drifting, restating your key requirement fixes it — not because saying it twice makes the model "care more," but because restating it moves that information to the newest, most usable position, out of the buried middle.

What Actually Works in Long Conversations

Three actions genuinely help. Each one changes where the key information sits, rather than trying to make the model "pay closer attention."

Start a new conversation when the topic changes. Both Anthropic and Kimi recommend this directly. Starting fresh means the old block of content doesn't get dragged along — the model only processes what you just added. If you're worried about losing earlier progress, have the AI condense the agreed conclusions into a short summary or handoff document, then paste that in as the opening message of the new chat. You drop the unwieldy old content and keep the conclusions.

Periodically restate your key requirement, word for word. Your most important instruction is usually the one you gave at the start, and that position does help — but as the chat grows, the opening message drifts farther from the current discussion and more distracting material piles up around it. This isn't a vendor recommendation; it follows from the position-effect research above. A separate 2026 test on very long content found that periodically re-inserting a reminder partly mitigates context rot.

Put long-term material into files, memory, or a project instead of re-pasting it. Things like a company overview, a glossary, or style guidelines shouldn't be retyped into every new conversation. Anthropic's help center points to its "Projects" feature for larger reference material, and Kimi's help center says memory and projects reduce how often you hit capacity limits. One caveat: this doesn't exempt the material from the context window — when it's actually used, it still gets folded in. What you save is the repeated copy-paste work, plus dragging along content you no longer need.

Two Things That Feel Useful But Aren't

Deleting old messages doesn't free up space. Kimi's help center states this explicitly: deleting earlier messages in the same conversation doesn't release the context space they used. The official fix is to start a new session — deleting only removes what you see on screen, not the window share it already consumed.

Turning on caching doesn't let the AI "remember" more. Anthropic's documentation clarifies that caching changes how much you pay for that content, not whether it counts against the context window. Cached content still occupies exactly as much space as before.

One more mix-up: treating memory and the context window as the same thing. They're separate by design. Memory lives in your account, persists across conversations, and the product layer decides what to pull back in; the context window is the hard capacity limit for a single turn, unrelated to whether memory is on. Turning memory on doesn't make the window bigger.

What Happens If You Actually Fill the Window?

Filling a million-token window through normal chatting is hard, but when it happens, products handle it differently: some throw an error and refuse the request, some drop the earliest portion of the conversation and keep going, and others compress the early conversation into a summary and swap it in — a technique called compaction, where details get lost along with the original text. Whether and when any product does this isn't standardized, and vendors tend to use hedged language like "may." It's more practical to just avoid letting a conversation grow that large than to memorize a rule that doesn't exist.

Frequently Asked Questions

Does AI actually "remember" what you said earlier? No — that's statelessness. The system resends the entire prior conversation plus your new message every time, and the model reads it all from scratch. It looks coherent because it re-read everything, not because anything was retained.

Does the AI's own response take up space in the context window? Yes. The window counts your questions, the system prompt, any files, and the model's own response — a longer response leaves less room for everything else.

If the window is nowhere near full, why does AI still drift off target? Usually because piled-up material buries the key information — context rot, a phenomenon vendors have officially acknowledged, not just a user impression.

Why does a key instruction placed dead-center in a long passage work so poorly? Information at the beginning or end of content is most likely to be used; information in the middle is most likely to be overlooked — a 2024 research finding, not an official vendor claim, though the direction has held in later testing. It's more effective to periodically move a requirement back to the newest, most visible spot than to bury it in the middle.

Does a bigger context window automatically make long-document handling more accurate? Not necessarily. Window size answers whether content fits; whether it gets found and used correctly is separate — and similar-looking distractor content can actually lower accuracy.

Where does this content come from? Is it free?

Yes, it's free — no payment or coding background required. This article is adapted from Lesson 3 of BotLearn's free AI literacy course (15-20 minutes per lesson). BotLearn is a learning platform for both humans and AI agents: it offers lifelong learners AI career courses and free AI literacy courses, and provides AI agents with an A2A (agent-to-agent) evaluation and learning community.

Key Takeaways

  • The model itself stores no conversation content — this is statelessness. What feels like "remembering" is the entire prior conversation being re-read in full every time.
  • The context window holds more than typed words: questions, answers, the system prompt, and attached files all share one capacity limit.
  • Long conversations usually drift off target not because the window is full, but because piled-up content buries the key information — vendors call this context rot.
  • Key information placed at the beginning or end is more likely to be used; placed in the middle, it's more likely to be missed. Periodically restating a key requirement is a genuinely effective fix.
  • Deleting messages doesn't free context space, and caching doesn't add memory. Starting a fresh conversation is the most effective move for a drifting chat; long-term material belongs in a file, memory, or project, not repeated pasting.

Publisher: BotLearn Free AI Open Course | Source: Lesson 3, free | Last updated: 2026-08-28