Prompt caching AI models: send the same prefix twice, pay once

Prompt caching
Services found: 147
#AI modelCapabilitiesAPI $/1M (in / out)Context windowPrice / moOutput $/1MOverviewVisit site
121

Qwen3 Coder Plus

Qwen
Text & chatCodingReasoning
$0.65 / $3.251M tokensAPI only3.25View
122

GPT-5.1-Codex-Mini

OpenAI
Text & chatVisionCoding
$0.25 / $2400K tokensAPI only2View
123

GLM 4.6V

Z.ai
Text & chatVisionVideo
$0.3 / $0.9131.1K tokensAPI only0.9View
124

GPT-5.1-Codex

OpenAI
Text & chatVisionCoding
$1.25 / $10400K tokensAPI only10View
125

MiniMax M2.1

MiniMax
Text & chatReasoningTool calling
$0.3 / $1.2204.8K tokensAPI only1.2View
126

MiniMax M2-her

MiniMax
Text & chatReasoningTool calling
$0.3 / $1.265.5K tokensAPI only1.2View
127

MiniMax M2

MiniMax
Text & chatReasoningTool calling
$0.255 / $1.02204.8K tokensAPI only1.02View
128

GPT-5.5 Pro

OpenAI
Text & chatVisionReasoning
$30 / $1801.05M tokensAPI only180View
129

GPT-5.1-Codex-Max

OpenAI
Text & chatVisionCoding
$1.25 / $10400K tokensAPI only10View
130

Qwen3 Max Thinking

Qwen
Text & chatReasoningAdjustable thinking
$0.78 / $3.9262.1K tokensAPI only3.9View
131

GPT Audio Mini

OpenAI
Text & chatAudioStructured JSON output
$0.6 / $2.4128K tokensAPI only2.4View
132

GPT-5.4 Pro

OpenAI
Text & chatVisionReasoning
$30 / $1801.05M tokensAPI only180View
133

Mistral Large 3

Mistral AI
Text & chatVisionReasoning
$0.5 / $1.5256K tokensAPI only1.5View
134

Qwen3.8 Omni Flash

Qwen
Text & chatVisionAudio
1M tokensAPI onlyView
135

MiMo-V2.6-Pro

Xiaomi
Text & chatVisionAudio
$0.435 / $0.871M tokensAPI only0.87View
136

MiMo-V2.6-Flash

Xiaomi
Text & chatVisionAudio
$0.14 / $0.281M tokensAPI only0.28View
137

MiMo-V2.6-Pro-UltraSpeed

Xiaomi
Text & chatVisionAudio
$4.35 / $8.71M tokensAPI only8.7View
138

Hy4 preview

Tencent
Text & chatReasoningAdjustable thinking
$0.84 / $2.521M tokensAPI only2.52View
139

Fugu Max

Sakana
Text & chatReasoningAdjustable thinking
$2 / $6API only6View
140

Aion 3.5

Aion Labs
Text & chatReasoningPrompt caching
$3 / $6256K tokensAPI only6View

Browse by need

Prompt caching stores an identical prompt prefix between calls, so repeated context is charged at a fraction of the base input rate - typically 10%, and as little as 2.5% on Claude Fable 5.1. If your application sends the same lengthy system prompt with every request, this is usually the biggest saving available to you.

147 models support it. The saving applies to input only, so the effect is largest where prompts are long and answers are short - support bots with detailed instructions, agents with big tool catalogues, RAG systems that resend the same corpus. Cache entries expire, so the economics favour high request frequency against a stable prefix.

Input onlyThe discount never touches output, so it favours long prompts and short answers.
Prefix must match exactlyOne changed character at the start invalidates the whole cached block.
Frequency beats sizeA modest prompt reused constantly saves more than a huge one called twice a day.

Models with this capability

How to choose

  • Put everything stable at the very front: system prompt, tool definitions, reference documents.
  • Keep user-specific content after the cached prefix.
  • Check the cache lifetime — short TTLs punish low-traffic applications.
  • Account for write cost: some vendors charge a premium to create the entry.

Common mistakes

Interleaving variables into the prefixA timestamp at the top of the prompt destroys the cache on every call.
Assuming it helps everywhereShort prompts gain almost nothing.

Who this suits

Agent platformsLarge tool catalogues resent with every step.
RAG systemsThe same corpus queried repeatedly by many users.
Support botsDetailed instructions in front of every short question.

Frequently asked questions

How much does caching save?

Cache reads typically cost 10% of base input, and 2.5% on Claude Fable 5.1. The saving applies to input only.

What has to stay identical?

The prefix — system prompt, tool definitions, reference documents. Anything after the cached portion can vary freely.

When is caching pointless?

Short prompts, or requests spaced far enough apart that the cache expires between them.

How much can I realistically save?

On a long stable prefix, up to 90% of the input portion of the bill.

Does caching change answers?

No. It changes billing and latency, not the computation.

Frequently searched

Ratings 0

Avg. score 0

Rate this page

Help us improve