A 90% cached-input discount sounds like a 90% saving. On GPT-5.6 it is the ceiling, and the first request is more expensive than an uncached one, because the cache write is billed above the ordinary input rate.
How far above depends on a lifetime the first version of this post did not separate. The default write is 1.25 times input and pays back on the second use. The 12-hour write is 2.5 times input and does not.
Update, October 28, 2026. I re-read the Sol, Terra, and Luna pages, the pricing table, and the prompt-caching guide. Sol now lists $4 per million input tokens, $0.40 cached input, and $20 output, and calls that promotional pricing available at least through November 21, 2026, a 20% reduction on input and a 33% reduction on output. The first version of the dollar table used $5, $0.50, and $30. Terra is still $2, $0.20, and $12. Luna is still $0.20, $0.02, and $1.20. All three still say cache writes are 1.25 times the uncached input rate. I did not send a request, so nothing below is a measured hit rate.
OpenAI's example replays exactly
The caching guide states the 30-minute case in multiples of one ordinary pass. One write and one full read cost 1.35 times the prefix, against 2 times if you process it twice with no cache. Ten requests, one write and nine reads, cost 2.15 times, against 10 times.
1.25 + 0.10 = 1.35
1.25 + 0.10 × 9 = 2.15
Both match the guide. The general form, for an unchanged prefix reused N times, with the write on the first use and a hit after that:
uncached = N
cached = 1.25 + 0.10(N - 1) = 0.10N + 1.15
saving = 90% - 1.15/N
The first use costs 25% more, because 1.25 is the whole bill and there is no hit yet. At two uses the total falls from 2 to 1.35, a 32.5% saving. The realized saving approaches 90% and does not reach it on any finite batch.
| Uses | 30-minute saving |
|---|---|
| 1 | -25% |
| 2 | 32.5% |
| 3 | 51.7% |
| 5 | 67% |
| 10 | 78.5% |
| 20 | 84.25% |
Use three is 0.90 - 1.15/3 = 0.5166..., which rounds to 51.7%. Use twenty is 0.90 - 1.15/20 = 0.8425, so 84.25% is exact rather than rounded. The guide also says a prefix has to reach the model's minimum cacheable length before any of this applies. For GPT-5.6 and later that minimum is 1,024 tokens, not counting OpenAI's hidden system content. A short system prompt never enters the table.
The 12-hour write pays back on use three
In the Responses API, prompt_cache_options.ttl can be "30m" (the default) or "12h". The guide's table lists the 12-hour write at 2.5 times ordinary input. It says these are total write rates, not a surcharge on top of input, and that the read rate stays 0.10 times for either lifetime. OpenAI may keep an entry longer than the minimum you asked for. "12h" is not an expiry.
cached = 2.5 + 0.10(N - 1) = 0.10N + 2.40
saving = 90% - 2.40/N
Saving turns positive when 2.40/N drops below 0.90, so N > 2.40/0.90 = 2.666.... The third use is the first integer that saves money. The second use still costs more than no cache at all.
| Uses | 30-minute saving | 12-hour saving |
|---|---|---|
| 1 | -25% | -150% |
| 2 | 32.5% | -30% |
| 3 | 51.7% | 10% |
| 5 | 67% | 42% |
| 10 | 78.5% | 66% |
| 20 | 84.25% | 78% |
At one use the 12-hour write is 2.5 times a normal pass, which is a 150% overrun, not a discount. At two uses, 0.90 - 2.40/2 = -0.30. At three, 0.90 - 2.40/3 = 0.10. At ten, 0.90 - 0.24 = 0.66. The 90% headline is still the ceiling. The 12-hour curve climbs toward it more slowly because the write was twice as large (2.5 against 1.25).
The tier changes dollars, not the use count
Cached input is a tenth of ordinary input on all three pages, so the percentages above are the same on Sol, Terra, and Luna. A one-million-token prefix, short context, default 30-minute write, used twice:
| Model | Input rate | Two uncached uses | Write plus one hit | Saving |
|---|---|---|---|---|
| Sol | $4 | $8.00 | $5.40 | $2.60 |
| Terra | $2 | $4.00 | $2.70 | $1.30 |
| Luna | $0.20 | $0.40 | $0.27 | $0.13 |
Sol's write-plus-hit is 1.35 × $4 = $5.40. The earlier $6.75 figure was 1.35 × $5, and it is the row the October 28 page replaces. Terra and Luna do not move. The same prefix on a 12-hour write, used twice, costs 2.60 × the input rate: $10.40 on Sol against $8 uncached, $5.20 against $4 on Terra, $0.52 against $0.40 on Luna. Used three times, Sol is 2.70 × $4 = $10.80 against $12 uncached, a $1.20 saving, which is the 10% in the table.
I am not treating November 21 as the day Sol returns to a higher sticker. The page says the promotional price is available at least through that date. If the sticker later moves, the percentages stay, because they are ratios, and only the Sol dollar column has to be recomputed. Output stays out of every row. Caching, in this comparison, does not change the output price.
Prompts over 272K input tokens are priced at 2 times input and 1.5 times output for the whole request, on each of the three model pages. Under the 272K rule, Sol's long-context row lists $8 input, $0.80 cached input and a $10 30-minute write. The table lists no long-context 12-hour rate; applying 2.5× gives $20.
Pick the lifetime from the gap, not from the discount
A prefix reused inside half an hour crosses break-even on use two, at 32.5%, and a batch of ten is at 78.5% if every later call hits. A prefix with gaps longer than 30 minutes is the case the guide points at "12h" for, and that choice is still a loss at two uses. It turns positive at three, at 10%, which is a weak reason to pay 2.5 times unless the alternative is rewriting the prefix from scratch after the 30-minute entry is gone.
Anything under 1,024 tokens does not get either write. Anything that changes the prefix on every call does not get the hit the formula assumes. Eligibility, eviction, and latency are not in these tables.
Anthropic's five-minute cache write is also 1.25 times input, on a Sonnet 5 rate that is no longer scheduled to rise. The reuse count there is the same shape as this 30-minute curve, and the tokenizer band on that bill is a separate variable, worked out in the Sonnet 5 migration piece.
The planning number is the curve for the lifetime you will actually set, multiplied by the share of prefix tokens that hit. Ninety percent is what the read rate approaches. It is not what use two costs.
