Tool

AI model cost per finished task

Compare list price with the cost of a task that actually finishes, and the daily volume where self-hosting beats the API.

Updated : added what it does, step-by-step use, a worked example, limitations and FAQ.

A free browser calculator for what one finished AI task costs, not the price per token.

Not legal, tax, insurance, or procurement advice. Inputs stay in your browser. Nothing is uploaded.

Attempts per task = 1 + average retries. Token cost uses each attempt. Review cost applies to the share of tasks that fail. Cost per successful task divides that total by the success rate. Listed cost is one attempt, before retries, failures, and review. A month in the break-even chart is 30 days. You type the prices. This page does not call a model.

Showing the example. Replace it with your prices.

Self-host break-even

Output

The comparison appears here.

Get the next free tool in your inbox

One short email when a new template or checklist ships. Free, and you can unsubscribe at any time.

Subscribe free

How to use this

  1. Replace the two example models with the prices and token counts you were quoted. Add a third or fourth if you have them.
  2. Use the success rate and retries you actually see. A low list price can lose once failed tasks and review time are in the cost.
  3. Fill the self-host lines to see the daily token volume where the server costs less than the API, and whether your throughput reaches it.

What this calculator does

AI model prices are quoted per million tokens. That number is easy to compare and often misleading. A cheaper model that fails more often needs retries, and failed tasks need a person to fix them. This page converts list prices into the cost of a task that actually finishes, including retries and human review. It also shows the daily token volume at which running your own server would cost less than paying per token through an API.

The math, in plain English

Worked example

The page loads with two example models. The prices are example numbers for illustration, not quotes from any provider.

Example: low list price. $0.50 per million input tokens, $2 per million output tokens, 2,000 input and 800 output tokens per attempt. One attempt costs about $0.0026. But it succeeds 60% of the time, averages two retries, and each failure takes 15 minutes of review at $80 an hour. Cost per finished task: about $13.35.

Example: higher list price. $3 input and $15 output per million tokens, 1,500 input and 400 output tokens. One attempt costs about $0.01. It succeeds 95% of the time with no retries, and failures take 10 minutes of review. Cost per finished task: about $0.71.

The model that is roughly four times cheaper per attempt is almost nineteen times more expensive per finished task. Almost all of the difference is human review on failed work, not tokens.

For self-hosting, the example uses a $4,000 monthly server, 10 ops hours at $90, and a blended API price of $8 per million tokens. Monthly self-host cost is $4,900. Break-even is about 20.4 million tokens a day. The example server can carry 50 million a day, so above about 20.4 million daily tokens, self-hosting would cost less in this example.

Where to get your inputs

  1. Prices. From your provider’s current pricing page or your contract. Providers such as Anthropic publish per-token prices, and they change. Check the date.
  2. Token counts. From your API usage logs, averaged over a real sample of the task, not a demo prompt.
  3. Success rate and retries. From a test set of at least a few dozen real tasks, judged by the person who owns the output.
  4. Review minutes. Time a reviewer fixing failed outputs. Do not guess.

How to read the result

If review cost dominates, improving quality is worth more than finding a cheaper model. If token cost dominates and quality is equal, list price matters. If your daily volume is far below break-even, self-hosting adds risk without saving money. If it is above break-even but beyond the server’s throughput, you need more hardware and the math changes.

Limitations

FAQ

Are my numbers saved or sent?

They stay in your browser. Nothing is uploaded.

What success rate should I use?

The rate at which a reviewer would accept the output without edits. Partial credit belongs in review minutes.

How does this connect to gross margin?

Feed the cost per finished task into the token cost to gross margin calculator to see what it does to a product’s margin.

Related