Does prompt caching cut LLM cost and emissions, and by how much?

For engineering leads and FinOps teams who pay for LLM APIs and report their carbon. Provider pricing checked 23 November 2026. Carbon figures are SAEF estimates for a class B model in US East - N. Virginia. Factor version soma-ai-ef-2026.11-dataset-v3.2.0. Factors last updated . Location-based grid averages, not renewable contracts. Estimates from published benchmarks.

Page updated

Part of the SOMA AI Emission Factors cluster.

Short answer

Prompt caching cuts the bill a lot and the SAEF carbon estimate a little. Every provider checked bills cached input at a discount to fresh input, and a tenth of the price is typical. The estimate follows more slowly, because training is counted per billed token and a cached token is still billed. In the worked example below the price falls about 16 times and the estimate about 3.4 times. Caching pays only when the same prefix is read again soon enough, and it does nothing for output tokens. SOMA AI's AI footprint calculator applies this split to your own usage export, pricing cached and fresh tokens at list price next to an SAEF CO2e estimate.

This page covers caching in depth. The other levers are in how to reduce both the cost and the emissions of LLM API usage and the company-use version.

What do providers charge for cached input?

List prices in USD per million tokens, checked 23 November 2026. Discount is one minus the cached price over the input price, worked out from the two listed prices. OpenAI rows are short-context prices, for up to 272,000 input tokens.
ModelInputCached inputDiscountSource
Claude Fable 5.2 and Mythos 5.2$8.00$0.2097.5%Anthropic
Claude Opus 5.5$4.00$0.2095.0%Anthropic
Claude Sonnet 5.5$2.00$0.1095.0%Anthropic
Claude Sonnet 5$2.00$0.2090.0%Anthropic
gpt-6.2-sol$2.00$0.1095.0%OpenAI
gpt-6-sol$2.00$0.2090.0%OpenAI
gpt-4.1$2.00$0.5075.0%OpenAI
gpt-4o$2.50$1.2550.0%OpenAI
Gemini 4 Carbon$2.00$0.1095.0%Google
Gemini 3.8 Flash$0.75$0.07590.0%Google

The spread is wide. The rows above sit between 50% and 97.5% off, with gpt-4.1 at 75% and gpt-4o at 50%. Mistral describes cached input as up to 90% off on its pricing page (checked 23 November 2026). Gemini 4 Carbon's listed prices double from 1 December 2026, input to $4.00 and cached input to $0.20 (Google pricing, checked 23 November 2026), so its row changes on that date while its 95% discount stays the same. For every verified row of every provider see the per-million-token price and carbon table.

What do cache writes and storage add?

On Claude a cache write costs 1.25 times the input price for a five-minute cache and 2 times for a one-hour cache, and a read costs between 0.025 and 0.1 times depending on the model (Anthropic pricing, checked 23 November 2026). Anthropic states that the five-minute cache pays back after one cache read and the one-hour cache after two. The arithmetic agrees. A five-minute write adds 0.25 times the input price and each read saves 0.9 times on a model priced at a tenth, while a one-hour write adds 1 times, which two reads cover.

OpenAI charges for cache writes on GPT-5.6 and later, 1.25 times the standard input price for the default 30-minute lifetime and 2.5 times for a 12-hour minimum lifetime. Reads cost 0.1 times, or 0.05 times on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol and GPT-6.1 Terra (OpenAI prompt caching guide, checked 23 November 2026). By the same arithmetic as for Claude, a 30-minute write pays back after one read on a model with a read at a tenth, and a 12-hour write after two. The gpt-6.2-sol and gpt-6-sol rows in the table above show the read price and not the write charge.

Google bills explicit caches in two parts, a per-token price and a storage charge per million tokens per hour (Google pricing, checked 23 November 2026). Gemini 4 models list implicit caching only, with no storage price. Using only the listed prices, the table shows how many full reads per hour an explicit cache needs before it costs less than sending the tokens fresh.

Storage price divided by the saving per read, ignoring the one-off cost of creating the cache. Worked out from the listed prices.
ModelStorage per million tokens per hourSaving per million tokens readFull reads per hour to break even
Gemini 3.8 Flash$0.50$0.6750.7
Gemini 3.5 Flash-Lite$1.00$0.273.7
Gemini 3.1 Pro Preview, prompt up to 200,000 tokens$4.50$1.802.5

