Agents Still Burn 58% of Tokens After Failing
MaverikSh · reddit · 2026-07-14
A cited trace study reveals that in failed agent runs, about 58% of tokens are consumed after the model has already shown explicit signs of failure. This indicates the issue lies not just in model capability, but in the runtime control architecture.
The author argues that many cost controls are implemented only at the billing level, acting as post-event alerts that cannot stop a task from rapidly burning money. Truly effective approaches should:
- Reserve budgets at the run level rather than just checking single calls
- Use runid as a unified billing key so concurrent sub-agents share the same budget limit
- Set abort thresholds for repeated identical tool calls (e.g., stop if the same parameters are used 3 times consecutively) to avoid burning tokens in loops
The post specifically notes that concurrency worsens the problem: even if each sub-agent looks reasonable individually, the overall system can overspend without any single call crossing the line.
More from coding & agent
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11