Prompt caching LLM API pricing

All 335 models that cache repeated prompt context (prompt caching), cutting the cost of resending the same system prompt or documents on every call, cheapest input from $0.00 per 1M tokens. Sort by price, context window or benchmark, filter by maker, and copy the exact model ID for any serving provider. Verified against LiteLLM and OpenRouter daily.

Models

335

with prompt caching

Cheapest input

$0.00

per 1M tokens

Cheapest output

$0.00

per 1M tokens

Max context

2.1M

tokens

Maker
gpt-oss-120bOpenAI131K$0.03 from$0.17 from24.130.478%19 providers
gpt-oss-20bOpenAI131K$0.01 from$0.07 from15.220.769%13 providers
R1DeepSeek164K$0.40 from$0.40 from20.4n/a81%13 providers
DeepSeek V4 Flash 0423DeepSeek1M$0.08 from$0.17 from51.869.191%12 providers
DeepSeek V3 0324DeepSeek164K$0.20 from$0.40 from15.221.265%11 providers
DeepSeek V4 Pro 0423DeepSeek1M$0.43 from$0.87 from53.268.893%10 providers
GLM 5.2Zhipu1M$0.61 from$1.98 from52.668.889%10 providers
Gemma 4 31BGoogle262K$0.00 from$0.00 fromn/an/an/a9 providers
DeepSeekDeepSeek164K$0.20 from$0.20 fromn/an/an/a9 providers
Gemini 2.5 FlashGoogle1M$0.15 from$0.60 from14.2n/a68%8 providers
R1 0528DeepSeek164K$0.20 from$0.25 fromn/an/an/a8 providers
MiniMax M3MiniMax1M$0.23 from$0.96 from45.458.693%8 providers
Kimi K2.5Moonshot262K$0.45 from$2.25 from36.046.888%8 providers
Kimi K2.6Moonshot262K$0.65 from$3.40 from45.161.891%8 providers
Kimi K2.7 CodeMoonshot262K$0.66 from$3.40 from43.060.890%8 providers
Claude Haiku 4.5Anthropic200K$1.00 from$5.00 fromn/an/an/a8 providers
Claude Sonnet 4.5Anthropic1M$3.00 from$15.00 fromn/an/an/a8 providers
Claude Sonnet 4.6Anthropic1M$3.00 from$15.00 from36.8n/a80%8 providers
DeepSeek V4 Flash 0731DeepSeek1M$0.04 from$0.09 fromn/an/an/a7 providers
DeepSeek V3.2DeepSeek164K$0.26 from$0.38 from25.1n/a75%7 providers
GLM 4.6Zhipu205K$0.43 from$1.75 from23.4n/a63%7 providers
Kimi K2 ThinkingMoonshot262K$0.60 from$1.20 from33.5n/a84%7 providers
Gemini 2.5 ProGoogle1M$1.25 from$10.00 from25.933.384%7 providers
Claude Sonnet 5Anthropic1M$2.00 from$10.00 from55.371.591%7 providers
Kimi K3Moonshot1M$2.85 from$14.25 from59.776.294%7 providers
Claude Opus 4.5Anthropic410K$5.00 from$25.00 from35.6n/a81%7 providers
Claude Opus 4.6Anthropic1M$5.00 from$25.00 from38.8n/a84%7 providers
Claude Opus 4.7Anthropic1M$5.00 from$25.00 from55.073.691%7 providers
Claude Opus 4.8Anthropic1M$5.00 from$25.00 from57.374.392%7 providers
Claude Opus 5Anthropic1M$5.00 from$25.00 from63.078.093%7 providers
Claude Fable 5Anthropic1M$10.00 from$50.00 from62.176.593%7 providers
GPT-4o-miniOpenAI131K$0.15 from$0.60 from6.711.443%6 providers
Qwen3.6 27BAlibaba262K$0.15 from$0.50 from37.753.784%6 providers
MiniMax M2.5MiniMax1M$0.27 from$1.08 from34.5n/a85%6 providers
GLM 4.7Zhipu205K$0.40 from$1.75 from34.545.386%6 providers
GPT-5OpenAI410K$1.25 from$10.00 from35.337.885%6 providers
GPT-4oOpenAI131K$2.50 from$10.00 from11.1n/a54%6 providers
Claude Opus 4.1Anthropic200K$15.00 from$75.00 from28.8n/an/a6 providers
GLM 4.7 FlashZhipu203K$0.00 from$0.00 from23.3n/a58%5 providers
GPT-5 NanoOpenAI272K$0.05 from$0.40 from20.1n/a68%5 providers
GPT-4.1 NanoOpenAI1M$0.10 from$0.40 from9.611.151%5 providers
GLM 4.5 AirZhipu131K$0.13 from$0.45 from16.7n/a73%5 providers
Qwen3 VL 235B A22B InstructAlibaba262K$0.20 from$0.88 from14.4n/a71%5 providers
GPT-5 MiniOpenAI272K$0.25 from$2.00 from25.815.683%5 providers
Gemini 3.1 Flash LiteGoogle1M$0.25 from$1.50 fromn/an/an/a5 providers
MiniMax M2.7MiniMax1M$0.25 from$0.55 from38.952.687%5 providers
Qwen3.5 397B A17BAlibaba262K$0.39 from$2.34 from34.348.289%5 providers
GPT-4.1 MiniOpenAI1M$0.40 from$1.60 from14.820.266%5 providers
Gemini 3 Flash PreviewGoogle1M$0.50 from$3.00 fromn/an/an/a5 providers
GLM 5Zhipu203K$0.60 from$1.92 from40.5n/a82%5 providers
gpt-oss-120b
OpenAI · 131K CTX
Input $/1M
$0.03from
Output $/1M
$0.17from
Intelligence24.119 providers
gpt-oss-20b
OpenAI · 131K CTX
Input $/1M
$0.01from
Output $/1M
$0.07from
Intelligence15.213 providers
R1
DeepSeek · 164K CTX
Input $/1M
$0.40from
Output $/1M
$0.40from
Intelligence20.413 providers
DeepSeek V4 Flash 0423
DeepSeek · 1M CTX
Input $/1M
$0.08from
Output $/1M
$0.17from
Intelligence51.812 providers
DeepSeek V3 0324
DeepSeek · 164K CTX
Input $/1M
$0.20from
Output $/1M
$0.40from
Intelligence15.211 providers
DeepSeek V4 Pro 0423
DeepSeek · 1M CTX
Input $/1M
$0.43from
Output $/1M
$0.87from
Intelligence53.210 providers
GLM 5.2
Zhipu · 1M CTX
Input $/1M
$0.61from
Output $/1M
$1.98from
Intelligence52.610 providers
Gemma 4 31B
Google · 262K CTX
Input $/1M
$0.00from
Output $/1M
$0.00from
Intelligencen/a9 providers
DeepSeek
DeepSeek · 164K CTX
Input $/1M
$0.20from
Output $/1M
$0.20from
Intelligencen/a9 providers
Gemini 2.5 Flash
Google · 1M CTX
Input $/1M
$0.15from
Output $/1M
$0.60from
Intelligence14.28 providers
R1 0528
DeepSeek · 164K CTX
Input $/1M
$0.20from
Output $/1M
$0.25from
Intelligencen/a8 providers
MiniMax M3
MiniMax · 1M CTX
Input $/1M
$0.23from
Output $/1M
$0.96from
Intelligence45.48 providers
Kimi K2.5
Moonshot · 262K CTX
Input $/1M
$0.45from
Output $/1M
$2.25from
Intelligence36.08 providers
Kimi K2.6
Moonshot · 262K CTX
Input $/1M
$0.65from
Output $/1M
$3.40from
Intelligence45.18 providers
Kimi K2.7 Code
Moonshot · 262K CTX
Input $/1M
$0.66from
Output $/1M
$3.40from
Intelligence43.08 providers
Claude Haiku 4.5
Anthropic · 200K CTX
Input $/1M
$1.00from
Output $/1M
$5.00from
Intelligencen/a8 providers
Claude Sonnet 4.5
Anthropic · 1M CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligencen/a8 providers
Claude Sonnet 4.6
Anthropic · 1M CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligence36.88 providers
DeepSeek V4 Flash 0731
DeepSeek · 1M CTX
Input $/1M
$0.04from
Output $/1M
$0.09from
Intelligencen/a7 providers
DeepSeek V3.2
DeepSeek · 164K CTX
Input $/1M
$0.26from
Output $/1M
$0.38from
Intelligence25.17 providers
GLM 4.6
Zhipu · 205K CTX
Input $/1M
$0.43from
Output $/1M
$1.75from
Intelligence23.47 providers
Kimi K2 Thinking
Moonshot · 262K CTX
Input $/1M
$0.60from
Output $/1M
$1.20from
Intelligence33.57 providers
Gemini 2.5 Pro
Google · 1M CTX
Input $/1M
$1.25from
Output $/1M
$10.00from
Intelligence25.97 providers
Claude Sonnet 5
Anthropic · 1M CTX
Input $/1M
$2.00from
Output $/1M
$10.00from
Intelligence55.37 providers
Kimi K3
Moonshot · 1M CTX
Input $/1M
$2.85from
Output $/1M
$14.25from
Intelligence59.77 providers
Claude Opus 4.5
Anthropic · 410K CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence35.67 providers
Claude Opus 4.6
Anthropic · 1M CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence38.87 providers
Claude Opus 4.7
Anthropic · 1M CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence55.07 providers
Claude Opus 4.8
Anthropic · 1M CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence57.37 providers
Claude Opus 5
Anthropic · 1M CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence63.07 providers
Claude Fable 5
Anthropic · 1M CTX
Input $/1M
$10.00from
Output $/1M
$50.00from
Intelligence62.17 providers
GPT-4o-mini
OpenAI · 131K CTX
Input $/1M
$0.15from
Output $/1M
$0.60from
Intelligence6.76 providers
Qwen3.6 27B
Alibaba · 262K CTX
Input $/1M
$0.15from
Output $/1M
$0.50from
Intelligence37.76 providers
MiniMax M2.5
MiniMax · 1M CTX
Input $/1M
$0.27from
Output $/1M
$1.08from
Intelligence34.56 providers
GLM 4.7
Zhipu · 205K CTX
Input $/1M
$0.40from
Output $/1M
$1.75from
Intelligence34.56 providers
GPT-5
OpenAI · 410K CTX
Input $/1M
$1.25from
Output $/1M
$10.00from
Intelligence35.36 providers
GPT-4o
OpenAI · 131K CTX
Input $/1M
$2.50from
Output $/1M
$10.00from
Intelligence11.16 providers
Claude Opus 4.1
Anthropic · 200K CTX
Input $/1M
$15.00from
Output $/1M
$75.00from
Intelligence28.86 providers
GLM 4.7 Flash
Zhipu · 203K CTX
Input $/1M
$0.00from
Output $/1M
$0.00from
Intelligence23.35 providers
GPT-5 Nano
OpenAI · 272K CTX
Input $/1M
$0.05from
Output $/1M
$0.40from
Intelligence20.15 providers
GPT-4.1 Nano
OpenAI · 1M CTX
Input $/1M
$0.10from
Output $/1M
$0.40from
Intelligence9.65 providers
GLM 4.5 Air
Zhipu · 131K CTX
Input $/1M
$0.13from
Output $/1M
$0.45from
Intelligence16.75 providers
Qwen3 VL 235B A22B Instruct
Alibaba · 262K CTX
Input $/1M
$0.20from
Output $/1M
$0.88from
Intelligence14.45 providers
GPT-5 Mini
OpenAI · 272K CTX
Input $/1M
$0.25from
Output $/1M
$2.00from
Intelligence25.85 providers
Gemini 3.1 Flash Lite
Google · 1M CTX
Input $/1M
$0.25from
Output $/1M
$1.50from
Intelligencen/a5 providers
MiniMax M2.7
MiniMax · 1M CTX
Input $/1M
$0.25from
Output $/1M
$0.55from
Intelligence38.95 providers
Qwen3.5 397B A17B
Alibaba · 262K CTX
Input $/1M
$0.39from
Output $/1M
$2.34from
Intelligence34.35 providers
GPT-4.1 Mini
OpenAI · 1M CTX
Input $/1M
$0.40from
Output $/1M
$1.60from
Intelligence14.85 providers
Gemini 3 Flash Preview
Google · 1M CTX
Input $/1M
$0.50from
Output $/1M
$3.00from
Intelligencen/a5 providers
GLM 5
Zhipu · 203K CTX
Input $/1M
$0.60from
Output $/1M
$1.92from
Intelligence40.55 providers
150 of 335 models
Page 1 of 7
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI