Analysis
Where an agent's bill goes
Fewer Research · 30 November 2026 · 5 min read
Most teams know what their agents cost in total. Few know what the money buys. We rebuilt every call of a plain coding agent from provider-reported usage to find out.
Finding
Five components explain 100% of the actual invoice. The largest is not the model thinking. It is the agent re-reading its own history: on every step, the whole conversation so far is sent again and billed as a cache read. Output, including reasoning, is a distant second.
Stuck runs are the expensive ones. In the first batch, the 3 runs the plain agent failed were 48% of its bill.
Method
Plain mini-swe-agent on 10 SWE-bench Verified tasks (pilot set), MiniMax-M2.5. For each call we took the usage fields the provider reported, applied the provider's prices, and summed by component. The components add up to the invoice.
Limits
One agent, one model and ten coding tasks. The shares will differ for support or research agents and for other providers, which is why the audit measures yours.
Cite this
Fewer Research, 30 November 2026. Where an agent's bill goes. fewer.run/research/cost-anatomy.html