All posts
    Evaluation · 2026-11-01 · 5 min read

    Cheap tokens can produce expensive tasks

    Token prices measure inference calls, not finished work. How to calculate cost per successful AI task, including failures, retries, tools and human review.

    The 30-second explanation

    Cheap tokens can still produce expensive work. Count model calls, retries, tools and human review across every attempted task. Divide that total by tasks that meet your agreed acceptance criteria. Reject configurations that miss critical quality or latency limits before comparing cost. Recheck when models, providers or workflows change.

    Before you compare

    • Calibrate acceptance scoring against human-reviewed examples.
    • Freeze the task mix and retry budget for every configuration.
    • Log versions, and rerun after any material change.

    The price you see is not the cost you pay

    Token prices tell you what an inference call costs. They do not tell you what it costs to finish a piece of useful work. For a single prompt and a single answer, the two numbers are close enough that nobody minds. For agents that call tools, retry when something goes wrong and pass their output to a person for review, they can be very far apart.

    A model with a low price per million tokens can still be the expensive choice if it fails more often, needs more retries, takes more tool calls to reach an answer or produces output that someone has to fix. Those costs do not appear on the inference invoice. They appear in the infrastructure bill, in review queues and in work that has to be redone.

    Cost per successful task

    A more useful number is cost per successful task: the total cost across every task you attempted, divided by the number of tasks that met acceptance criteria you agreed before the test began.

    The numerator includes everything you paid for, including the tasks that failed. If a task burned three retries and was still rejected, its model calls, tool time and review time stay in the total. Dropping failures from the numerator is the most common way this metric is made to look better than it is.

    cost per successful task = (model cost + tools/infra cost + human review cost) / accepted tasks

    A worked example

    Take two configurations that each attempt the same 1,000 tasks. Configuration A spends $20 on model calls, $10 on tools and infrastructure and $70 on human review, and 800 tasks are accepted. That is $100 / 800 = $0.125 per successful task.

    Configuration B uses a more expensive model: $35 on model calls, the same $10 on tools and $25 on review, with 900 tasks accepted. That is $70 / 900, or about $0.078 per successful task. B spends 75% more on model calls and still comes out roughly 38% cheaper per useful result, because it fails less and needs less human correction.

    These numbers are hypothetical. They illustrate the arithmetic; they are not a benchmark of any model, provider or QVolt system.

    The denominator is a product decision

    Everything depends on what counts as accepted, and that is a product decision, not a technical default. Write it down per task type before running anything. Some examples:

    • A code change is accepted when the patch passes the test suite and a reviewer approves it without edits.
    • A document extraction is accepted when every required field validates against the schema and matches the source.
    • A support response is accepted when it satisfies a written rubric for correctness, tone and policy.

    Critical failures veto the task

    Some failures should reject a task however good the rest of it is: leaking personal data, an unsafe or destructive tool action, a fabricated source. Treat these as vetoes. A configuration that is cheap per accepted task but produces critical failures is not cheap. It is ineligible.

    Make the comparison fair

    Cost per successful task is only comparable when the configurations ran the same task mix with the same tools, the same retry budget and the same timeouts. If one configuration got easier tasks, it will look cheaper for reasons that have nothing to do with the model.

    Log the model version, provider, prompt, tool and harness versions for every run, so a later result can be traced and repeated. Keep a held-out set of tasks that nobody uses while tuning prompts, and use it for the final comparison. If an LLM judge scores open-ended output, check its decisions against human labels on a sample before trusting it.

    Report latency as p50 and p95, not just an average, and state how many tasks each number rests on. With small samples, a few points of difference in acceptance rate can be noise.

    Filter first, then choose the cheapest

    Cost per successful task should be the last filter, not the first. Start by removing any configuration that fails a critical-failure veto, misses your quality bar for an important task category or breaks your p95 latency limit. Among the configurations that remain eligible, choose the one with the lowest cost per successful task.

    This order matters. Ranking by cost first invites you to accept a quality or latency compromise without noticing you made it.

    Rerun when things change

    The answer has a short shelf life. Models are updated, providers change serving stacks and prices, and your own prompts, tools and task mix drift. Review the result monthly, and rerun sooner after any material change, such as a new model version, a provider switch, a prompt or tool update, a price change or a new kind of task in production.

    To try the arithmetic on your own numbers, use the calculator below. The methodology page covers acceptance criteria, held-out data, judge calibration and uncertainty in more depth. If you want the comparison run on your real workload, the evaluation pilot is where to start.

    Run a scoped evaluation

    A QVolt workload-evaluation pilot builds the rubric, task set and fair comparison with your team. Scope and terms are agreed before work begins.