Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

"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…

Published Read the original
"You don't need long context": frequent compaction keeps accuracy with short contexts

Why it matters

For agent builders, aggressive context compaction may cut cost substantially without hurting quality.

What happened

1 min read

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 software-engineering tasks, performance does not collapse, leading the authors to propose semantic state space models (SSSMs).

inscraper analysis

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.

More in Research