PapersSelected

UT Austin study finds token compression can slow coding agents

Why we picked it

The counterintuitive takeaway is that a compaction policy tuned to minimise tokens can raise total latency and cost, since extra model calls eat the savings. Agent builders should measure latency and cost per model before adopting a policy, rather than copying one that worked elsewhere. The paper is on arXiv (2609.32961) with a companion Chat-with-Paper tool at academy.dair.ai.

Researchers from UT Austin ran nearly 35,000 agent runs on SWE-bench Verified and Terminal-Bench, varying how context is compressed, when compression triggers, and how much is removed.

Body

On Terminal-Bench with Qwen, policies that keep about a third of the tokens took 20% to 80% longer than keeping full context.

Step-triggered policies cut the most tokens per step but required 10% to 27% more model calls, while threshold-triggered policies cut tokens by 22% to 55% with call counts close to full context.

Results also differed by model: a policy that worked for Qwen dropped Devstral to 38.7% and made it slower.

Original · elvis

Great overview of context compression in LLM Agents And one interesting, unexpected finding. If your compaction policy is tuned to cut tokens, it may be making your agent run slower. Great study from UT Austin on context compression in coding agents. They ran nearly 35,000 agent runs on SWE-bench Verified and Terminal-Bench and varied three decisions separately. These are how context is compressed, when compression triggers, and how much is removed. On Terminal-Bench with Qwen, policies that use about a third of the tokens can take 20% to 80% longer than keeping full context. Step-triggered policies cut the most tokens per step but need 10% to 27% more model calls. Threshold-triggered policies cut tokens by 22% to 55% with call counts close to full context. Results also differ by model. A policy that works well for Qwen drops Devstral to 38.7% and makes it slower, so measure latency and cost per model before choosing one. Paper: arxiv.org/abs/2609.32961 Chat with Paper: academy.dair.ai/papers/beyond-…📊 13 ⚡

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Qwen, Devstral, SWE-bench, agents.

Source attribution: curated from elvis (@omarsar0).