article

The price per million tokens is not the price of getting the job done

What you are paying for

Input is what AI receives: instructions, documents, conversation history and tool results. Output is what it generates, usually at a higher rate per token. Some models also bill internal reasoning as output, so a short visible answer can still involve many billable tokens.

Cache write = prepare and save. Cache read = reuse.

On the first question about a report, the provider processes the report. If caching is enabled and the report qualifies, it also saves that processing work. Saving it is a cache write.

On a later question, the provider can reuse that saved work instead of processing the same report again. Reusing it is a cache read, also called a cache hit.

Neither means writing or reading the answer. The model generates—and charges for—a new answer each time. New material is billed as ordinary input, or as a cache write if it is saved for reuse.

Cache write saves the work of processing a report in a provider-side cache. A later cache read reuses that saved work for another question. New questions are ordinary input and new answers are output.

Illustrative successful reuse, not a guarantee of a hit on the second call. Cache configuration, matching input and retention all matter.

Isn't a cache write just input? Why can it cost more?

Yes—a cache write is still input, billed differently because the provider is preparing it for reuse. Ordinary input pays for processing material for the current request. A cache write includes that processing plus saving the resulting internal state for later requests.

Saving the original report alone would not avoid processing it again. The useful thing to keep is the intermediate results of that processing. Retaining and managing this state across requests uses memory or storage; a later cache read can reuse it instead of repeating that work.

Some providers charge a write premium for this service; others include it in ordinary input pricing or charge separately for storage. The exact premium is a pricing policy, not a universal technical requirement. A 1.25× rate does not mean saving the state necessarily costs the provider exactly 25% more.

What that means in money

Suppose processing a report normally costs 10 cents. With an illustrative 1.25× write rate and a 90% read discount:

New questions, generated answers and any separate storage fees are outside these figures. The 12.5-cent write replaces the ordinary 10-cent input charge; it is not added on top.

You pay slightly more initially to pay much less when you reuse the material. A cache written once and never reused may save nothing. If it expires or the shared material changes, another write may be needed.

The cache hit rate is what turns a discount into savings

A provider might advertise a 90% cache-read discount. That does not mean your bill falls by 90%.

Your input-token cache hit rate is:

Tokens successfully reused ÷ total input tokens.

In the diagram's later request, 8,000 of 10,000 input tokens are reused: an 80% hit rate. That means 80% of the input receives cached pricing—not that the whole bill falls by 80%.

At a 90% read discount, reusing 80% of your input cuts that request's input cost by 72%, assuming the other 20% is ordinary input. Output, initial writes and storage still need paying for. For a whole-session hit rate, include the initial write and every miss in the total input count.

Is cache hit rate the biggest cost factor?

It can be, when repeated input dominates your bill: document conversations and long-running agents are common examples. If generated text or reasoning dominates, caching only reduces the smaller input portion.

Do not chase hit rate alone. A shorter request with no cache hits may cost less than a large, heavily cached one.

How provider rules differ

As checked on 12 September 2026:

Eligibility, cache lifetime and request structure all affect whether reuse actually happens. The API's usage report tells you how many tokens received cached pricing; a repeated document alone is not proof.

The current price ladder

The chart compares token rates, not model quality or cost per completed task. The full bill combines ordinary input, cache writes, cache reads and billable output across all calls, plus any storage or tool fees. Count reasoning once if it is already included in output.

AI token prices checked 12 September 2026: thirteen model entries labelled by provider, including Anthropic's Claude models, with cached-input, ordinary-input and output rates.

USD per million tokens, checked 12 September 2026. Standard/global rates; cache writes, storage and tool fees are not plotted.

Conditions that materially change the comparison:

Three useful habits

Input-heavy work needs attention to input volume. Output-heavy work needs attention to generation and reasoning. Repeated-context work needs attention to cache reuse. Start with the part that dominates your own bill.

Pricing sources: Anthropic · OpenAI · Google · DeepSeek.

Next →
Why I End Up on Postgres for Many of My AI Applications