How it works · 17 of 27 Core

What is cost per outcome for an AI feature?

Price the resolved ticket, not the token

Cost per outcome: What an AI feature costs is the spend per successful outcome (a ticket closed, a task done), counting retries, longer agent runs and the people who fix the misses; a cheaper model per token can cost more per outcome, and a spend limit stops a runaway agent.

Loading the animation…

Say it like this Price the outcome, not the token: count retries, long agent runs and the people who fix the misses, and the cheaper model is often the dearer one; set a spend limit so one stuck agent can't spend the month overnight.

Under the hood — for builders
Worked example: the card's tickets
Cost per outcome = (AI spend + misses) ÷ outcomes. Small model: 0.01 + 0.5 × $4 = $2.01 a ticket. Larger: 0.05 + 0.2 × $4 = $0.85.
Terms: outcome and cost per outcome
Outcome: the thing the business pays for (a ticket closed, a pull request merged). Cost per outcome: all spend on the feature, people included, divided by outcomes.
Terms: spend limit and run cap
Spend limit: a ceiling on spend per month, per organisation or workspace. Run cap: a ceiling on one agent run (steps, tokens or dollars), set by you.
Measured: same accuracy, very different bills
Kapoor et al. (Princeton) ran coding agents on 164 HumanEval problems: "For substantially similar accuracy, the cost can differ by almost two orders of magnitude".
Cheap first, then escalate
Same paper: "Reflexion and LDB cost over 50% more than the warming strategy, and LATS over 50 times more". Escalation moves up a model only after a failed test.
Spend limits that stop a runaway
Anthropic: "Spend limits set a maximum monthly cost an organization can incur for API usage"; the Start tier's cap is $500 a month.
When the monthly cap is hit
Anthropic: "Once you reach your tier's spend cap, API usage pauses until 00:00 UTC on the first day of the next month". Add workspace limits and a run cap.
In our papers
freetoken-local-coding-agents: "No fee per request", but "The paper measures speed only, not how good the answers are". Free per token; per merged change, unknown.
Measure it
Spend per outcome by feature and model · share of outcomes needing a person · agent steps per task at the 95th percentile · runs stopped by a cap.
Watch out
Comparing models by price per token · ignoring the people who fix the misses · no cap per run · one monthly cap shared by every team.
Sources
Kapoor et al., AI Agents That Matter, arXiv 2407.01502 (2024) · Anthropic, Rate limits: spend limits · our paper freetoken-local-coding-agents · read 21 Nov 2026. Plumbers and tickets: our example.

What happens in the cost per outcome animation, step by step?

  1. One leaking sink, two plumbers. A charges ₹300 a visit, B charges ₹700.
  2. Your turn: which plumber is cheaper? Tap one.
  3. A's fix doesn't hold: he comes back three times. Per fixed leak, A costs ₹1,200 and B ₹700. The cheaper rate is the dearer fix.
  4. Models work the same way (our example): 1 cent or 5 cents an answer, but a person fixes each miss at $4. Per ticket closed: $2.01 against $0.85.
  5. And overnight an agent gets stuck in a loop, calling the model again and again. The meter climbs until a spend limit snaps shut.
  6. Price the outcome and cap the run. Next: what if the feedback you learn from rewards the wrong answer?

What everyday example explains cost per outcome?

The cheap plumber who comes back three times. The visit rate is the price per token, each return visit a retry or a miss, the bill per fixed leak the cost per outcome, and the meter that runs all night is an agent stuck in a loop.

Why should a team care about cost per outcome?

Someone will propose the cheaper model or the cheaper provider; the team decides what counts as a successful outcome, how to price the misses, and what limit stops one run from spending the month's budget overnight.