> ## Content Index
> Fetch the complete content index at: https://pblcty.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Caching cuts the input bill for one long file by 83%
- URL: https://pblcty.com/ai-api-pricing-tokens-caching-explained/
- Published: 2026-12-04T14:40:25.000Z
- Updated: 2026-12-04T14:40:25.000Z
- Description: 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.
- Author: Parth Garg
- Tags: AI, OpenAI, Anthropic, #news, #desk-atlas

## 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](https://developers.openai.com/api/docs/pricing?ref=pblcty.com) and [Anthropic](https://platform.claude.com/docs/en/about-claude/pricing?ref=pblcty.com) 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.

Input cost of one 50,000-token document read ten times

US dollars, document tokens only

1. No caching (either model)$1.00
2. GPT-6.2 Sol, 12-hour cache$0.295
3. Claude Sonnet 5.5, 1-hour cache$0.245
4. Either model, short cache$0.17

pblcty calculation from the [OpenAI](https://developers.openai.com/api/docs/pricing?ref=pblcty.com) and [Anthropic](https://platform.claude.com/docs/en/about-claude/pricing?ref=pblcty.com) pricing pages, read December 4, 2026

**See also:** [AI API pricing compared, with a monthly cost calculator](https://pblcty.com/ai-api-prices/)

## 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 vs Claude Sonnet 5.5

|                        | 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   |

US dollars per million tokens, standard rates. Source: [OpenAI](https://developers.openai.com/api/docs/pricing?ref=pblcty.com) and [Anthropic](https://platform.claude.com/docs/en/about-claude/pricing?ref=pblcty.com) pricing pages, read December 4, 2026

## 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](https://developers.openai.com/api/docs/guides/prompt-caching?ref=pblcty.com) 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.

### How we did this

We read the API pricing pages of OpenAI and Anthropic and OpenAI's prompt caching guide on December 4, 2026\. We worked out every cost in this story from their standard per-million-token rates, before tax. The document example counts only the document's tokens, not each question or answer. Readers can repeat the sums with the rates in the table above.

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](https://developers.openai.com/api/docs/pricing?ref=pblcty.com), read December 4, 2026
- [OpenAI: Prompt caching guide](https://developers.openai.com/api/docs/guides/prompt-caching?ref=pblcty.com), read December 4, 2026
- [Anthropic: Claude pricing](https://platform.claude.com/docs/en/about-claude/pricing?ref=pblcty.com), 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*](https://pblcty.com/ai-policy/)*.*

## Related on pblcty

- [Eight Claude Opus models in 16 months, and the price fell 73%](https://pblcty.com/claude-opus-models-release-dates-prices/)
- [OpenAI pulled its fine-tuning cutoff forward to December 15](https://pblcty.com/openai-fine-tuning-shutdown-date/)