How Much Does an AI Agent Cost? What 285,000 Tool Calls Showed
Run agents? ACP lets you see, control, and price every tool call they make — allow/ask/deny policy, per-session cost, and a full audit log for Claude Code, Cursor, Codex, and OpenClaw, in one command:
curl -sf https://agenticcontrolplane.com/install.sh | bash
irm https://agenticcontrolplane.com/install.ps1 | iex
Getting started → · see your first governed call → · free up to 5 agents
“How much does it cost to run an AI agent?” is the question every team asks once the prototype works and the bill arrives. Most answers online are ranges, like “$5K to $180K,” because most people writing them are estimating.
We don’t have to estimate. Agentic Control Plane checks the tool calls a coding agent makes through the harness’s hooks, and prices the model calls it sees. This is a teardown of 285,814 calls across 96 workspaces, as of July 2026. Every chart is regenerated from the raw export by a checked-in script.
The short answer: tool calls are nearly free. The bill is the agent loop, which is part of the harness wrapped around the model. One frontier model drove 77% of the spend on 30% of the model calls. The cheapest model made 40% of the calls for 0.2% of the bill.
All of this is from our own workspaces, not customer data. It is the full corpus, no sampling, priced at API rates. Most of the frontier-model traffic was billed to a subscription, not to us. The split is in the methods note at the end.
1. The tools are almost free
93% of calls never touch a model. They read files, grep, edit, and run git. Calls that cost money are green:
llm.chat.Very little of that chart is green. Reading a file or listing a directory shows up in your logs and makes up most of the volume, but it costs close to nothing. One green bar, the coding-agent proxy, carries nearly all of the $2,743. If you count tool calls to estimate cost, you are counting the wrong thing.
2. The model calls carry the bill, and a few models carry most of it
Take away the free I/O and what’s left is $2,742.65 over 19,506 model calls:
| Model | Calls | Spend (@ API rates) | Per call |
|---|---|---|---|
| Claude Fable 5 | 5,929 | $2,098.48 | 35.4¢ |
| Claude Opus 4.8 | 2,808 | $608.03 | 21.7¢ |
| Gemini 2.5 Pro | 2,849 | $24.64 | 0.86¢ |
| Gemini 2.5 Flash | 7,752 | $5.87 | 0.08¢ |
Fable 5 was 30% of model calls and 77% of the spend. With Opus, the top tier is 45% of calls and 98.7% of the bill. Flash made 40% of the model calls for 0.2% of the spend. A Fable call costs 467 times a Flash call. When we first published this in April, the leading model was Sonnet at 7.6% of calls and 80% of spend. The models changed and the concentration stayed.
So agent cost is not a flat per-call number you can multiply out. A handful of calls on a frontier model make up most of it.
3. The money is in the loop
Group the same spend by what the model call was doing:
| Surface | Calls | Spend |
|---|---|---|
| Coding-agent loop (via proxy) | 8,826 | $2,711.59 |
Product-agent loop (llm.chat) |
6,144 | $19.53 |
Scheduled-agent loop (agent_run) |
3,878 | $8.54 |
| Context management | 332 | $2.19 |
| Everything else (leaves) | 326 | $0.80 |
97% of the spend is the agent loop: $2,668 of $2,743. An agent doesn’t make one model call. It makes a chain of them, and on most turns it re-reads the whole growing context (system prompt, tool results, transcript) before choosing the next tool. That re-reading is why a 12-turn agent on an expensive model costs what it does.
We tag every call as callKind: loop (the model steering tools, turn by turn) or leaf (a single sub-task call). A flat token total can’t tell them apart, and the loop is the part you can change.
4. You need cost per agent and per call
The obvious lever is to run the loop on a cheaper model and keep the expensive one for the sub-tasks that need it. Fable 5 on the loop is the most expensive choice in this dataset. For many orchestration turns, a cheaper model is good enough.
You can only pull that lever if cost is attributed per agent, per call, loop or leaf. A monthly invoice can’t say which agent’s loop is the problem. Each call ACP sees carries its model, its callKind, its estimated cost, and the agent it belongs to. That attribution is the core of AI agent cost monitoring.
Cost also varies run to run. Run the same agent fifty times and the cost depends on how many loop turns it took. So we show p50 and p95 next to the average, because the average hides the runs that hurt.
Three numbers to keep
- 93% of calls are free tool I/O. Counting tool calls tells you about activity, not cost.
- One model was 77% of the bill on 30% of the calls. The top tier was 99% of the bill on 45% of the calls. Model choice on the loop is your biggest lever.
- 97% of spend is the loop. Look at the orchestration, not the final answer.
You can get the same breakdown for your own agents. Sign in and the cost X-ray is in your dashboard. For model spend on harnesses other than Claude Code, launch through the installer’s launcher (for example codex-acp), since a plain launch records tool calls but not the model spend behind them. For how the checks work, read what an agentic control plane is.
Every number came from our own internal workspaces, not customer data. These figures are a 2026-07-12 snapshot of the full corpus, regenerated by a checked-in script from the raw export. Spend is priced at API rates. Of that, $34.80 was billed to our workspaces and the rest was caller-billed subscription traffic metered through the proxy. We never add the two anywhere except this teardown’s “what would this cost” framing, where API-rate pricing is the point. An earlier version of this post (April 2026, 210,840 calls) told the same story with Sonnet 4.5 in the leading role.