OpenRouter Announcements·· 20 hr agoFeaturedAI score60
Context Rot: Why Your AI Agent Gets Worse in Long Sessions
Context Rot: Why Your AI Agent Gets Worse in Long Sessions
AI summary
Tests on five 1M-context models found that single-fact recall stayed at 100% up to about 900K tokens, but counting three failed test runs across a session fell from 67% correct at about 20K tokens to 27% at about 600K. Truncating old turns cut accuracy at 2M characters from 49/60 to 9/60, while chunked compaction with scaledown/summarize raised it to 54/60 and cut average prompt tokens from 605K to 112K and cost per request from $0.224 to $0.041.
Why it matters
It offers concrete measurements of how long-context agents degrade and a tested compaction recipe with cost figures.
Source: OpenRouter Announcements · openrouter.ai