Prompt caching

Prompt Caching Prices for Every Major LLM

Cached input prices for 75 models from 12 providers. The list is sorted by what you actually pay per 1M tokens when most of your prompt comes from the cache, not by the headline input price.

Cached input prices, cheapest cache-heavy cost first

USD per 1M tokens. The cache-heavy price assumes 85% cached input, 10% fresh input and 5% output. “No cache” is the same traffic with every input token at the regular price.

ModelInputCached inputOutputCache-heavyNo cacheCache write
Nova MicroAmazon Nova$0.035$0.0087575% off$0.14$0.0179$0.040355.4% savednot listed
Ministral 3 3BMistral AI$0.10$0.0190% off$0.10$0.0235$0.1076.5% savednot listed
Nova LiteAmazon Nova$0.06$0.01575% off$0.24$0.0307$0.06955.4% savednot listed
Qwen FlashAlibaba$0.05long prompts cost more$0.0180% off$0.40$0.0335$0.067550.4% savednot listed
Ministral 3 8BMistral AI$0.15$0.01590% off$0.15$0.0352$0.1576.5% savednot listed
Claude Haiku 5.5Anthropic$0.10long prompts cost more$0.0190% off$0.50$0.0435$0.1263.7% saved$0.1255-minute cache
GPT-6 LunaOpenAI$0.10long prompts cost more$0.0190% off$0.50$0.0435$0.1263.7% saved$0.125Provider cache
Ministral 3 14BMistral AI$0.20$0.0290% off$0.20$0.047$0.2076.5% savednot listed
Qwen3.8 FlashAlibaba$0.15$0.01689.3% off$0.47$0.0521$0.16668.6% savednot listed
Mistral Small 4Mistral AI$0.15$0.01590% off$0.60$0.0578$0.17266.5% savednot listed
GLM-5.3-FlashZ.ai (Zhipu)$0.15$0.0380% off$0.50$0.0655$0.16860.9% savednot listed
DeepSeek V4.1 FlashDeepSeek$0.30$0.00698% off$1.20$0.0951off-peak $0.0476$0.34572.4% savednot listed
GPT-5.6 LunaOpenAI$0.20long prompts cost more$0.0290% off$1.20$0.097$0.2561.2% saved$0.25Provider cache
GPT-5.4 nanodeprecatedOpenAI$0.20$0.0290% off$1.25$0.0995$0.25360.6% savednot listed
CodestralMistral AI$0.30$0.0390% off$0.90$0.101$0.3369.5% savednot listed
Gemini 3.1 Flash-LiteGoogle$0.25$0.02590% off$1.50$0.121$0.31361.2% savednot listed
GLM-5.3-FlashXZ.ai (Zhipu)$0.37$0.07579.7% off$1.25$0.163$0.41460.6% savednot listed
Mistral Large 3Mistral AI$0.50$0.0590% off$1.50$0.168$0.5569.5% savednot listed
Gemini 3.5 Flash-LiteGoogle$0.30$0.0390% off$2.50$0.18$0.4156% savednot listed
Qwen3.7 PlusAlibaba$0.40long prompts cost more$0.0880% off$1.60$0.188$0.4659.1% savednot listed
SonarPerplexity$0.25$0.062575% off$2.50$0.203$0.36244% savednot listed
Nova 2 LiteAmazon Nova$0.30$0.07575% off$2.50$0.219$0.4146.6% savednot listed
Mistral Large 4previewMistral AI$0.70$0.0790% off$2.10$0.234$0.7769.5% savednot listed
Gemini 3 Flash PreviewpreviewGoogle$0.50$0.0590% off$3.00$0.242$0.62561.2% savednot listed
GLM-4.7Z.ai (Zhipu)$0.60$0.1181.7% off$2.20$0.264$0.6861.3% savednot listed
Gemini 3.6 FlashGoogle$0.75$0.07590% off$3.75$0.326$0.9063.7% savednot listed
Gemini 3.7 FlashdeprecatedGoogle$0.75$0.07590% off$3.75$0.326$0.9063.7% savednot listed
Gemini 3.8 FlashGoogle$0.75$0.07590% off$3.75$0.326$0.9063.7% savednot listed
GPT-5.4 miniOpenAI$0.75$0.07590% off$4.50$0.364$0.93861.2% savednot listed
DeepSeek V4 ProDeepSeek$1.32$0.04496.7% off$3.96$0.367off-peak $0.184$1.4574.7% savednot listed
Grok Build 0.1xAI$1.00long prompts cost more$0.2080% off$2.00$0.37$1.0564.8% savednot listed
GPT-6.1 TerraOpenAI$1.00long prompts cost more$0.0595% off$5.00$0.393$1.2067.3% saved$1.25Provider cache
Nova ProAmazon Nova$0.80$0.2075% off$3.20$0.41$0.9255.4% savednot listed
Grok 4.20xAI$1.25long prompts cost more$0.2084% off$2.50$0.42$1.3168% savednot listed
Grok 4.20 (Non-Reasoning)xAI$1.25long prompts cost more$0.2084% off$2.50$0.42$1.3168% savednot listed
Grok 4.20 Multi-Agent BetapreviewxAI$1.25long prompts cost more$0.2084% off$2.50$0.42$1.3168% savednot listed
Grok 4.3xAI$1.25long prompts cost more$0.2084% off$2.50$0.42$1.3168% savednot listed
GLM-5Z.ai (Zhipu)$1.00$0.2080% off$3.20$0.43$1.1161.3% savednot listed
Kimi K2.6deprecatedMoonshot AI$0.95$0.1683.2% off$4.00$0.431$1.1060.9% savednot listed
Claude Haiku 4.5Anthropic$1.00$0.1090% off$5.00$0.435$1.2063.7% saved$1.255-minute cache
Kimi K2.7 CodedeprecatedMoonshot AI$0.95$0.1980% off$4.00$0.457$1.1058.6% savednot listed
Muse Spark 1.3Meta$1.25$0.1588% off$4.25$0.465$1.4066.8% savednot listed
GLM-5.2Z.ai (Zhipu)$1.40$0.2681.4% off$4.40$0.581$1.5562.5% savednot listed
GLM-5.3Z.ai (Zhipu)$1.40$0.2681.4% off$4.40$0.581$1.5562.5% savednot listed
Mistral Medium 3.5Mistral AI$1.50$0.1590% off$7.50$0.652$1.8063.7% savednot listed
Qwen3.8 MaxAlibaba$2.00$0.2587.5% off$6.00$0.713$2.2067.6% savednot listed
Gemini 3.5 FlashdeprecatedGoogle$1.50$0.1590% off$9.00$0.728$1.8861.2% savednot listed
Grok 4.5xAI$2.00long prompts cost more$0.3085% off$6.00$0.755$2.2065.7% savednot listed
Claude Sonnet 5.5Anthropic$2.00$0.1095% off$10.00$0.785$2.4067.3% saved$2.505-minute cache
Gemini 4 ArgonGoogle$2.00$0.1095% off$10.00$0.785$2.4067.3% savednot listed
GPT-6.1 SolOpenAI$2.00long prompts cost more$0.1095% off$10.00$0.785$2.4067.3% saved$2.50Provider cache
Claude Sonnet 5Anthropic$2.00$0.2090% off$10.00$0.87$2.4063.7% saved$2.505-minute cache
GPT-6 SolOpenAI$2.00long prompts cost more$0.2090% off$10.00$0.87$2.4063.7% saved$2.50Provider cache
Kimi K3.1 ProMoonshot AI$2.00$0.2090% off$10.00$0.87$2.4063.7% saved$2.005-minute cache
Grok 4.6xAI$2.00long prompts cost more$0.5075% off$6.00$0.925$2.2058% savednot listed
Grok 4.7xAI$2.00long prompts cost more$0.5075% off$6.00$0.925$2.2058% savednot listed
Gemini 3.1 Pro PreviewpreviewGoogle$2.00long prompts cost more$0.2090% off$12.00$0.97$2.5061.2% savednot listed
GPT-5.6 TerraOpenAI$2.00long prompts cost more$0.2090% off$12.00$0.97$2.5061.2% saved$2.50Provider cache
GPT-5.3 CodexdeprecatedOpenAI$1.75$0.17590% off$14.00$1.02$2.3656.7% savednot listed
GPT-5.4OpenAI$2.50long prompts cost more$0.2590% off$15.00$1.21$3.1361.2% savednot listed
Claude Sonnet 4.6Anthropic$3.00$0.3090% off$15.00$1.30$3.6063.7% saved$3.755-minute cache
Kimi K3Moonshot AI$3.00$0.3090% off$15.00$1.30$3.6063.7% saved$3.005-minute cache
Claude Opus 5.5Anthropic$4.00$0.2095% off$20.00$1.57$4.8067.3% saved$5.005-minute cache
Kimi K3.1 Pro HighspeedMoonshot AI$4.00$0.2095% off$20.00$1.57$4.8067.3% saved$4.005-minute cache
Muse Wonder 1.0previewMeta$4.00$0.2095% off$20.00$1.57$4.8067.3% savednot listed
GPT-5.6 SolOpenAI$4.00long prompts cost more$0.4090% off$20.00$1.74$4.8063.7% saved$5.00Provider cache
Claude Opus 4.8Anthropic$5.00$0.5090% off$25.00$2.17$6.0063.7% saved$6.255-minute cache
Claude Opus 5Anthropic$5.00$0.5090% off$25.00$2.17$6.0063.7% saved$6.255-minute cache
chat-latestspecializedOpenAI$5.00$0.5090% off$30.00$2.42$6.2561.2% savednot listed
GPT-5.5OpenAI$5.00long prompts cost more$0.5090% off$30.00$2.42$6.2561.2% savednot listed
Claude Fable 5.1Anthropic$10.00$0.2597.5% off$50.00$3.71$12.0069.1% saved$12.505-minute cache
Claude Mythos 5.1limitedAnthropic$10.00$0.2597.5% off$50.00$3.71$12.0069.1% saved$12.505-minute cache
Claude Fable 5Anthropic$10.00$1.0090% off$50.00$4.35$12.0063.7% saved$12.505-minute cache
Claude Mythos 5limitedAnthropic$10.00$1.0090% off$50.00$4.35$12.0063.7% savednot listed
GPT-6 AstraOpenAI$10.00long prompts cost more$1.0090% off$50.00$4.35$12.0063.7% saved$12.50Provider cache

