AhmsDevAI Cost

Prompt caching · Prices checked October 8, 2026

Prompt caching: what it saves on OpenAI, Anthropic and Gemini

Cached input costs a fraction of normal input on all three providers. Here is the price on each provider's mid model and a worked example.

Provider and modelInputCached inputCached shareEstimated saving a month
OpenAI: GPT-5.6 Terra$2.00$0.2010%$21.60
Anthropic: Claude Sonnet 5.5$2.00$0.105%$22.80
Google Gemini: Gemini 2.5 Pro$1.25$0.12510%$13.50
Example: a chat assistant sending 20 million input tokens a month, 60% of it the same system prompt and context. Estimated saving = repeated tokens x (input price minus cached price), before cache-write and storage charges.

List prices per 1 million tokens (standard (non-batch) list price, text, prompts under 200,000 tokens), checked October 8, 2026 on each provider's pricing page: OpenAI pricing, Anthropic pricing, Google Gemini pricing. Prices change, so check the provider before you decide. Cached input is applied automatically to repeated prompt prefixes on supported models. Writing a prompt to the cache costs about 25% more than normal input the first time (5-minute cache). Claude Haiku 5.5 costs $0.50 input and $2.50 output for prompts over 100,000 tokens. Context caching also charges storage per hour. Pro prices double for prompts over 200,000 tokens. Gemini 3.8 Flash is listed to rise to $1.50 input and $7.50 output on January 1, 2027.

Where caching pays off

Chat assistants with a long fixed system prompt, support bots that send the same help articles, and agents that resend tool definitions on every step. If your usage export shows a lot of input and very little cached input, this is usually the first change to make.

Your own numbers

List prices are the same for everyone. What you pay depends on your models, prompt sizes, caching and retries. The free calculator gives an estimated range in a minute with the method shown. The $400 audit reads your actual usage exports and ranks the changes worth making, each with an estimated range. Request my audit

Questions

What is prompt caching?

When many requests start with the same text (a long system prompt, a product manual, a set of examples), the provider can keep that part ready and bill it at a much lower price the next time. Only the repeated beginning of the prompt qualifies, so put the fixed part first and the changing part last.

Does caching change the answers?

No. The model sees the same prompt; only the billing changes. Check your provider's minimum prompt length and how long a cached prompt stays valid.

Back to home