NVIDIA paper: frequent context compaction keeps agent accuracy while cutting serving cost up to 7x

rohanpaul_ai · x · 2026-11-05

A new NVIDIA paper, "You don't need long context," shows per-token generation cost rises sharply with context length: serving open-weight models at 256K context costs 3.6x-7x more per generated token than 16K (measured on GLM 5.2, Kimi K2.6, Qwen 3 Coder Next at H100 on-demand pricing).

The fix: have agents stop at a set limit, write a short handoff note, and restart with only the task and that note; for long documents, search files with Bash tools instead of reading everything.

Across 6 long-horizon benchmarks, at most 5 of 22 compaction settings per model lost more than 2 points versus full history. Compacting after every action kept Claude Opus 4.5 at 70.2% on SWE-bench Verified vs 70.0% with full history. The authors question the need for long-context LLMs and outline "semantic state space models" (SSSMs).

Related event: NVIDIA paper argues agents don't need long context, frequent compaction preserves accuracy(5 posts)→

Original post →

More from Infra

Infra channel →