SIAgentNews.com
Ink and watercolour: picture for the story 'NVIDIA study suggests agents don't need massive context windows'
ResearchAI-made ink and watercolour for this story. No real people or products are shown.
← All news
DevelopingResearch

NVIDIA researchers argue agents often do not need full context windows

NVIDIA researchers say shrinking live context kept agent scores close to full-history runs and cut estimated serving cost, though the paper is a preprint.

4 min readMade with AI

The short version

  • Tests covered SWE-bench Verified, TerminalBench 2.1, SWE-bench Multilingual, FRAMES, BFCLv3 and Tau2Bench.
  • Cost multiples for 256K versus 16K were about 3.6x for GLM 5.2 and 5.6x for Kimi K2.6.
  • Local DGX Spark runs showed later tokens taking roughly 2x longer on some checkpoints.
  • The preprint is not peer reviewed.
  • Depth penalty: At 256K context, a generated token costs about 7x more than at 16K for Qwen 3 Coder Next on the measured setup.

What the paper claims

NVIDIA researchers have posted a preprint on arXiv titled You don't need long context. It argues that autonomous agents often can work without the full context window that models advertise.

The paper tests a method called End-of-Context Compaction, or EoCC, on software-engineering and tool-agent benchmarks. The tests ran on Opus 4.5 and GPT 5.6 Sol. Shrinking the live context frequently kept scores within a few points of full-history runs, while estimated serving cost fell by multipliers in the 2x to 9x range on tested configurations.

The authors also sketch semantic state space models, or SSSMs. In these, agents hold their state outside an ever-growing KV cache. The report says SSSM is not a new NVIDIA SKU, but a label for notes, structured memory and retrieval that sit outside the transformer window. It links the idea to hierarchical caching in SGLang v1.0, distributed KV for agents in AWS Elasticache, and Zyphra hierarchical attention research. The report says all of these tackle memory economics, not raw window length alone.

Why it matters

If you pay for agent runs on long sessions, the paper suggests session length may drive part of your bill, not only the model you pick. It also gives a way to test shorter context before buying a larger tier.

Why depth makes tokens pricier

The abstract starts from a serving fact: tokens late in a long prompt cost more to generate than early ones. By the authors' accounting, frontier open-weight models show gaps of up to about 7x. The explainx.ai report ties this to attention over a growing KV cache.

Figure 1 charts what the cloud charges to generate 1M output tokens as the input KV cache grows, on open-weight deployments. A 256K context costs about 3.6x more per generated token than a 16K one for GLM 5.2. The multiple is 5.6x for Kimi K2.6 and 7x for Qwen 3 Coder Next. The prices come from H100 capacity on Nebius on-demand, and the caption says September 2026.

Figure 2 covers coding models run locally on NVIDIA DGX Spark. It measures inter-token latency, throughput and memory against input length. On some checkpoints, tokens late in a prompt can take roughly 2x as long as early ones.

How compaction works in the tests

EoCC changes an agent harness. When dialogue or tool traces near a total context budget, the system summarizes or drops older material by rules in the appendix. Then it carries on with a shorter working context.

The tests lowered limits step by step. On coding benchmarks the paper used total context and compaction thresholds of 48K/36K, 32K/24K, 24K/18K and 16K/12K. Tau2Bench went down to 8K/6K. The suites were SWE-bench Verified, TerminalBench 2.1, SWE-bench Multilingual, FRAMES, BFCLv3 and Tau2Bench.

The explainx.ai report compares this to patterns people already use, such as Claude Code /compact, Cursor summarization, SparseRead-style reading layers and harness-side session pruning. The difference here is that the authors attach scores and dollar estimates.

A small detail: The paper's introduction compares famous books, with token counts in the tens of thousands to low hundreds of thousands, against context windows of 200K to 1M+ on shipping models.

One action per context

The SSSM section reports that performance on long-horizon software engineering does not collapse even when an agent takes at most one action per context reset, in the authors' setup. The explainx.ai report calls this a strong claim for harnesses that reset often.

The paper says compaction can lose details unless the full history can still be fetched from disk, git or search. The explainx.ai report suggests compacting on a schedule, with thresholds near 75 to 80 percent of a provider limit. It also suggests keeping files, tickets and command logs that the model can re-read. For local stacks, it suggests pairing compaction with vLLM vs SGLang tuning so shorter prompts shrink the KV footprint on GPU.

Limits and the other side

The paper is a preprint and is not peer reviewed. Single-run variance is not fully quantified with confidence intervals in the main text. The headline numbers use Opus 4.5 and GPT 5.6 Sol, so other model names may differ.

Long-input RAG is a different problem from multi-hour agent traces, and million-token tiers still matter for one-shot document question answering. The report also notes that NVIDIA sells inference optimization and competes on dollars per token, while cloud vendors sell larger context tiers. It adds that compaction quality depends on how faithful the summarizer is.

What to watch next

The explainx.ai report urges teams to measure cost per successful task, not cost per token, because the paper's multiples are task-level serving estimates. It also suggests testing compaction and prompt caching together on one agent suite before choosing a 1M context tier for a team. It ties shorter resident context to latency, and points to explainx.ai guides on MLX local inference and Scott Hanselman's GPU task tooling.

The report does not say how results hold up with other models or under peer review.

The questions people ask

What it means for you

A developer or FinOps lead running coding agents on long sessions should care, since the paper ties cost to context depth.

Who gains

The authors say compaction kept scores near full-history runs while cutting estimated serving cost by 2x to 9x on tested configurations.

How solid is it

Mixed. The evidence is the authors' own benchmark runs and cost estimates in a preprint. It is not peer reviewed, and variance is not fully quantified.

What you can do

Run compaction on your own agent suite and compare cost per successful task. Keep a retrieval path so summaries do not drop details.

What to watch

  • Will peer review or confidence intervals confirm the cost and score results?
  • Do the findings hold on models other than Opus 4.5 and GPT 5.6 Sol?
  • Does retrieval plus compaction beat monolithic context on a given corpus?
Up nextA new test measures how AI agents perform as teams, not just alone
Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

The reporting and documents this story is built from. Each link opens the original.

Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake? Corrections.

More AI news