How LLM token pricing actually works
Why the per-1M-token headline price tells you almost nothing — and what to compare instead when you're modeling AI spend.
If you've only read the headline price on a model provider's pricing page, you've been lied to about cost.
Every provider quotes a single number — "$3 per million input tokens" — that papers over four different line items on your invoice. Two of those line items can swing a model's effective price by an order of magnitude depending on what you're actually doing. For finance teams modeling AI spend, that's the gap between "a $20k-a-month line item" and "a $200k-a-month line item," and a price sheet that doesn't break those out doesn't tell you which one you're ordering.
This post walks through the five things a price sheet actually charges you for, how to read each one, and where the gotchas concentrate.
The five line items, not one
A real LLM invoice has at least five buckets, and only one of them matches the headline number:
| Bucket | When it applies | Relative cost |
|---|---|---|
| Input (cache miss) | First time a token enters the context | 1× reference |
| Output | Tokens the model generates | 3–6× input |
| Input (cache read) | Repeated prefix in the same context | 0.05–0.10× |
| Batch / async | Async jobs tolerating 24h latency | ~0.5× |
| Tool / search | Built-in retrieval or web search calls | vendor-set |
Every provider carries a slightly different version of this table, but the shape is universal. The only one that maps to the headline price is the first one. If your workload generates long responses, you'll pay mostly the second. If you reuse a system prompt or document prefix, you'll mix the first and third. If you can defer the job by a day, the fourth may apply.
Why output costs 3–6× input
Output tokens are more expensive for two reasons that don't really collapse into one.
Reason 1 — generation is compute-bound. Prefilling a prompt is mostly memory-bandwidth-bound: you move tokens to the GPU once. Generation reads the cached KV state and samples one token at a time — each step is bottlenecked by the same memory transfer, and you do it once per token. So the marginal work per token is roughly the same in both phases, but the model bills you differently because the cache hit rate differs.
Reason 2 — model vendors price the asymmetry on purpose. Charging more per output token aligns the price with the value the customer extracts. Most consumer-facing chat products burn input cheaply and make back their margin on the response. For an API customer running internal tools, that's a quiet margin transfer from your cost center to the provider's.
A useful internal rule of thumb: if your application emits more output than it consumes input, your effective per-call cost is dominated by the output rate. We've seen teams mis-modeling this by 4–5×.
Cache: the line item finance teams miss
Prompt caching is the most under-modeled item on the invoice, and it's the one where the discounts are largest — by a wide margin.
When you reuse a long system prompt or a fixed document prefix across requests, the provider can serve most of those input tokens from a cache rather than re-attending to them. Anthropic's cache reads run ~10% of the input price; OpenAI's automatic caching is similar. If your prompt is 8,000 tokens and 7,900 of them are a stable system prompt, you're effectively paying input rates on 100 tokens — not 8,000.
Two practical implications:
- The cache has a TTL. Reads from cache work for some window (5–10 minutes is typical). If your tool sends requests less often than that, every call rewrites the prefix, and you pay full input each time. The break-even math depends on your call rate.
- Cache writes are billed. Most providers don't bill cache hits as free input — they charge a discounted rate for both the initial write and subsequent reads. So unless the cache hit density is high, caching doesn't save money; it just shifts spend between buckets.
The honest way to model this in a forecast is to split input into "warm input" and "cold input" with separate rates and let the workload mix the two.
The batch and async discount is the second-cheapest dollar in the stack
If your workload tolerates 24-hour latency, batch endpoints (OpenAI Batch, Anthropic Messages Batches, Gemini Batch) cut the per-token rate roughly in half. That discount is consistent across the major providers — it's the most portable optimization in the stack.
For backfills, nightly reports, and offline classifications, batch is the right answer. For user-facing chat, it isn't — a chat product that takes a day to reply isn't a chat product. The decision is whether your use case is interactive or background.
If you're modeling spend for a mixed portfolio, treat batch as a discount line item, not a base rate, and apply it only to the share of traffic that can defer.
How to read a price sheet without being misled
Three habits that catch most of the modeling errors we've seen finance teams make on first review:
- Always quote input and output separately. A provider's landing-page number is one of several rates. Comparing models on input rates alone is roughly equivalent to comparing car fuel efficiency by trunk size.
- List cache hit rate as an assumption, not a constant. If your model assumes 80% cache reads and your real workload is 10%, the forecast is off by an order of magnitude on that line.
- Treat the batch discount as conditional. Apply it to the share of traffic that can defer, not to total volume. Forecasts that don't scope it tend to overstate savings by the same factor.
If you want a quick sanity check on real numbers rather than a synthetic example, the Bursar cost estimator will run whichever workload you describe across four models side by side — including the asymmetry and batch discount — so you can see the effective rate for your actual usage shape.
What's next
This post focuses on understanding the price sheet. The next one — budgeting LLM spend — turns that into a top-down budget number you can defend in a quarterly review, including how to set a forecast error band and when to escalate a variance.
And if you want the underlying math rather than the worked example, why token math matters walks through the cost-per-token derivations and shows where each provider's pricing sheet diverges from a textbook attention cost model.
Either way, once you have the model mapped, the next move is to point it at real provider admin keys and watch where actual spend lands against the forecast. Open a Bursar account when you're ready — the dashboard reconciles against OpenAI and Anthropic admin APIs nightly, so a forecast becomes a tracked number rather than a guess.