Skip to content

Inference 101, lesson 4

Price per task, not per token

The token price is the meter; the task price is the fare. This lesson adds up everything one finished job really uses, hidden thinking and retries included, so you can compare models on what they cost you.

What do you run?

Every example below changes to fit what you pick. The businesses are made up for teaching.

The picture, one step at a time

Each box is one stage. The picture lights up as you scroll.

Step 1 of 6

The token price is the meter

A price list says so much per million tokens. That is like a taxi's rate per mile: it tells you the rate, not the fare. What you actually pay for is a finished task, a reply sent or a draft approved, and that can take many more tokens than you would guess.

Models do not even count tokens the same way: the same text can come to a different number of tokens on different models. So two per-token prices are not like for like.

Step 2 of 6

Count everything it reads

Start with the prompt: your instructions, any documents, the chat so far (lesson 3) and the question. All of it is input, and all of it is paid for on every request.

Step 3 of 6

Count what it thinks

Thinking models work a problem through before they answer. They write that thinking in tokens you never see. You pay for them anyway, and they are output, the dearer kind (lesson 2). A thinking model can write far more hidden tokens than answer tokens.

OpenAI's guide to its reasoning models says these tokens are not visible through the API but "are billed as output tokens" (read 28 November 2026).

Step 4 of 6

Count the trips and the answer

When it uses a tool, to look up an order or search a file, the result comes back as more input and the whole prompt is sent round again. Five lookups can mean six trips. Then comes the answer itself, the only part you read.

Step 5 of 6

Count the retries

A wrong answer run again costs a second full trip. One a person has to fix costs their time, which is usually worth far more than the tokens. So a cheap model that needs three tries can cost more than a dear one that gets it right first time.

Model A costs 1p a try and needs three tries. Model B costs 2p and gets it first time. Which is cheaper per task?

Step 6 of 6

Work out the fare

Now add it up for answering customers, with made-up prices of £1 per million tokens in and £5 per million out. A 3,000-token prompt is 0.3p. 2,000 thinking tokens and a 500-token answer are 1.25p. One tool trip resends the prompt plus a 500-token result: 0.35p. That is 1.9p a try. If one in four is retried, the fare is about 2.4p a finished task.

Which number do you compare between two models?

Which costs less per finished task?

Here are four pairs of set-ups for your business, with made-up prices. Work out which one costs less for each finished task, not each token.

  1. 1A: a model at 2p a try that gets the reply right first time. B: a model at 1p a try that needs three tries on average.

  2. 2Both read the same prompt. A: a thinking model writes 4,000 hidden tokens and a 200-token reply, at £5 per million output tokens. B: a plain model writes just the 200-token reply, at £10 per million. Both get it right.

  3. 3Same model, same price. A: it looks up just the one product with a tool, 1,500 tokens in all. B: you send the whole 10,000-token catalogue with every question.

  4. 4A: 3p a reply, and one in ten needs a person to fix it, at 50p of their time. B: 5p a reply, and one in fifty needs fixing.

0 of 4 right so far, 4 to go.

A cost-per-task worksheet

This is what you keep: five lines to fill in for any AI job, and the one number to compare.

A cost-per-task worksheet

  1. Prompt tokens in: instructions, documents, the chat so far and the question.
  2. Hidden thinking tokens out: billed as output, though you never see them.
  3. Tool trips: each one sends the prompt and the result back in.
  4. Answer tokens out: the part you read.
  5. Retries: multiply by the average number of tries, and add any person's time to fix.

Compare models on the fare for a finished task, never on the meter.

Next: Lesson 5: an API, a cloud or your own machine. Where to run a model, and what each choice does to privacy, cost and upkeep.