Prompt caching LLM API pricing

All 227 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

227

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.05 from$0.25 from23.830.478%18 providers
gpt-oss-20bOpenAI131K$0.01 from$0.07 from14.920.769%12 providers
R1DeepSeek164K$0.40 from$0.40 from20.1n/a81%12 providers
DeepSeekDeepSeek164K$0.20 from$0.20 fromn/an/an/a9 providers
Gemini 2.5 FlashGoogle1M$0.15 from$0.60 from14.1n/a68%8 providers
R1 0528DeepSeek164K$0.20 from$0.25 fromn/an/an/a8 providers
Claude Sonnet 4.5Anthropic1M$3.00 from$15.00 fromn/an/an/a8 providers
Claude Haiku 4.5Anthropic200K$1.00 from$5.00 fromn/an/an/a7 providers
Gemini 2.5 ProGoogle1M$1.25 from$10.00 from25.833.384%7 providers
Claude Opus 4.5Anthropic410K$5.00 from$25.00 from34.7n/a81%7 providers
DeepSeek V3.2DeepSeek164K$0.27 from$0.40 from24.7n/a75%6 providers
GLM 4.6Zhipu205K$0.40 from$1.75 from23.0n/a63%6 providers
GPT-5OpenAI410K$1.25 from$10.00 from34.737.885%6 providers
GPT-4oOpenAI131K$2.50 from$10.00 from11.2n/a54%6 providers
Claude Sonnet 4.6Anthropic1M$3.00 from$15.00 from35.9n/a80%6 providers
Claude Opus 4.6Anthropic1M$5.00 from$25.00 from37.8n/a84%6 providers
Claude Opus 4.1Anthropic200K$15.00 from$75.00 from28.2n/an/a6 providers
GPT-5 NanoOpenAI272K$0.05 from$0.40 from19.9n/a68%5 providers
GPT-4.1 NanoOpenAI1M$0.10 from$0.40 from9.611.151%5 providers
GPT-4o-miniOpenAI131K$0.15 from$0.60 from6.911.443%5 providers
GPT-5 MiniOpenAI272K$0.25 from$2.00 from25.315.683%5 providers
GPT-4.1 MiniOpenAI1M$0.40 from$1.60 from14.820.266%5 providers
GLM 4.7Zhipu205K$0.40 from$1.50 from33.745.386%5 providers
Gemini 3 Flash PreviewGoogle1M$0.50 from$3.00 fromn/an/an/a5 providers
Gemini 3 Pro PreviewGoogle1M$2.00 from$12.00 fromn/an/an/a5 providers
Mistral LargeMistral131K$2.00 from$6.00 from4.4n/a35%5 providers
GPT-4.1OpenAI1M$2.00 from$8.00 from19.4n/a67%5 providers
Claude Sonnet 4Anthropic1M$3.00 from$15.00 fromn/an/an/a5 providers
Claude 3.7 SonnetAnthropic200K$3.00 from$15.00 from23.5n/a66%5 providers
Claude 3.5 SonnetAnthropic200K$3.00 from$15.00 fromn/an/an/a5 providers
Grok 4xAI256K$3.00 from$15.00 from33.3n/a88%5 providers
Claude Opus 4.7Anthropic1M$5.00 from$25.00 from53.573.691%5 providers
Claude Opus 4Anthropic410K$15.00 from$75.00 fromn/an/an/a5 providers
o1OpenAI200K$15.00 from$60.00 from23.439.775%5 providers
Gemini 2.0 Flash 001Google1M$0.10 from$0.40 fromn/an/an/a4 providers
MiniMax M2MiniMax205K$0.26 from$1.02 from28.3n/a78%4 providers
MiniMax M2.1MiniMax1M$0.27 from$1.20 from31.4n/a83%4 providers
DeepSeek V4 ProDeepSeek1M$0.43 from$0.87 from44.359.489%4 providers
GPT-3.5 TurboOpenAI16K$0.50 from$1.50 fromn/an/an/a4 providers
o4 MiniOpenAI200K$1.00 from$4.00 from25.6n/a78%4 providers
o3 MiniOpenAI200K$1.10 from$4.40 from19.0n/a75%4 providers
GPT-5.1OpenAI410K$1.25 from$10.00 from36.949.487%4 providers
GPT-5.2OpenAI410K$1.75 from$14.00 from42.2n/a90%4 providers
Claude Sonnet 5Anthropic1M$2.00 from$10.00 from53.471.591%4 providers
Gemini 3.1 Pro PreviewGoogle1M$2.00 from$12.00 from46.568.894%4 providers
Claude 4 SonnetAnthropic200K$3.00 from$15.00 from25.5n/a68%4 providers
Claude Opus 4.8Anthropic1M$5.00 from$25.00 from55.774.392%4 providers
Claude Fable 5Anthropic1M$10.00 from$50.00 from59.976.593%4 providers
GLM 4.7 FlashZhipu200K$0.00 from$0.00 from22.9n/a58%3 providers
Nova Micro 1.0Amazon128K$0.04 from$0.14 from4.7n/a36%3 providers
gpt-oss-120b
OpenAI · 131K CTX
Input $/1M
$0.05from
Output $/1M
$0.25from
Intelligence23.818 providers
gpt-oss-20b
OpenAI · 131K CTX
Input $/1M
$0.01from
Output $/1M
$0.07from
Intelligence14.912 providers
R1
DeepSeek · 164K CTX
Input $/1M
$0.40from
Output $/1M
$0.40from
Intelligence20.112 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.18 providers
R1 0528
DeepSeek · 164K CTX
Input $/1M
$0.20from
Output $/1M
$0.25from
Intelligencen/a8 providers
Claude Sonnet 4.5
Anthropic · 1M CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligencen/a8 providers
Claude Haiku 4.5
Anthropic · 200K CTX
Input $/1M
$1.00from
Output $/1M
$5.00from
Intelligencen/a7 providers
Gemini 2.5 Pro
Google · 1M CTX
Input $/1M
$1.25from
Output $/1M
$10.00from
Intelligence25.87 providers
Claude Opus 4.5
Anthropic · 410K CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence34.77 providers
DeepSeek V3.2
DeepSeek · 164K CTX
Input $/1M
$0.27from
Output $/1M
$0.40from
Intelligence24.76 providers
GLM 4.6
Zhipu · 205K CTX
Input $/1M
$0.40from
Output $/1M
$1.75from
Intelligence23.06 providers
GPT-5
OpenAI · 410K CTX
Input $/1M
$1.25from
Output $/1M
$10.00from
Intelligence34.76 providers
GPT-4o
OpenAI · 131K CTX
Input $/1M
$2.50from
Output $/1M
$10.00from
Intelligence11.26 providers
Claude Sonnet 4.6
Anthropic · 1M CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligence35.96 providers
Claude Opus 4.6
Anthropic · 1M CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence37.86 providers
Claude Opus 4.1
Anthropic · 200K CTX
Input $/1M
$15.00from
Output $/1M
$75.00from
Intelligence28.26 providers
GPT-5 Nano
OpenAI · 272K CTX
Input $/1M
$0.05from
Output $/1M
$0.40from
Intelligence19.95 providers
GPT-4.1 Nano
OpenAI · 1M CTX
Input $/1M
$0.10from
Output $/1M
$0.40from
Intelligence9.65 providers
GPT-4o-mini
OpenAI · 131K CTX
Input $/1M
$0.15from
Output $/1M
$0.60from
Intelligence6.95 providers
GPT-5 Mini
OpenAI · 272K CTX
Input $/1M
$0.25from
Output $/1M
$2.00from
Intelligence25.35 providers
GPT-4.1 Mini
OpenAI · 1M CTX
Input $/1M
$0.40from
Output $/1M
$1.60from
Intelligence14.85 providers
GLM 4.7
Zhipu · 205K CTX
Input $/1M
$0.40from
Output $/1M
$1.50from
Intelligence33.75 providers
Gemini 3 Flash Preview
Google · 1M CTX
Input $/1M
$0.50from
Output $/1M
$3.00from
Intelligencen/a5 providers
Gemini 3 Pro Preview
Google · 1M CTX
Input $/1M
$2.00from
Output $/1M
$12.00from
Intelligencen/a5 providers
Mistral Large
Mistral · 131K CTX
Input $/1M
$2.00from
Output $/1M
$6.00from
Intelligence4.45 providers
GPT-4.1
OpenAI · 1M CTX
Input $/1M
$2.00from
Output $/1M
$8.00from
Intelligence19.45 providers
Claude Sonnet 4
Anthropic · 1M CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligencen/a5 providers
Claude 3.7 Sonnet
Anthropic · 200K CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligence23.55 providers
Claude 3.5 Sonnet
Anthropic · 200K CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligencen/a5 providers
Grok 4
xAI · 256K CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligence33.35 providers
Claude Opus 4.7
Anthropic · 1M CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence53.55 providers
Claude Opus 4
Anthropic · 410K CTX
Input $/1M
$15.00from
Output $/1M
$75.00from
Intelligencen/a5 providers
o1
OpenAI · 200K CTX
Input $/1M
$15.00from
Output $/1M
$60.00from
Intelligence23.45 providers
Gemini 2.0 Flash 001
Google · 1M CTX
Input $/1M
$0.10from
Output $/1M
$0.40from
Intelligencen/a4 providers
MiniMax M2
MiniMax · 205K CTX
Input $/1M
$0.26from
Output $/1M
$1.02from
Intelligence28.34 providers
MiniMax M2.1
MiniMax · 1M CTX
Input $/1M
$0.27from
Output $/1M
$1.20from
Intelligence31.44 providers
DeepSeek V4 Pro
DeepSeek · 1M CTX
Input $/1M
$0.43from
Output $/1M
$0.87from
Intelligence44.34 providers
GPT-3.5 Turbo
OpenAI · 16K CTX
Input $/1M
$0.50from
Output $/1M
$1.50from
Intelligencen/a4 providers
o4 Mini
OpenAI · 200K CTX
Input $/1M
$1.00from
Output $/1M
$4.00from
Intelligence25.64 providers
o3 Mini
OpenAI · 200K CTX
Input $/1M
$1.10from
Output $/1M
$4.40from
Intelligence19.04 providers
GPT-5.1
OpenAI · 410K CTX
Input $/1M
$1.25from
Output $/1M
$10.00from
Intelligence36.94 providers
GPT-5.2
OpenAI · 410K CTX
Input $/1M
$1.75from
Output $/1M
$14.00from
Intelligence42.24 providers
Claude Sonnet 5
Anthropic · 1M CTX
Input $/1M
$2.00from
Output $/1M
$10.00from
Intelligence53.44 providers
Gemini 3.1 Pro Preview
Google · 1M CTX
Input $/1M
$2.00from
Output $/1M
$12.00from
Intelligence46.54 providers
Claude 4 Sonnet
Anthropic · 200K CTX
Input $/1M
$3.00from
Output $/1M
$15.00from
Intelligence25.54 providers
Claude Opus 4.8
Anthropic · 1M CTX
Input $/1M
$5.00from
Output $/1M
$25.00from
Intelligence55.74 providers
Claude Fable 5
Anthropic · 1M CTX
Input $/1M
$10.00from
Output $/1M
$50.00from
Intelligence59.94 providers
GLM 4.7 Flash
Zhipu · 200K CTX
Input $/1M
$0.00from
Output $/1M
$0.00from
Intelligence22.93 providers
Nova Micro 1.0
Amazon · 128K CTX
Input $/1M
$0.04from
Output $/1M
$0.14from
Intelligence4.73 providers
150 of 227 models
Page 1 of 5
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