Prompt caching AI models: send the same prefix twice, pay once
| # | AI model | Capabilities | API $/1M (in / out) | Context window | Price / mo | Output $/1M | Overview | Visit site |
|---|---|---|---|---|---|---|---|---|
| 41 | DeepSeek V4 Flash 0423 DeepSeek | $0.088606 / $0.177212 | 1.05M tokens | API only | 0.177 | View | ||
| 42 | GPT-5.4 Mini OpenAI | $0.75 / $4.5 | 400K tokens | API only | 4.5 | View | ||
| 43 | MiniMax M2.7 MiniMax | $0.3 / $1.2 | 204.8K tokens | API only | 1.2 | View | ||
| 44 | Gemini 3.5 Flash-Lite Google | $0.3 / $2.5 | 1.05M tokens | API only | 2.5 | View | ||
| 45 | Qwen3.6 27B Qwen | $0.3 / $2 | 262.1K tokens | API only | 2 | View | ||
| 46 | GPT-5.4 Nano OpenAI | $0.2 / $1.25 | 400K tokens | API only | 1.25 | View | ||
| 47 | Claude Sonnet 4.5 Anthropic | $3 / $15 | 1M tokens | API only | 15 | View | ||
| 48 | Qwen3.5 397B A17B Qwen | $0.55 / $3.5 | 262.1K tokens | API only | 3.5 | View | ||
| 49 | Claude Haiku 4.5 Anthropic | $1 / $5 | 200K tokens | API only | 5 | View | ||
| 50 | Qwen3.5-122B-A10B Qwen | $0.29 / $2.4 | 262.1K tokens | API only | 2.4 | View | ||
| 51 | Gemma 4 31B Google | $0.09 / $0.34 | 262.1K tokens | API only | 0.34 | View | ||
| 52 | DeepSeek V3.1 Terminus DeepSeek | $0.27 / $1 | 163.8K tokens | API only | 1 | View | ||
| 53 | Mistral Medium 3.5 Mistral AI | $1.5 / $7.5 | 256K tokens | API only | 7.5 | View | ||
| 54 | Mistral Small 4 Mistral AI | $0.15 / $0.6 | 256K tokens | API only | 0.6 | View | ||
| 55 | Qwen3 Coder Next Qwen | $0.12 / $0.8 | 262.1K tokens | API only | 0.8 | View | ||
| 56 | Mistral Large 3 2512 Mistral AI | $0.5 / $1.5 | 262.1K tokens | API only | 1.5 | View | ||
| 57 | Devstral 2 2512 Mistral AI | $0.4 / $2 | 262.1K tokens | API only | 2 | View | ||
| 58 | Ministral 3 14B 2512 Mistral AI | $0.2 / $0.2 | 262.1K tokens | API only | 0.2 | View | ||
| 59 | Ministral 3 8B 2512 Mistral AI | $0.15 / $0.15 | 262.1K tokens | API only | 0.15 | View | ||
| 60 | Ministral 3 3B 2512 Mistral AI | $0.1 / $0.1 | 131.1K tokens | API only | 0.1 | View |
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.
Models with this capability
The 147 models below all support this capability. Prices are input and output per 1M tokens from the vendor official price list; for dirhams multiply by 3.6725. Tap a card to open the model page.
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
Who this suits
Related filters
Frequently asked questions
How much does caching save?
What has to stay identical?
When is caching pointless?
How much can I realistically save?
Does caching change answers?
Frequently searched
Rate this page
Help us improve