TEARDOWN Nº 5 / FIELD NOTES
Four months of a coding agent, measured
PUBLISHED 2026-08-14 · BY Llorenç Ballester — Chief Burn Officer
Every other teardown on this site is arithmetic over published prices. This one is a measurement. A team let us take their complete coding-agent history — 18,700 messages between 2026-04-07 and 2026-08-12 — and the interesting number was not the bill. It was that 35 out of every 36 tokens the agent processed had already been sent before.
2.35B tokens of context across 18,700 agent messages in 4 months. Only 65.9M of that was new — 34.6 cached tokens for every fresh one, each cache write read back about 4,642 times. Priced against our board, the same work runs from $4.40 to $826 a month depending on model — and turning caching off multiplies it by ~7.2x. The cache is doing more for the bill than the model choice is.
What we measured
One team handed over their full local history from a terminal coding agent — every message, with its token breakdown. We aggregated it by day and model and kept only counters: no prompts, no file paths, no project names. What follows is that aggregate.
The ratio that decides the bill
2.28B tokens were served from cache against 65.9M sent fresh. That is not a rounding detail, it is the workload: an agent re-reads the same project context on every step of every task, and the only reason four months of it is affordable at all is that almost none of that re-reading is billed at full price.
The efficiency figure is the one we did not expect: every cache write was read back about 4,642 times. Providers describe caching as paying off after one or two reads. At four thousand, the write premium has stopped being a consideration at all.
What the same work costs, by model
We are deliberately not publishing what this team actually paid — a good part of their traffic ran on subsidised gateway models, so their invoice says more about their routing than about the work. The useful question is what this volume of work would cost on each model we track, with the caching behaviour they actually had, and without it.
| Model | 4 months | Per month | If nothing cached | Cache is worth |
|---|---|---|---|---|
| DeepSeek V4 Flash | $18 | $4.40 | $330 | 18.8x |
| DeepSeek V4 Pro | $43 | $11 | $1,026 | 23.8x |
| GPT-5.6 Luna | $67 | $17 | $478 | 7.1x |
| GPT-5 Mini | $88 | $22 | $601 | 6.8x |
| Gemini 3.5 Flash Lite | $106 | $27 | $722 | 6.8x |
| Gemini 3 Flash | $168 | $42 | $1,194 | 7.1x |
| Gemini 3.7 Flash | $247 | $62 | $1,786 | 7.2x |
| Claude Haiku 4.5 | $330 | $83 | $2,381 | 7.2x |
| Gemini 3.6 Flash | $494 | $124 | $3,572 | 7.2x |
| Gemini 3.5 Flash | $505 | $126 | $3,582 | 7.1x |
| Claude Sonnet 5 | $660 | $165 | $4,762 | 7.2x |
| Gemini 3.1 Pro | $674 | $168 | $4,777 | 7.1x |
| GPT-5.6 Terra | $675 | $169 | $4,777 | 7.1x |
| GPT-5.4 | $842 | $210 | $5,971 | 7.1x |
| Claude Opus 5 | $1,651 | $413 | $11,906 | 7.2x |
| Claude Opus 4.8 | $1,651 | $413 | $11,906 | 7.2x |
| GPT-5.5 | $1,684 | $421 | $11,942 | 7.1x |
| GPT-5.6 | $1,687 | $422 | $11,942 | 7.1x |
| Claude Fable 5 | $3,302 | $826 | $23,811 | 7.2x |
| Gemini Omni Flash | $3,582 | $896 | $3,582 | — |
Prices from the board, last confirmed 2026-08-14, recomputed on every deploy. Estimates at list prices, not invoices. A model with no published cached-input rate shows no multiple: we do not credit a discount that isn't published — see the methodology.
Two things stand out. Among the models that publish a cached-input rate, the spread is roughly 188x for identical work — the same argument as teardown #2, now with measured volumes instead of an assumed session. And the cache multiple is not uniform: most models sit near 7.2x, but DeepSeek V4 Flash reaches 18.8x because its cached reads cost about 1% of input rather than the ~10% everyone else charges. That is the same finding that made us rebuild our pricing data two days ago, showing up in a real bill.
The bottom of that table deserves its own sentence, because it is an absence of data rather than an expensive model. Gemini Omni Flash publishes no cached-input rate, so we bill the whole 2.35B of context at list — $3,582, the highest figure here. It may well cache perfectly well in practice. We cannot price what isn't published, and inventing a discount to make the table look tidier is exactly the thing this site exists to complain about. For a workload this cache-dependent, a provider that documents its caching rate is worth more than one that shaves a few cents off the sticker.
The half of the output nobody reads
4.1M of the 7.2M generated tokens — 57% — were reasoning. Billed at output rates, which are the highest rates on any price sheet, and discarded before a human sees them. On Claude Sonnet 5 that line alone is $41 of the $660 total.
We are not going to tell you to turn reasoning off — it is presumably why the agent works. The point is narrower: it is the majority of your generated tokens, most billing dashboards fold it into “output” without breaking it out, and you cannot manage a cost you cannot see. If your provider reports it separately, look at it.
What this changed in our own tools
Running this file through our own free audit is how we found out the audit was broken. It reported grade A, no signals on four months of heavy agent usage, because it measured context per request using only the uncached input — 3,524 tokens per message instead of the real 125,420. The better your cache, the blinder it got: precisely backwards. It now counts cache reads as the context they are, reads the reasoning column, and has regression tests built from this exact shape of data. If you audited an agent workload here before 2026-08-14 and it came back clean, run it again.
Method and limits
This is n=1. One team, one agent tool, one codebase, four months. It is not a survey and not an average, and we would rather publish one honest measurement than a fabricated benchmark. What we think generalises is the shape — a cache-to-fresh ratio in the tens, and reasoning as the majority of generated tokens — because both follow from how agents work rather than from this team's choices. The dollar figures are ours, computed from the board at list prices and recalculated on every deploy; the token counts are theirs, measured. We publish volumes and ratios only: their actual invoice and their model choices are their business, not our content.
If you run a coding agent and want to see your own numbers, the exporter we used is in the repo and the audit is free and runs entirely in your browser. We would like more than one data point — that is the honest reason this page exists.
Frequently asked questions
How much does an AI coding agent cost per month?
It depends far less on the model than on whether your context is cached. In four months of measured usage — 18,700 agent messages — the same token volume ranges from about $4 to $165 a month across the models we track, and turning caching off multiplies every one of those figures by roughly seven. Anyone quoting you a single monthly number for 'an agent' is guessing.
How much of an agent's tokens come from cache?
In this dataset, 35 tokens came from cache for every one sent fresh: 2.28 billion cache reads against 65.9 million uncached input tokens. Each cache write was read back roughly 4,600 times. That is what a long-running agent session looks like — it re-reads the same project context on every step.
Are reasoning tokens a big part of agent cost?
They were 57% of everything generated here — 4.1 million of 7.16 million output tokens were reasoning, billed at output rates and never read by a human. On a mid-tier model that single line is worth about the same as a month of the whole workload on a cheap one.
Is this representative of all coding agents?
No, and we won't pretend otherwise. It is one team, one tool, one way of working, over four months: n=1. What generalises is not the dollar figure but the shape — the cache-to-fresh ratio and the reasoning share are structural properties of how agents work, not of this team's preferences.
- AI Tokenomics: what tokens actually cost
- How much does ChatGPT actually cost per prompt?
- Prompt caching: the 90% discount most teams never claim
- Why your AI agent costs 10–40x more than a chat
- Why output tokens cost more than input
- Cut AI costs with model routing
- The cache minimum: why your prompt cache silently does nothing
- What a Cursor session costs, by model
- The tokenizer tax: a price rise with no price change
- The Sonnet 5 price cliff that never happened
- How to read your AI usage export
- → The Burnmeter: measure your own token waste