"You don't need long context": frequent compaction keeps accuracy with short contexts
The paper finds later tokens can cost up to 7x more to generate on frontier open models, and that with frequent compaction frontier LLMs lose little to no accuracy across long-horizon and long-input tasks. Even with at most one action per context on long…
Why it matters
For agent builders, aggressive context compaction may cut cost substantially without hurting quality.
What happened
1 min readThe paper finds later tokens can cost up to 7x more to generate on frontier open models, and that with frequent compaction frontier LLMs lose little to no accuracy across long-horizon and long-input tasks. Even with at most one action per context on long software-engineering tasks, performance does not collapse, leading the authors to propose semantic state space models (SSSMs).
Our analysis
Only the abstract is available, so the experiments and models can't be judged. The finding fits practical experience with compaction in tools like Claude Code, but the title claims more than the abstract supports. Teams running long agent loops should test more aggressive compaction on their own tasks.