Two minutes of review cost €1.20 in the example, at €36 an hour. The three model calls on the same task cost €0.060 of input and €0.024 of output. External tools add €0.060, execution €0.020. The started task comes to €1.364. The figures are illustrative assumptions, not current prices.
The model bill shows you the €0.060 and the €0.024. Tools, execution and the review sit on other bills. Leave those off, and of the €1.364 only the two token lines remain.
Five blocks on one bill
| Category | Include | Common omission |
|---|---|---|
| Model | Input, output, caching and any other billed usage | Counting only the final call |
| Tools | Search, OCR, data access, external APIs | Charges appear on another invoice |
| Execution | Compute, sandboxes, storage, queues | Long runtimes and orphaned processes |
| People | Review, exceptions, corrections | Unrecorded “just two minutes” |
| Operations | Monitoring, debugging, maintenance and allocated implementation | Treating a working prototype as finished |
For a simple token tariff, each call costs input tokens / 1,000,000 × input price + output tokens / 1,000,000 × output price. Add every call and every service billed separately. Cache and specialist tariffs may not fit this short formula. Check with the provider which usage types are actually billed.
In the example, review costs €1.20
Fictional calculation, not provider prices: One task requires three calls totaling 30,000 input and 3,000 output tokens. Assume €2 per million input tokens and €8 per million output tokens.
| Item | Cost per started task |
|---|---|
| Input: 30,000 / 1,000,000 × €2 | €0.060 |
| Output: 3,000 / 1,000,000 × €8 | €0.024 |
| External tools | €0.060 |
| Execution | €0.020 |
| Two minutes of review at €36 per hour | €1.200 |
| Total | €1.364 |
Starting 1,000 tasks costs €1,364. If 900 are accepted, that is 1,364 / 900 ≈ €1.52 per accepted result. Accepted means it meets the brief and someone then uses it. This assumes rejected tasks also incurred the stated costs. Any rework beyond those two minutes must be added.
The full ratio is all attributable costs / accepted results. If no result is accepted, you cannot calculate a useful cost per result. Report the money spent and the number of failed tasks.
Average cost hides the expensive runs
A low average can hide a long research run. When most tasks stay short, one expensive run barely moves the mean. For each task, write down total cost, call count, duration and outcome. Next to the average, keep the 95th percentile, the threshold below which about 95% of observed costs fall. It is not a guaranteed ceiling, and it is unstable on a small sample.
A retry needs a reason. A temporary connection failure can justify another attempt. Requesting the same incorrect answer again, with no new information, often just adds another charge. Before you repeat a tool call that writes, check whether the first action already went through.
Set the budget outside the model
Several tasks run at once, and each of them sees the same balance left. If you do not reserve it before the call, they can all allocate it. “Do not spend too much” in the prompt does not stop that. You set the limits outside the model: maximum call count, runtime, spend per task and total budget for the period. After the call, reconcile actual usage.
When the provider reports usage late, the limit can be crossed if you did not reserve up front. Decide the exit as well: stop, hand the task to a person, or continue with a cheaper method. A limit with no exit leaves half-finished work.
Cheaper only counts on the same tasks
A cheaper run that needs more repair by hand has not saved you anything. Compare each change on the same tasks. Work in this order: remove unnecessary steps, select relevant context, cache reusable data, handle simple tasks more cheaply, and escalate the remaining exceptions selectively.
AI Agents That Matter weighs cost and performance together. You work out in the ROI calculation whether the cheaper process is a positive business case.
Further reading by level
| Source | Type | Level | What for |
|---|---|---|---|
| AI Agents That Matter | Research paper, 2024 (Kapoor, Stroebl, Siegel, Nadgir, Narayanan) | Intermediate | Calls for evaluating cost and accuracy together and holding out test data; the basis for the quality comparison on savings. |
| Building effective agents | Vendor guide | Beginner | Architecture decisions and the price of added complexity; vendor perspective. |
| A practical guide to building agents | Vendor guide (PDF) | Beginner | When an agent justifies the extra cost over a fixed process; vendor perspective. |
| τ-bench | Research paper, 2024 | Advanced | Shows why repeated attempts cost money: an agent that only passes occasionally creates rework. |
| Stanford AI Index 2026: 12 takeaways | Annual report | Beginner | Market overview and context for investment and use; no substitute for your own calculation. |
On profitability: How to actually measure AI agent ROI. On failure causes: Why AI agent projects fail.
Sources:
- AI Agents That Matter — evaluate agent costs and quality together.
- Building effective agents — architecture choices and the cost of additional complexity; a provider perspective.
- All euro amounts are original illustrative assumptions, not current prices.
Continue reading
- ROI including implementation and realized benefits
- Diagnose agent failures
- Geld 2.0 — monetary background.