Standard-tier prices for prompts under the long-context threshold. Batch, priority and regional rates are not shown. Every price comes from the model's official pricing page; open a model to see the source and the date it was last checked.

Caching changes which model is cheapest

Most price tables sort by input price. That's the wrong number if your app resends the same system prompt, tool definitions or chat history on every call, because then most of your input is billed at the cached rate, and providers discount cached tokens by very different amounts: from 75% off to 98% off in this table.

Ranked by input price and then by the cache-heavy price, these models gain the most places:

  • DeepSeek V4 Pro: 42 → 30, because cached input is 96.7% off
  • DeepSeek V4.1 Flash: 16 → 12, because cached input is 98% off
  • Mistral Large 3: 22 → 18, because cached input is 90% off

And these lose the most, either because their cache discount is smaller than their neighbours' or because their output price is high for their input price, and caching does nothing for output:

  • OpenAI GPT-5.3 Codex: 47 → 59 (90% off cached input)
  • Moonshot AI Kimi K2.7 Code: 32 → 41 (80% off cached input)
  • Moonshot AI Kimi K2.6: 31 → 39 (83.2% off cached input)

If you're choosing between two models for an agent or a long-context chat, compare them on the cached price, not the headline. The model switch cost calculator does that for your own token counts.

Cache writes: who charges extra

