AI product + finance / Framework + interactive model

What does an AI agent cost per successful task?

Calculate agent delivery costs with failed attempts, tools, human review, and fixed operating costs included.

By Utkarsh RuhelaPublished 4 min read

The answer

Divide the full cost of attempts, tools, review, and allocated operations by the number of tasks that meet the acceptance criteria. Token cost alone misses both failures and the human work required to make an agent useful.

Define an accepted task before measuring cost

A research agent can produce a fluent memo and still fail because a number belongs to the wrong company. An invoice agent can extract the right amount and still fail because it posts to the wrong entity. The unit of success should be a verified business outcome.

For a finance research workflow, I would specify the correct entity, reporting period, unit, source, calculation, and output destination. For a procurement workflow, I would include the approval state and whether the result is actually available to the next operator. These criteria make a cost metric meaningful.

Anthropic's evaluation guidance distinguishes an agent's transcript from the resulting state of its environment. That distinction is useful here: a message saying that a task is complete is evidence of a message, not proof that the task succeeded.

I would keep two measures: end-to-end accepted tasks per eligible request, and the cost per accepted task. Improving one while hiding a deterioration in the other can make a dashboard look healthier than the product.

Put retries and review back into the numerator

Cost / accepted task = (model costs across all attempts + tool costs + reviewer labor + allocated operating costs) / accepted tasks

The calculator treats an attempt as a complete candidate task execution. Retries are additional attempts; the success input is the percentage of those attempts accepted. An accepted result must represent a distinct delivered task, so do not count duplicated deliveries as additional successes. Reviewer minutes are an average across every attempt, including zero-review attempts.

For a production dashboard, deduplicate by task ID and compute both the cost and acceptance count from that same cohort. If you instead measure eventual acceptance per original request, aggregate every retry into that request's cost before dividing.

Explore cost per accepted task

Synthetic monthly inputs in USD. Attempts include failures and retries. Values stay in your browser.

Change the assumptions

Accepted tasks / month
800
Total delivery cost / month
$1,650.00
Cost / accepted task
$2.06

Acceptance is a quality-qualified, deduplicated delivered task. Expected accepted counts can be fractional in a planning scenario. The tool does not estimate downstream error costs or revenue benefits.

Inspect the model source ↗

Consider the synthetic defaults: 1,000 attempts, 80% accepted, $0.12 model cost, $0.03 tool cost, one review minute at $60 an hour, and $500 monthly fixed cost. Model spend is $120. Total delivery cost is $1,650. With 800 accepted tasks, cost per accepted task is $2.06.

Holding success constant and halving model cost reduces total cost to $1,590, or $1.99 per accepted task. Reducing average review time from one minute to 15 seconds instead brings cost to $900, or $1.13 per accepted task. These are arithmetic scenarios, not measured outcomes; reducing review without preserving quality would invalidate the comparison.

Time saved needs a counterfactual

An agent's output is useful only in relation to the alternative. Compare the same task scope, quality standard, and observation period. Count the operator's setup, correction, escalation, and follow-up time. A five-minute generation step does not imply a five-minute completed workflow.

If the manual process takes ten minutes and the assisted process takes four minutes end to end, the gross labor capacity released is six minutes per accepted task. That is not automatically payroll savings. The business may redeploy the time, serve more customers, or retain the same staffing level.

I would separate capacity released, incremental contribution, and cash cost removed. Adoption and demand determine whether released capacity generates value. A small pilot's time saving also needs a sample size, task mix, and measurement period before it becomes a claim about the wider organization.

Use economics to choose the next product change

A decision table for the next experiment
Observed problemCandidate changeEvidence required
Wrong entity or sourceEntity checks and source-linked outputsError rate by category; reviewer agreement
Repeated unsuccessful attemptsBounded retries and an abstention pathEventual acceptance and cost per request
Review dominates costBetter exception routing and review UIReview minutes and escaped errors together
Low weekly adoptionIntegrate into the existing handoffEligible users completing a real task repeatedly

The cheapest model is not always the cheapest workflow. A more expensive model can win if it materially reduces failed runs or review. The reverse can also hold: a small model with clear task boundaries may be sufficient. Compare changes using the same held-out task set, then check the result in actual usage.

This connects to my local inference benchmark, which evaluates task behavior and failures as well as latency. A production business case would need additional data on reviewers, operating costs, and adoption that this benchmark does not provide.

Method: original accounting framework and synthetic arithmetic. The calculator omits risk-adjusted error costs and downstream revenue effects; include them separately where they are material. At zero accepted tasks, cost per accepted task is undefined.

About this piece: an independent analytical framework with original worked examples. Numerical examples are synthetic unless explicitly identified as measured results. Sources were checked on October 29, 2026; product documentation and commercial terms can change.

Start a conversation

Building something in this space?

I'm interested in AI product and forward deployed work, strategic finance, technical product marketing, and startup strategy and operations. If this analysis connects to a problem on your team, I'd like to hear about it.

utkarsh.ruhela@duke.edu ↗