arXiv AI By Muhammad Zia Hydari, Raja Iqbal

The Token Not Taken: Sampling, State, and the Stochasticity of AI Agents

Read the original on arXiv AI →

arXiv:2606. 08998v3 Announce Type: replace Abstract: Agentic AI systems can behave differently across runs: the same request may produce a different plan, a different tool call, a different code edit, or a different final answer.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Oct 5

How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks

The paper presents a systematic study of token consumption in AI agents performing coding tasks. It finds that agentic tasks are far more expensive—about 1000 times more tokens than code reasoning or chat—primarily due to input tokens, and that token usage varies wildly, with accuracy peaking at moderate costs. Models differ significantly in efficiency, and current frontier models cannot reliably predict their own token usage, often underestimating it.

By Longju Bai, Zhemin Huang, Xingyao Wang, Jiao Sun, Rada Mihalcea, Erik Brynjolfsson, Alex Pentland, Jiaxin Pei
arXiv Computation and Language
Nov 6

How Do AI Agents Waste Your Money?

The paper presents a unified framework for measuring token waste in AI agents. It records agent trajectories, uses an LLM-as-a-Judge to identify removable text spans, and validates the waste by removing those spans and observing task outcomes. Experiments show that 41‑46% of reasoning tokens can be pruned with minimal performance loss across two benchmarks, revealing that token waste varies by task, agent setting, and harness rather than model alone.

By Huimin Zeng, Yuxuan Lu, Jesse Cai, Eric Hanchen Jiang, Di Wu, Po-Nien Kung, Wenbo Hu, Ziyi Wang, Dakuo Wang, Jiaxin Pei, Kai-Wei Chang