How Do AI Agents Waste Your Money?
Huimin Zeng, Yuxuan Lu, Jesse Cai, Eric Hanchen Jiang, Di Wu, Po-Nien Kung, Wenbo Hu, Ziyi Wang,
Key points
From the paper's conclusion- Overall, our framework transforms token waste into an actionable optimization signal, enabling researchers and practitioners to train more efficient models, design better reasoning strategies, and optimize agent harnesses toward reducing unnecessary computation rather than merely reducing token usage.
Abstract
AI agents may consume massive tokens across a wide range of tasks, but how many of those tokens are really necessary? Although prior work has shown that agents can incur unexpectedly high token costs, we still lack a systematic way to identify and measure token waste. In this work, we introduce a unified framework for measuring token waste across heterogeneous agent systems. Our framework records and normalizes complete agent trajectories, identifies removable spans using an LLM-as-a-Judge (LLMaJ), and maps the identified text spans back to the original trajectory for token-level measurement. We validate the identified waste through direct interventions by removing marked spans, resuming agent execution, and measuring changes in task outcomes and subsequent actions. In online pruning experiments, we remove 41-46% of the model's reasoning while largely preserving task performance across two distinct agent benchmarks. Using this framework, we analyze agents across multiple settings. Our analysis shows that token waste has a system-level structure that aggregate token usage alone cannot reveal. First, waste varies more across tasks and agent settings than across models. Second, reasoning and visible execution can exhibit different waste patterns. Third, different harnesses can introduce distinct sources of inefficiency even under the same model and task. Overall, our framework transforms token waste into an actionable optimization signal, enabling researchers and practitioners to train more efficient models, design better reasoning strategies, and optimize agent harnesses toward reducing unnecessary computation rather than merely reducing token usage.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Rethinking Agent Trajectory Compression: A Workflow-Aware PerspectivearXiv · 2026
- Total Cost of Agency: Exact Attribution of Memory Injection Cost in Multi-Agent LLM WorkflowsarXiv · 2026
- ComputeWise: Measuring and Fixing GPU Waste by AI Research AgentsarXiv · 2026
- Reducing Cost of LLM Agents with Trajectory ReductionProceedings of the ACM on software engineering. · 2026
- Token-as-a-Utility: A Model-Agnostic Architecture for Metering and Provisioning AI Inference ServicesarXiv · 2026
- TRACER: Per-Tool Context Retention for LLM Agents via Consequence-Attributed Reinforcement LearningarXiv · 2026