Agent Economics

How Many Tokens Is Your AI Agent Wasting?

5-min read

AI agents burn massive tokens, but how many of those tokens are actually necessary?

To answer this question, we examined about 2,700 agent trajectories across 6 models and 4 benchmarks. Among the output tokens that we could audit, roughly 18% were potentially unnecessary. Moreover, on more than 45% of the tasks, the wasted output of one agent alone was larger than the entire output of another agent that also solved the same task.

The figure below makes these numbers concrete by comparing Claude Sonnet-5 and GPT-6-Astra on one SWE-bench Verified task. Both agents solved the task, although Claude Sonnet-5 took 72 turns to GPT-6-Astra’s 16 and wrote 24,623 output tokens to GPT-6-Astra’s 14,279. Of the 13,559 tokens of replies and tool calls that Claude Sonnet-5 wrote, the judge marked 8,606, or 63%, as wasted, and the figure colors them by the type of waste, which we define later in this post. These 8,606 wasted tokens alone exceed all 6,981 tokens of replies and tool calls that GPT-6-Astra wrote, of which only 1,958, or 28%, were wasted. Before asking what such waste costs in dollars, we first explain how wasted tokens are identified and counted.

sonnet-572 turnsgpt-6-astra16 turnsturn →
wasted as restatedwasted as duplicate-fetchwasted as paddingwasted as detourthe rest of that turn’s outputtaller than the axis

How this was measured

We identify wasted text with an LLM that acts as a judge. The judge reads each trajectory from start to finish, together with the task that the agent was asked to accomplish, and it marks as wasted any text that could be deleted without affecting the task. In addition, the judge assigns each marked span to one of the four waste types that we describe later in this post.

After the judge has marked a trajectory, our analysis framework deletes the marked text and counts the tokens again, so that the difference between the original and the cleaned trajectory gives the number of wasted tokens. From these token counts, we then compute both the total cost and the cost of waste.

As a check on these counts, we also count or estimate the tokens of the marked text with the available tokenizers and token-counting tools, and we compare our totals against the output tokens that each provider actually billed. For providers with structured tool calls, we first reconstruct each call in its native format before counting it. As a result, our reconstructed counts closely match the bill, apart from small formatting differences that are specific to each provider.

How much of the output bill is wasted?

With wasted tokens identified in this way, we can now ask how much of the output bill they represent. Throughout this post, we measure waste in the responses and tool calls of each model, the one stream every model exposes. kimi-k3 is the only model that returns its full reasoning, so its reasoning gets a row of its own at the bottom of the chart rather than being pooled with its replies. For each model, we then divide the cost of its wasted output by the cost of all of its audited output, and we average this waste ratio across the four benchmarks.

As expected, the waste ratio varies substantially across models, and for all six models, failed trajectories waste a larger share of their output than successful ones. The gap is a few points, however, and kimi-k3’s reasoning reverses it: its successful trajectories waste more of it than its failed ones. For this reason, waste cannot be explained as a simple consequence of task failure.

Waste RatioSolved vs failed trajectories
sonnet-524.9%solvedfailed
gemini-3.1-pro17.9%solvedfailed
kimi-k317.6%solvedfailed
gpt-5.6-terra15.0%solvedfailed
fable-5.114.4%solvedfailed
gpt-6-astra11.0%solvedfailed
kimi-k3
(reasoning tokens)
26.6%solvedfailed

Less waste, less success?

Since failure alone does not explain waste, a natural next question is whether waste buys success. When we compare the waste ratio of each model with its success rate, however, we find no clear trade-off between the two, and in several benchmarks the models with less waste even achieve higher success rates. Taken together, the results suggest that agents can reduce waste without giving up performance.

0%5%10%15%20%60%70%80%90%100%waste ratio → more wastedsuccess rate → more solved5.16

Where are the tokens wasted?

If waste does not buy success, the next step is to see what the wasted tokens actually contain. Across the trajectories, the judge’s marks fall into four systematic patterns, which the cards below describe with an example of each.

With these four patterns defined, the grid below shows how the waste in responses and tool calls divides among them for each of the 6 models. Although the distributions differ, detours dominate the waste across almost all of them, because a large part of agent waste comes from exploring unfamiliar tools and environments, where agents often need to try several paths before they find one that works. As such exploration only has to be paid for once, capturing reusable patterns and knowledge about the environment appears to be the most promising way to cut agent waste.

restated
duplicate-fetch
padding
detour
kimi-k3
13%
4%
41%
42%
gemini-3.1-pro
4%
19%
7%
70%
gpt-5.6-terra
14%
4%
28%
55%
sonnet-5
14%
6%
18%
62%
fable-5.1
17%
3%
42%
37%
gpt-6-astra
17%
6%
26%
52%

Which agentic tasks waste the most?

Exploration depends on the environment, so we next break the waste down by benchmark. Waste varies much more across agentic benchmarks than across models, and mcp_atlas wastes the most. The tasks in mcp_atlas are usually open-ended and involve a large set of unfamiliar tools and environments, so that the audited trajectories called 116 distinct tools, and the agents had to work out which tools and sources were needed before they could complete the tasks.

Overall, the differences across benchmarks suggest that agent waste depends more on the task, the tools and the environment than on the choice of model. For the same reason, more structured tool repositories or graphs that link tools to environments could help agents navigate large tool spaces more efficiently and avoid unnecessary exploration.

tau2-airline
tau2-retail
mcp_atlas
claw_eval
swe_verified
kimi-k3
15%
16%
35%
19%
22%
gemini-3.1-pro
9%
6%
21%
21%
22%
gpt-5.6-terra
7%
3%
23%
5%
27%
sonnet-5
16%
11%
38%
19%
29%
fable-5.1
13%
10%
25%
10%
11%
gpt-6-astra
2%
3%
21%
7%
13%
all models
10%
8%
27%
14%
21%

Do longer runs waste more?

Given that long and exploratory tasks waste the most, one might expect longer runs to waste more in general. We test this expectation by analyzing the relationship between context size and waste within each model, and we find that longer contexts do not necessarily lead to more waste. Across models and benchmarks, runs with larger contexts can waste more, less or roughly the same share of their output, and the relationship therefore depends strongly on both the model and the task.

Moreover, some of the waste patterns identified earlier can themselves make the context larger. For instance, detours and repeated fetches keep adding content to the trajectory, which significantly increases the context size. As a result, a larger context is often a consequence of waste, and it should not be read as its cause.

For these reasons, it may be more effective to reduce waste with strategies that fit each task and agent setup, instead of uniformly forcing agents into shorter trajectories.

Average over

Besides context size, the length of a trajectory can also be measured by its number of turns. Under this measure, as the figure below shows, there is again no single pattern of how waste changes over a trajectory, just as we observed with context size. Accordingly, it may be more effective to apply different strategies at different stages of a run, instead of uniformly constraining the entire trajectory.

Cut the run into

Summary

In summary, we audited about 2,700 agent trajectories from 6 models on 4 benchmarks, and roughly 18% of the audited output tokens were unnecessary. Moreover, on more than 45% of the tasks, the waste of one agent alone exceeded the entire solution of another. Four findings stand out from these results.

Less waste does not cost success. We found no clear trade-off between waste and performance, and in several benchmarks the models with less waste even achieve higher success rates. In addition, failed trajectories tend to waste more, since for six of the six models they have a higher waste ratio than successful ones.

Most waste is detour. The largest share of waste comes from exploring unfamiliar tools and environments before finding what works, whereas restating, padding and duplicate fetches are smaller.

The task matters more than the model. Waste varies more across benchmarks than across models, and the open-ended, tool-heavy tasks of mcp_atlas waste the most.

Longer runs carry no consistent waste pattern. Neither a larger context nor a later turn predicts more waste, and a large context is often a result of waste instead of its cause.

Authors

Notes
  • kimi-k3 is the only model that returns its full chain of thought, so its reasoning is audited and counted with its output. The other models bill for reasoning but return at most a provider-written summary, which is not authentic model reasoning. Therefore, the 7.20M billed reasoning tokens from other models are not used to calculate the waste in this post.
  • Replies and tool calls longer than 8,000 characters were cut before being sent to LLMaJ. 74 of 41,729 turns encountered this cut in our experiments.
  • Each cell is 50–103 trajectories sampled by a hash of the task id, plus top-ups for length, difficulty and task type.
  • claw_eval covers the 161 tasks in tasks_general/, instead of the full scale of 461 tasks.