Context budget and context rot
For both
Why more context can hurt, and how to trim, order and summarize what goes into the window
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A model accepts a very long input. What is the safest way to think about that limit?
Check yourself · 2 of 5
For a long document question, which layout does Anthropic's prompting guide recommend?
Check yourself · 3 of 5
Which belongs in a brief that replaces a long thread?
Check yourself · 4 of 5
What is the purpose of a drop order in a context plan?
Check yourself · 5 of 5
Which task is the best fit for loading a whole corpus into a long-context model?
Topics
- Why more context can hurt answers4 min read · Context rot, distraction by irrelevant material and lost-in-the-middle effects make answers worse as inputs grow
- Trimming and ordering the window4 min read · What to cut, what to keep, and placing long material first with the question and key rules at the end
- Replacing raw history with a brief5 min read · Swapping long threads, transcripts and logs for a short structured summary, and knowing what the summary loses
- A per-task context budget plan5 min read · Deciding up front what goes in, roughly how many tokens each item costs and what to drop first as the limit nears
- Huge context windows versus focused context5 min read · When loading a whole corpus into a million-token window works and when selecting excerpts wins on accuracy and cost
Start here
- Context Rot (Chroma research) (opens in a new tab)ArticleFree
Tests many models as input grows and shows accuracy dropping even on simple tasks.
- Lost in the Middle: How Language Models Use Long Contexts (opens in a new tab)PaperFree
The study showing models use facts at the start and end of a long input better than facts in the middle.
- NoLiMa: Long-Context Evaluation Beyond Literal Matching (opens in a new tab)PaperFree
Shows long-context accuracy falls when the question does not share words with the answer.
Scenarios
Helps to know first
110 questions · last verified 2026-12