Skip to content
Free tool · No signup

AI Unit Economics Calculator

Cost per completed task, margin per task and AI cost per customer, from the three numbers you already have.

$

Everything one attempt spends: model calls, retrieval, reranking. The agent estimator gives you this figure.

$

What one finished task earns. 0 for internal tools.

Against a written success bar: validated, not reopened, actually done.

$

Review, cleanup, or doing it by hand.

For AI cost per customer, to set next to your subscription price.

Healthy margin
$0.054per completed task

Cost sits well below revenue. Optimisation is an improvement project here, not a rescue.

You keep $0.446 per task (89% of revenue).
The honest metric vs the flattering one
cost per attempt$0.040
cost per completed task$0.054
A finished task costs 1.3x what the per-call metric shows. The gap is retries and failures, invisible to per-call dashboards.
1.17 attempts per task · 99.7% done by the model · $1,610/mo · $2.15 per customer

Cost per completed task, as quality changes

Cost per attempt is flat across this whole chart. The honest metric is not, and the left side is where it quietly eats the margin. Hover a bar for its figure.

30% successred bars cost more than they earn100%

Why cost per task and not cost per call

The property that makes one metric honest and the other flattering.

Failures stay in the numerator

Three billed attempts, one finished task. The honest metric charges all three to the one, which is why it rises when quality falls.

Per-call dashboards flatter you

Cost per call improves as retries rise, because each retry is another cheap call. It rewards the exact regression you need to catch.

The verdict is relative

A cost per task is not good or bad on its own. It is good or bad next to what the task earns, which is why the margin is the headline.

The method behind this tool, including the five fields to log and what "completed" has to mean, is in cost per task, and the wider sequence is in LLM cost optimization.

AI unit economics FAQ

What is AI unit economics?+

The cost and margin of AI work measured in business units: cost per completed task, margin per task, AI cost per customer. It differs from traditional software economics because the marginal cost of serving one more unit is not near zero; every task consumes paid compute, and failed attempts consume it without producing anything.

How do I calculate cost per completed task?+

Divide total spend over a period by the number of tasks that finished successfully in that period. Failed attempts stay in the numerator, which is the point: three billed attempts that produce one good answer give a cost per completed task of three attempts, not one. The calculator adds retries and human review time on failures for you.

What margin should an AI feature have?+

There is no universal bar, but a useful reading: cost well below revenue per task is healthy, cost close to revenue is an engineering problem with known levers, and cost above revenue at any plausible efficiency is a pricing or product problem that optimisation cannot fix. The verdict card applies exactly that reading.

What is AI cost per customer?+

Cost per completed task multiplied by the tasks a customer consumes per month. It is the number to put next to your subscription price, and it is the difference between a customer who is profitable and one who quietly is not. Heavy users on flat plans are where AI margins go to die.

Why not just track cost per API call?+

Because it improves when quality gets worse. Failures and retries make each call look cheap while making each finished task expensive, so a per-call dashboard rewards exactly the regression you most need to catch. Cost per completed task moves in the honest direction, rising when retries rise.

Free consultation

Cost per task instrumented, not estimated

The calculator models it. We instrument it: the five fields, the task_id join and a written success bar, before the model choice. Book a free cost review.

Book a Free 30-Minute Call

We map one workflow that eats your team’s week and show you what an engineer and a few AI agents could take off it. No slide deck, no sales pitch. Just a working session.

Don’t want a call? Email [email protected]

Book a free call
  • One workflow mapped with you, live
  • A clear first step for your team
  • Reply within one working day

We worked with Seif on the React Native app for our vehicle-appraisal platform. What stood out most was how much ownership he takes: he thinks a feature through, raises edge cases before they turn into bugs, and delivers something that actually works. And then there is one more thing why I wanted to work with Seif after our very first call: Exceptional clear and consistent communication. It is a pleasure to work with him and his team!

Michael EmaschowFounder, RepairCheck
Teams we’ve built for
  • RepairCheck
  • Locus Digital
  • MasterPilot
  • Tabeebi
  • Sure-Bid
  • Hengcheng
Seif SgayerFounder ·View LinkedIn

Free Strategy Call

30 minutes · Google Meet · Free

No packages, no sales pitch. You leave with a clear first step.

By sending you agree to the privacy policy.

  • 30 min
  • Google Meet
  • Calendly
  • No commitment
  • The plan is yours to keep
  • Built for teams at Tabeebi, RepairCheck and MasterPilot