Gemini 3.8 Flash and 3.6 Flash double on 1 January 2027, input, cached price and storage alike, so the break-even stays where it is while every price doubles.

What does one million tokens look like with and without a cache?

The scenario is one we chose to show direction, not a typical rate. A 10,000-token prefix is sent with 100 requests, which is 1,000,000 input tokens in total, on Claude Sonnet 5.5, a class B model in SAEF, priced at $2.00 input and $0.10 cached per million tokens. Every request arrives before the cache expires, so the first request writes the prefix and the other 99 read it. Output tokens are left out because caching does not change them.

One million input tokens, Claude Sonnet 5.5 list prices checked 23 November 2026, SAEF estimate for class B in US East - N. Virginia. Cache write tokens are counted as ordinary input in the estimate.
CaseCostEstimated g CO2eOf which trainingOf which electricity, hardware and construction
No cache$2.0020.12.9317.1
Five-minute cache$0.1245.932.933.00
One-hour cache$0.1395.932.933.00

The price falls to 6.2% of the original and the estimate to 30%. The electricity, hardware and construction terms follow the token weights down, but the training term is identical in both rows because SAEF spreads training over billed tokens and a cached token is still billed. That training term is the floor under the carbon saving, and it is why a 90% discount on the price is not a 90% cut in the estimate. The method is on the methodology page and the factors are in the factor table.

When does prompt caching not pay?

  • The prefix is not reused before the cache expires. A Claude write that is never read costs 25% more than plain input for a five-minute cache and 100% more for a one-hour cache. An OpenAI write on GPT-5.6 or later costs 25% more for the 30-minute default and 150% more for 12 hours.
  • The prefix changes on every request, for example a timestamp or a user name at the top of the prompt. Caches work on the repeated beginning of a prompt, so check each provider's documentation for the exact rules.
  • The work is mostly output. Caching touches input only, and output costs several times input on every provider checked.
  • An explicit Gemini cache is read less often than its break-even in the table above.
  • The provider's discount is small. gpt-4o gives 50% off, which may not justify redesigning a prompt.

On the carbon side, SAEF does not model the memory or storage that holds a cache, so the estimate takes no account of any carbon cost of keeping one. Treat the carbon fall above as an upper bound on the benefit.

What does this page not claim?

  • That any carbon figure is a measurement. They are SAEF estimates from tokens, model class and grid.
  • That the worked example is typical. It is one chosen scenario and shows direction only.
  • That caching is carbon-free. The storage that holds a cache is outside SAEF's boundary.
  • That prices are current or what you pay. They are list prices checked on 23 November 2026, and providers change them.
  • That any provider's cache lifetime or discount holds beyond the date checked.
  • That your own workload reuses a prefix at the rate assumed here.

Short answers

How much does prompt caching cut the bill?
On the listed prices a cache read costs between about 2% and 50% of fresh input, depending on provider and model, and one tenth is typical. In our worked example, a 10,000-token prefix sent 100 times on Claude Sonnet 5.5 costs $2.00 per million input tokens without a cache and $0.124 with a five-minute cache, about 16 times less. Prices are list prices checked 23 November 2026 and change.
Does prompt caching cut the carbon footprint by the same amount?
No. The SAEF estimate weights a cached input token at 0.05 against 0.3 for fresh input and 1 for output, but amortised training is counted per billed token whether cached or not. In the same example the estimate falls from 20.1 g to 5.93 g CO2e, about 3.4 times, against 16 times for the price. SAEF does not model the storage that holds the cache.
When does prompt caching cost more than it saves?
When the prefix is not reused before the cache expires, when the prefix changes on every request, or, for an explicit Gemini cache, when it is read too rarely to cover its hourly storage charge. On Claude a five-minute cache write costs 1.25 times the input price and pays back after one read, and a one-hour write costs 2 times and pays back after two reads. OpenAI charges 1.25 times for a 30-minute write and 2.5 times for a 12-hour write on GPT-5.6 and later.
How do I see whether my usage already benefits from caching?
Look at the usage export of the provider or gateway, which reports cached input tokens separately. If your export does not separate them, SAEF takes no cache credit and the estimate runs high. Log input, cached input and output tokens per call and price each with the provider's list price. SOMA AI's calculator reads the cached-token column from OpenAI, Anthropic, Bedrock, LiteLLM, Langfuse, Helicone and OpenRouter exports and shows the cache share, cost and estimated CO2e per model.

Keep reading