Bible Network Crypto DeFi Onchain RWA AI Agent Stablecoin Chain SAFU CryptoTax DeFAI AGI Claude Me Claude Skill Claude Design Claude Cowork
Independent Media
Not affiliated with any project
Exploring the Frontier of AI Intelligence
claude-me.com
LATEST
Cutting API Costs With Prompt Caching: An Overlooked Setting That Actually Saves Money  ·  Your First Claude Code Project: A Complete Walkthrough From Zero  ·  Anthropic's Responsible Scaling Policy: A Safety Framework That Tightens Automatically as Model Capability Grows  ·  When to Actually Use Extended Thinking: Not Every Question Needs Claude to Slow Down  ·  Claude Skills vs. Projects: What's Actually Different, and How I Decide Which to Use  ·  Anthropic's Model Welfare Research: What a Company Does If Claude Might Have Some Degree of Moral Status
fundamentals

Context Rot: Why Stuffing More Into Claude's Context Window Can Make Answers Worse

30-Second Version · For the impatient
A bigger context window doesn't mean bigger attention — stuffing in more doesn't mean the model remembers more clearly.

Full Explanation +
01 · Why did this happen?

Is context rot the same thing as hallucination?

They're not the same thing, but they often show up together. Hallucination is when a model generates content that sounds plausible but is actually incorrect or fabricated, driven by various causes (training data limitations, lack of retrieval grounding, and so on). Context rot, on the other hand, happens when the correct information is genuinely present in the context, but the model fails to retrieve it or pulls from the wrong location because that information got diluted or buried among a large volume of irrelevant content. Put simply, hallucination is "the model doesn't know the answer but answers anyway," while context rot is more like "the answer is right there, but the model can't find it or looks in the wrong place."

In practice, the two effects often compound: context rot causes the model to grab the wrong cue from the context, producing an answer that looks well-grounded but actually cites the wrong thing — which can look a lot like a typical hallucination from the outside.

02 · What is the mechanism?

If the context window is already very large (say, hundreds of thousands of tokens), does that mean context rot isn't a concern?

The relationship between window size and context rot isn't as simple as "bigger window, smaller problem." A large window means the model can technically accommodate more content, but that doesn't mean accuracy holds steady once it's filled up. Multiple public long-context benchmarks show that even models advertised as supporting very large context lengths often start showing noticeable accuracy decline once the window is 70-80% full, or even earlier — particularly on tasks that require reasoning across multiple scattered pieces of information.

In other words, "how large the limit is" and "how much usage triggers rot" are two separate questions. The former is a hardware spec; the latter is a real-world quality curve. You can't assume there's no risk just by looking at the spec number.

03 · How does it affect me?

If a task genuinely requires working with a large volume of documents, what practical methods can reduce context rot?

A few common approaches: First, filter and categorize the material beforehand, including only what's actually relevant to the current step, and adding more as needed rather than dumping everything in at once. Second, make good use of summarization — compress long conversations or long documents into key summaries before placing them in context, rather than keeping them verbatim. Third, place the most critical instructions or information at the start or end of the context, avoiding the middle (echoing the lost-in-the-middle effect). Fourth, break the task into stages — if a task can be split into independent steps, feeding the model in batches and confirming results at each step is typically more stable than dumping everything in at once.

The common logic behind these methods is really the core spirit of context engineering: making sure every piece of content in the context window is actually serving the current task.

04 · What should I do?

As an everyday user chatting with Claude, how can I tell if context rot has kicked in?

A few common warning signs: the model starts repeating a mistake you already corrected earlier, ignores a requirement you specifically emphasized partway through the conversation, or gives an answer that clearly only addresses the beginning of your message while missing key points from the latter half. None of these on their own necessarily means context rot, but if they show up in a conversation that's been running a long time and has shifted topics multiple times, it's usually a sign the context has become overloaded.

The most direct fix is to condense the background information you actually need right now into a brief summary, paste it into a fresh conversation, and continue there — rather than continuing to pile more onto the old one.

Full Content +

Many people assume a bigger context window is simply better — since Claude can now read more text, why not just dump the entire document, the full conversation history, and every possibly-relevant file in and let the model sort it out? That intuition has a name: context rot. As the content stuffed into a context window grows longer and messier, a model's ability to accurately pull out the key information actually declines, even when the window itself is nowhere near full.

A Bigger Window Doesn't Mean Bigger Attention

Models process long text using an attention mechanism, which determines which parts of the input matter most for the current task. In theory, attention can see everything in the context window, but in practice, as the volume of content explodes, the "attention budget" allocated to each segment gets diluted. Researchers have observed a common pattern called "lost in the middle": information placed at the very start or very end of a context tends to be recalled more accurately, while content buried in the middle — even if equally important — is more likely to be overlooked or misread. It's similar to reading a very long meeting transcript: you usually remember the opening agenda and the closing conclusions clearly, but the details in between blur together.

Not All Length Degrades Equally

How severe context rot gets depends heavily on whether the stuffed-in content is organized. Given the same 100,000-word input, if it's a disorganized pile of raw material (say, ten unrelated documents simply concatenated together), the model will struggle far more to extract the key points than if the content is clearly structured, sectioned with headers, and directly relevant to the task. This is also why retrieval-augmented generation (RAG) systems don't dump an entire knowledge base into a prompt — they first run a similarity filter and pull only the most relevant passages, specifically to avoid feeding the model irrelevant noise that dilutes what actually matters.

Context Rot Creeps In During Long Conversations Too

Context rot isn't limited to situations where you dump a large document all at once — long, multi-turn conversations accumulate the same problem. As a conversation runs longer, early details, previously corrected mistakes, and points already agreed upon all pile up inside the context window. The model can end up "forgetting" key points confirmed earlier, or repeating a claim that was already corrected. This is why a common practical recommendation is: once a task wraps up, or once a long conversation shifts to a new topic, starting a fresh conversation is often more effective than pushing forward in the same overloaded window.

What This Means for Your Money

If you're using Claude for work that accumulates a lot of context over time — incrementally editing a long contract, debugging a large codebase, or analyzing a hundred-page financial report — understanding context rot can save you real time and API cost. Instead of dumping everything in at once and hoping the model finds what matters, it's more effective to filter first: include only the passages relevant to the current step, and add more as needed. This approach doesn't just reduce error rates — since it also means fewer input tokens, it shows up directly on your API bill. For anyone using Claude heavily through a paid plan or the API, that difference adds up meaningfully over time.

Diagram
Context Rot:檢索準確率隨位置變化的 U 型曲線上下文窗口開頭與結尾的資訊通常被準確保留,中段內容的檢索準確率明顯下滑Context Rot: Retrieval Accuracy vs PositionPosition in Context WindowRetrieval AccuracyStartEndMiddle (lost in the middle)Claude Me · claude-me.com
Feel free to share. Please credit the source.
Ask a Question
Please enter at least 10 characters
Related Articles
Anthropic's Model Welfare Research: What a Company Does If Claude Might Have Some Degree of Moral Status
fundamentals · Jul 24
How an LLM Actually Generates Text: A Real Explanation for Non-Engineers
fundamentals · Jun 17
Mechanistic Interpretability: Why Anthropic is Dissecting Claude's 'Brain' — Frontier AI Explainability Research
fundamentals · Jun 11
Emergent Capabilities: Why Scaling AI Models Suddenly Unlocks Abilities That Weren't There Before
fundamentals · Jun 05