All glossary terms

Pricing

Price per million tokens

What a million tokens cost, listed for input and output separately. The smallest unit for comparing providers, models, cached and uncached traffic, and renting.

Token pricing is quoted per million tokens, with a rate for input (what you send) and a usually higher rate for output (what the model writes). Output costs more because each output token runs a decode pass through the whole model, while input tokens ride through together in one prefill pass, which is cheaper per token.

The number only means something next to its assumptions. Cached input tokens (from a prefix cache) are billed at a steep discount. Long-context or premium models are listed higher. And on self-hosted hardware, nobody quotes you a per-token price - you derive it by dividing hourly cost by tokens per second, and utilization is the variable that decides whether that division gives a good number or an embarrassing one.

Working with the number is simple arithmetic, which is the point: input tokens times input rate plus output tokens times output rate gives a turn cost, and turn cost times requests gives a bill. Any plan for cutting the bill has to touch one of those factors - fewer tokens, cheaper caching, or cheaper tokens per second.

In interviews this is where economics questions open: quote the rate, state the utilization assumption, and walk the division. A candidate who reaches for the formula and shows the arithmetic is doing the job of a serving engineer; one who argues about model quality without a unit price is doing marketing.

A worked example

One chat turn carrying a 3,000-token prompt and receiving a 500-token reply, at assumed list prices of $1.20 per million input tokens and $4.80 per million output tokens.

  1. Input: 3,000 / 1,000,000 x $1.20 = $0.0036.
  2. Output: 500 / 1,000,000 x $4.80 = $0.0024.
  3. Per turn: $0.0036 + $0.0024 = $0.0060.
  4. At 1,000 turns a day: $0.0060 x 1,000 = $6.00 per day, about $180 for a 30-day month.

A single heavy user costs about $180 a month at these list prices, which is why caching, shorter prompts, and per-token economics dominate the conversation.

Where this shows up

Test yourself

Related terms