Anthropic, Moonshot AI, and OpenAI list a separate price for writing tokens into the cache on 22 of these models. Anthropic charges 1.25x the input price for a 5-minute cache and 2x for a 1-hour cache. The “Cache write” column shows the shortest option. If the fresh 10% of your traffic is written to the cache on every call, the cache-heavy price goes up a little, for example:

  • Anthropic Claude Haiku 5.5: $0.0435 → $0.046
  • OpenAI GPT-6 Luna: $0.0435 → $0.046
  • OpenAI GPT-5.6 Luna: $0.097 → $0.102
  • OpenAI GPT-6.1 Terra: $0.393 → $0.417

On most other models caching is automatic and there is no write charge listed. Google's explicit context caching for Gemini is the exception that isn't in this table: it also bills storage per million tokens per hour, which depends on how long you keep the cache.

What this table leaves out

  • Cache hit rate. These prices assume the cache hits. Real hit rates depend on the provider's minimum prefix size, cache lifetime and how stable your prompt prefix is.
  • Long prompts. Models marked “long prompts cost more” charge a higher rate above a context threshold, cached tokens included.
  • Off-peak pricing. DeepSeek V4.1 Flash and DeepSeek V4 Pro cost half as much outside DeepSeek's peak hours, shown as the off-peak price under the cache-heavy column. The main figure is the peak price.
  • Price changes. Cached rates move without much notice: half of the price increases we have recorded since 2024 touched only cached-input prices.

The prompt caching savings calculator prices your own workload: cache lifetime and write costs for Anthropic and current OpenAI models, and a hit rate you enter for other providers. The increases are covered in do LLM API prices go down?, and every recorded change is in the LLM API price history. For headline prices without caching, see the model pricing comparison.

Frequently asked questions

Which LLM API has the cheapest cached input?

On a cache-heavy workload (85% cached input, 10% fresh input, 5% output), Nova Micro is the cheapest model here at $0.0179 per 1M tokens. The biggest discount on a cache hit is DeepSeek V4.1 Flash, where cached input costs 98% less than regular input.

How much cheaper is cached input than regular input?

Between 75% and 98% cheaper on the 75 models listed. 11 models take 95% or more off, 38 take 90% to 95% off, and 26 take 75% to 90% off. Output tokens are never discounted, so the saving on a whole bill is smaller: 44% to 76.5% on the cache-heavy mix used here.

Do I pay extra to write to the prompt cache?

With some providers. In this table, Anthropic, Moonshot AI, and OpenAI list a separate cache write price for 22 models, for example $2.50 per 1M tokens for Claude Sonnet 5.5 against $2.00 for regular input. The other models have no write price listed on their pricing pages, which usually means caching is automatic and writes cost the same as regular input. Gemini's explicit context caching also charges for storage per hour, which is not in this table.

What does the cache-heavy price mean?

It's the blended cost of 1M tokens of traffic where 85% is input read from the cache, 10% is new input and 5% is output. That is roughly what an agent or chat app looks like when it sends the same long system prompt, tools and history on every call. Your own mix will differ. The prompt caching savings calculator prices your own workload: cache lifetime and writes for Anthropic and current OpenAI models, and a hit rate you enter for other providers.

Why is a model with a low input price not the cheapest with caching?

Because providers discount cached tokens by different amounts. A model with a slightly higher input price but a 95% cache discount can end up cheaper than one with a lower input price and a smaller discount, once most of your input comes from the cache. The table is sorted by the cache-heavy price so you can see this directly.