Cost Per Completed Task: Measuring AI Agent Value in Ops
Count model, tool, review and maintenance costs against finished tasks, so you can compare AI agent work to staff time on the same basis.

Cost per completed task is the full cost of producing one finished unit of work divided by the number of tasks that actually reached a usable finish line. For an AI agent, that cost includes model inference, tool and retrieval calls, retries and failed runs, plus the human minutes spent reviewing, correcting or redoing the output. Measured this way, agent work and staff work become comparable, because both are priced against delivered outcomes instead of activity.
Key takeaways
- A completed task is one a human accepted without rework. Everything else is a retry, an exception or a different task.
- Four cost lines matter: model inference, tools and data access, human review, and the amortized cost of building and maintaining the workflow.
- Failed attempts belong in the cost, not outside it. Excluding them means you are measuring the agent's good days.
- Review time is usually the largest and most volatile line, so measure it in minutes per task rather than assuming it.
- Compare like with like: same task definition, same quality bar, same exception handling, whether a person or an agent does the work.
What cost per completed task actually measures
Most early AI reporting counts motion: drafts produced, documents read, records touched, conversations handled. Motion is easy to collect and tells you almost nothing about whether work left the building. Cost per completed task replaces that with a harder question: what did it cost to get one acceptable result into the hands of the person or system that needed it?
This is unit economics applied to operations. Cloud finance teams have used the same move for years, dividing spend by a business unit such as a transaction or an active account, so they can see whether growth is getting cheaper or more expensive per unit. The FinOps Foundation treats unit economics as a core capability for exactly this reason: total spend is a political number, cost per unit is an operational one.
The discipline matters more with agents than with scripts, because agent cost is variable by nature. A simple invoice arrives, the agent reads it, matches it and proposes an entry. A messy one triggers three retrieval calls, a longer context, a clarifying question and twelve minutes of a controller's attention. Averages hide that spread, so you want the average and the tail.
The four cost lines you need to count
- Model inference: tokens in and out, including context you resend on every turn. Long histories and large retrieved documents dominate this line. Techniques like prompt caching reduce repeated context cost, and are worth measuring before and after.
- Tools and data access: retrieval queries, search, API calls, document conversion, storage, any paid connector the workflow touches.
- Human time: review, correction, escalation, and the switching cost of being pulled into a queue. Count the reviewer's minutes, not the reviewer's intentions.
- Build and maintenance, amortized: process mapping, prompt and tool design, evaluation sets, integration repair when a vendor changes an endpoint, permission reviews, monitoring. Spread this over the tasks completed in the period you are measuring.
There are quieter lines that still belong in the numerator. Abandoned runs that produced nothing. Duplicate work when the agent and a person both handled the same item. Rework caused downstream by an output that looked right and was not. If your tracing captures run identifiers, token counts and tool calls per run, these become visible instead of theoretical. OpenTelemetry's semantic conventions for generative AI exist so that this kind of per run data is recorded in a consistent shape rather than reinvented per project.
How do you define a completed task?
The denominator decides whether the whole number is useful. A task is completed when three things are true.
- There is a named output: a posted entry, a sent reply, an updated record, a filed document, a routed ticket with an owner.
- There is a named destination: the system or person that receives it.
- There is an acceptance signal: an approval click, a reviewer's sign off, a downstream process that consumed it without complaint.
That third test is where most measurement programs quietly cheat. If a reviewer approves the output after rewriting half of it, the task completed, but it cost more than the log suggests, and the extra cost sits in human minutes. Capture a simple edit flag at approval time: accepted as proposed, accepted with minor edits, rewritten, rejected. Four states are enough to turn review into data. Workflows where the agent proposes and a person confirms, such as invoice intake with human approval, give you that signal for free because the approval step already exists.
A step-by-step plan to calculate your first number
1. Pick one task with a clear finish line. Narrow is better: supplier invoice intake, first reply on a support category, renewal reminder with owner assignment. 2. Write the definition of done in one sentence, including the acceptance signal and who gives it. 3. Measure the human baseline before anything changes. Have the people doing the work log minutes per item for a representative stretch, including the awkward items they usually complain about. 4. Record the exception rate in that baseline: how many items a person cannot finish alone today and must escalate. 5. Instrument the agent run: run identifier, tokens in and out, tool calls, retries, latency, final state. Keep one row per attempt, not per success. 6. Instrument the review: who reviewed, minutes spent, and which of the four edit states applied. 7. Choose a period, then compute. Numerator is all inference plus tools plus review minutes valued at the reviewer's loaded rate plus the amortized build and maintenance slice. Denominator is accepted tasks only. 8. Publish the average and the worst decile together, and recompute monthly. A single number without its tail invites bad decisions.
If you want the surrounding framing, including how to express gains without inflating them, see our notes on measuring AI workflow ROI without hype and the structure of an AI business case.
Illustrative scenario: a distributor measuring supplier invoice intake
The following is an illustrative scenario, not a client account.
A distributor handles supplier invoices in a shared mailbox. Two people open each message, read the document, match it to a purchase order and a receipt, then key the entry. Before any agent work, they log minutes per invoice for three weeks and discover two populations: clean invoices from regular suppliers, which move quickly, and unmatched or partially received ones, which eat most of the week.
An agent is introduced in a proposal only mode. It reads the document, retrieves the matching purchase order and receipt, and writes a proposed entry with the evidence attached. It never posts. A controller approves, edits or rejects.
When the team computes cost per completed task, three things surface. First, inference and tool cost per invoice is small and stable compared with human time, so the number is really a review time number wearing a technology costume. Second, the clean population reaches acceptance with almost no edits, while the unmatched population still consumes controller attention, which is the correct outcome because those items were always judgment work. Third, the amortized build cost is heavy in month one and thins out quickly as volume accumulates, which is why a single month measurement would have been misleading in either direction.
The decision that follows is not "adopt" or "reject". It is to keep the agent on the clean population, raise the evidence standard for the unmatched one, and stop reporting invoices processed as if it were a result.
Comparing agent work to staff time on the same basis
A fair comparison needs the same scope on both sides. Use this as a decision guide.
- Same definition of done, including the acceptance signal. If the agent's output needs a human confirmation and the staff baseline did not, the confirmation cost belongs to the agent.
- Same exception treatment. Do not let the agent hand hard items back and then compare its cost against a human average that included those items.
- Same quality bar. If the agent's draft is accepted at a lower standard, you have changed the product, not the cost.
- Same period. Amortize build cost across the same window you amortize training, documentation and supervision on the human side.
- Same failure accounting. Human rework and agent retries are the same category of waste and both go in the numerator.
- Different speed effects noted separately. If the agent finishes overnight and that shortens a cycle, record the cycle change as its own benefit rather than folding it into cost per task.
Watch for the inversion that catches people. An agent can lower cost per task while raising total cost, because cheap tasks get done far more often. That is sometimes excellent and sometimes a quiet budget leak. Unit economics tells you the first part, volume tells you the second, and you need both on the same page.
Keeping the number honest over time
Cost per completed task drifts. Models change, context grows, suppliers alter their formats, reviewers get busier and start approving faster than they read. A short recurring check keeps the measurement trustworthy.
- Recompute monthly, with the tail reported next to the average.
- Re-sample review minutes with a timed sample rather than relying on reviewer memory.
- Keep a fixed evaluation set of past tasks with known good outcomes and rerun it when anything in the stack changes. Published evaluation guidance from model providers describes how to build and score these sets.
- Audit approvals for rubber stamping: if the rewritten and rejected states vanish, verify that quality improved rather than attention declining.
- Review which tasks the agent is declining, and whether the declined set is growing.
- Confirm permissions and tool access still match the scope you approved.
If you are not ready to compute anything yet, start the agent in observation only mode and collect the cost shape before granting it any action. Our note on shadow mode covers how to do that without disrupting the current process.
Be Human's managed engagements treat this measurement as part of the build rather than an afterthought. A first engagement defines one role, the memory and tools it needs, approval boundaries and an observable success criterion, which includes how completed tasks are counted and where review time is captured. Managed operations then cover monitoring, recurring evaluations, integration maintenance, permission review, incident response and controlled improvements, so the cost per task figure stays comparable month to month instead of resetting with every change.
If you want help finding the first task worth handing to an agent, take the free Be Human AI diagnostic.
Frequently asked questions
What exactly goes into cost per task for an AI agent? Four lines: model inference for every attempt, tool and data access calls, human review and correction time valued at the reviewer's loaded rate, and an amortized slice of build and maintenance for the period. Divide the sum by tasks that were accepted without rework. If a cost only exists because the agent is running, it belongs in the numerator.
Should failed or abandoned runs count? Yes, in the cost but not in the completed count. A run that produced nothing still consumed tokens, tool calls and sometimes a reviewer's attention, so leaving it out flatters the agent. Tracking attempts separately from accepted outcomes also gives you a success rate, which is often more actionable than the cost figure itself.
How do I value human review time fairly? Use the reviewer's loaded cost, the same figure your finance team uses for internal time, and measure minutes with a timed sample rather than an estimate. Include the escalation handling and the context switching, because both are real. Reviewers consistently underestimate their own time on short, frequent tasks.
How long before the number stabilizes? Expect the first period to be dominated by build and maintenance amortization, and the second or third to reflect steady state. Recompute monthly and keep the tail visible, because a stable average with a worsening tail usually signals that the hard cases are being pushed back onto people without anyone deciding to do so.
Your next step
See where an AI agent fits in your company first.
Take the free Be Human AI diagnostic. A few questions about your work show which task to hand to an agent first, what it needs to know and where a person approves.
Be Human editorial guidance. Examples are illustrative unless explicitly attributed. Sources provide background; implementation choices depend on your workflow.


