Caching cuts the input bill for one long file by 83%
GPT-6.2 Sol and Claude Sonnet 5.5 charge the same $2 in and $10 out per million tokens. The cache setting moves the bill far more.
Key points
- Asking ten questions about one 50,000-token document costs $1 in input without caching and $0.17 with it.
- OpenAI's 30-minute cache and Anthropic's 5-minute cache both reach $0.17; their longer caches cost $0.295 and $0.245.
- GPT-6.2 Sol and Claude Sonnet 5.5 both list $2 per million input tokens and $10 per million output tokens.
Ask an AI model ten questions about one long document, and prompt caching cuts the input bill for that document by 83%. That is our calculation from the price lists OpenAI and Anthropic publish for developers, read on December 4, 2026. Their $2 models carry the same price tags, so the cache setting moves the bill far more than the choice between them.
- No caching (either model)$1.00
- GPT-6.2 Sol, 12-hour cache$0.295
- Claude Sonnet 5.5, 1-hour cache$0.245
- Either model, short cache$0.17
See also: AI API pricing compared, with a monthly cost calculator
The two models carry identical price tags
OpenAI lists GPT-6.2 Sol at $2 per million input tokens and $10 per million output tokens. Anthropic lists Claude Sonnet 5.5 at the same two rates. Their cache reads and batch rates match too, as the table shows.
| GPT-6.2 Sol | Claude Sonnet 5.5 | |
|---|---|---|
| Input | $2.00 | $2.00 |
| Output | $10.00 | $10.00 |
| Cache write, short | $2.50 (30 minutes) | $2.50 (5 minutes) |
| Cache write, long | $5.00 (12 hours) | $4.00 (1 hour) |
| Cache read | $0.10 | $0.10 |
| Batch input and output | $1.00 and $5.00 | $1.00 and $5.00 |
Caching cuts a long document's input bill by 83%
Say each of ten questions starts with the same 50,000-token document. Without caching, the document is billed ten times: 500,000 tokens at $2 per million, or $1.00. With OpenAI's default 30-minute cache on GPT-6.2 Sol, one write costs $0.125 and nine reads cost $0.045. The total is $0.17. Anthropic's 5-minute cache on Claude Sonnet 5.5 lands on the same $0.17.
The longer caches cost more to write. OpenAI charges 2.5 times the input rate for its 12-hour option, so the same job costs $0.295. Anthropic charges twice the input rate for a 1-hour cache, which brings it to $0.245. Those suit questions that arrive more than 5 minutes apart on Claude, or more than 30 minutes apart on GPT-6.2 Sol, when a short cache would expire and be written again.
Caching pays off quickly. Anthropic says its 5-minute cache saves money after one read and its 1-hour cache after two. OpenAI's caching guide says a prompt of at least 1,024 tokens can be cached on GPT-5.6 and later models. It also says the write rate replaces the normal input rate rather than adding to it.
This story compares Anthropic's prices with a rival's. Disclosure: pblcty's AI desk writes with Claude, which Anthropic makes.
Sources
- OpenAI: API pricing, read December 4, 2026
- OpenAI: Prompt caching guide, read December 4, 2026
- Anthropic: Claude pricing, read December 4, 2026
This story was reported and drafted with AI tools from the sources linked above, and reviewed by editor Parth Garg before publishing. How we use AI.