Skip to main content
Loading…
AS Albert Schaper
  • 01Home
    • Profile & Career
    • Expertise
    • Overview
    • Results
    • Technical Depth
  • 04Projects
  • 05Contact
  • 06Insights
  • 07Tools
AS

Albert Schaper

01Home
Profile & CareerExpertise
OverviewResultsTechnical Depth
04Projects05Contact06Insights07Tools

AI · Finance · Entrepreneur

Home / Insights / What an AI Agent Actually Costs
Insights

What an AI Agent Actually Costs

Tokens are only one cost item. Calculate tool calls, retries, human review and operations per accepted result, with a transparent worked example.

By Albert Schaper AI Expert & Entrepreneur
5 September 2026 ·Updated 10 November 2026 AI AgentsFinance
Auf Deutsch lesen LinkedIn X
The short version, in 30 seconds
  • Tokens are only one cost line. Tools, execution, human review and operations come on top.
  • What matters is the cost per accepted result, not per call: all attributable costs divided by accepted results.
  • In the fictional example two minutes of review account for €1.20 of €1.364 per case; tokens only about €0.08. The amounts are assumptions, not vendor prices.
  • Averages hide outliers. Also track the 95th percentile of cost.
  • Budget limits belong outside the model: enforce call, time and spend limits technically and compare savings on the same tasks.
Contents
  • Five blocks on one bill
  • In the example, review costs €1.20
  • Average cost hides the expensive runs
  • Set the budget outside the model
  • Cheaper only counts on the same tasks
  • Further reading by level

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

CategoryIncludeCommon omission
ModelInput, output, caching and any other billed usageCounting only the final call
ToolsSearch, OCR, data access, external APIsCharges appear on another invoice
ExecutionCompute, sandboxes, storage, queuesLong runtimes and orphaned processes
PeopleReview, exceptions, correctionsUnrecorded “just two minutes”
OperationsMonitoring, debugging, maintenance and allocated implementationTreating 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.

ItemCost 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

SourceTypeLevelWhat for
AI Agents That MatterResearch paper, 2024 (Kapoor, Stroebl, Siegel, Nadgir, Narayanan)IntermediateCalls for evaluating cost and accuracy together and holding out test data; the basis for the quality comparison on savings.
Building effective agentsVendor guideBeginnerArchitecture decisions and the price of added complexity; vendor perspective.
A practical guide to building agentsVendor guide (PDF)BeginnerWhen an agent justifies the extra cost over a fixed process; vendor perspective.
τ-benchResearch paper, 2024AdvancedShows why repeated attempts cost money: an agent that only passes occasionally creates rework.
Stanford AI Index 2026: 12 takeawaysAnnual reportBeginnerMarket 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.
More Insights
  • AI Agents

    How to Actually Measure AI Agent ROI

    A worked ROI calculation covering the baseline, review effort, realized time savings and payback, followed by a practical pilot measurement plan.

  • AI Agents

    Hermes or OpenClaw: The Agent That Stays On

    You want an agent on a machine that stays on. OpenClaw is the gateway. Hermes is the worker runtime, with an optional hosted agent. Hosting, skills and day-to-day checks differ.

  • AI Agents

    AI Agent Wallets: Protect Keys and Enforce Spending Limits

    Protecting a key does not prevent a bad payment. A practical architecture, spending policy, adversarial tests and incident-response sequence.

Albert Schaper
About the author

AI expert and entrepreneur with a finance background and a focus on execution. I support companies as a partner and partly with own capital, mainly on strategy, financing and sales, and advise teams on putting AI to work. LinkedIn

← All Insights
AS

AI · Finance · Entrepreneur

Navigation

HomeAboutExpertiseProjectsContactInsightsTools

Projects

Best-AI.orgBitAutorGeld 2.0Pharmaceutical company

Tools

ETH Unit ConverterAddress ValidatorQR Code GeneratorSeed Phrase ValidatorWallet Generator

© Albert Schaper. All rights reserved.

Privacy / Imprint