Cached input is the price that decides an agent's bill, and on this catalog it runs from a free read to a fraction of the input rate depending on the developer; below is every chat model with a cache_read price, 138 ids from 19 developers, our rate next to the developer's list rate. Prices are read live from /v1/catalog when this page renders, so the figures are today's, not the day the page was written.
Why the cached rate, not the input rate, sets an agent's cost
A single question-and-answer turn is billed on three counts: fresh input tokens, cached input tokens and output tokens. In a one-shot call almost everything is fresh. In an agent loop the picture flips: the system prompt, the tool definitions and the growing transcript are sent again on every step, and only the newest tool result is new. After the first step most of the input is a repeat, and a repeat that the model's cache recognises is billed at pricing.cache_read instead of pricing.input.
There is no separate feature to switch on for the model-side prompt cache: when the SDK sends the same prefix twice within the developer's cache window, the cached tokens are reported in the response body's usage and billed at the cached rate. A model with no cached rate on the catalog bills repeated tokens at its full input rate, which is why a model that looks cheaper on the input column can cost more in a loop than a dearer model with a deep cache discount.
Two things differ from calling a developer directly. First, the cached rate here is our rate, read from the same row as the input and output rates; the table shows ours and the developer's list cached read side by side, and a few rows do not follow the input-column pattern, so read the row rather than assuming it. Second, on Anthropic-format requests a large system prompt that many accounts send can receive a cache breakpoint without the request asking for one, so those reads bill at the cached rate; the request can opt out per call, and no prompt text is stored, only hashes. The response cache, which answers an exact repeat of a whole request without calling a model, is a different feature and is described on /features/caching; this page is about the model-side prompt cache only.
How to read the tables
Each developer below gets one table, one row per id. The column to compare across developers is Cached input / 1M against Input / 1M on the same row; the ratio is what a loop saves. The two List columns are the developer's own published rates on the reading date, from the catalog's list_pricing field; an empty cell means the developer publishes no list price on record for that id, not that the developer has none.
Every id below is served at the same price in every wire format and on every route behind it, so a Claude id costs the same through the Anthropic SDK and the OpenAI SDK, and a failover never changes the rate.
Anthropic
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Claude Fable 5.2 | claude-fable-5.2 | $3.88 | $0.184 | $19.40 | $8.00 | $0.20 |
| Claude Haiku 4.5 | claude-haiku-4-5 | $0.60 | $0.06 | $3.00 | $1.00 | $0.10 |
| Claude Haiku 4.5 | claude-haiku-4-5-20251001 | $0.60 | $0.06 | $3.00 | $1.00 | $0.10 |
| Claude Haiku 5.5 | claude-haiku-5-5 | $0.0582 | $0.01 | $0.1455 | $0.10 | $0.01 |
| Claude Opus 4.7 | claude-opus-4-7 | $1.80 | $0.16 | $7.50 | $5.00 | $0.50 |
| Claude Opus 5 | claude-opus-5 | $1.80 | $0.16 | $7.50 | $5.00 | $0.50 |
| Claude Opus 5.5 | claude-opus-5-5 | $2.716 | $0.1455 | $9.70 | $4.00 | $0.20 |
| Claude Sonnet 4.6 | claude-sonnet-4-6 | $1.80 | $0.18 | $9.00 | $3.00 | $0.30 |
| Claude Sonnet 5 | claude-sonnet-5 | $1.20 | $0.12 | $3.00 | $2.00 | $0.20 |
| Claude Sonnet 5.5 | claude-sonnet-5-5 | $1.164 | $0.075 | $2.91 | $2.00 | $0.10 |
Anthropic publishes a cached-read rate for its models, and the catalog carries it in list_pricing.cache_read, so this table is the cleanest like-for-like comparison on the page. For a quick read: claude-sonnet-5-5 shows $0.075 cached against $1.164 fresh, with the developer's list cached read at $0.10.
OpenAI
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Codex Auto Review | codex-auto-review | $0.72 | $0.015616 | $1.12 | — | — |
| GPT 5.4 Nano | gpt-5.4-nano | $0.40 | $0.04 | $2.50 | — | — |
| GPT 5.6 | gpt-5.6 | $1.19994 | $0.260704 | $7.199472 | — | — |
| GPT 6.1 Terra | gpt-6.1-terra | $0.294116 | $0.029412 | $1.470588 | — | — |
| GPT 6.2 SOL | gpt-6.2-sol | $0.176472 | $0.011764 | $0.882352 | — | — |
| GPT-4.1 Nano | gpt-4.1-nano | $0.10 | $0.025 | $0.40 | $0.10 | $0.03 |
| GPT-4o | gpt-4o | $2.50 | $1.25 | $10.00 | $2.50 | $1.25 |
| GPT-5.3-Codex | gpt-5.3-codex | $1.75 | $0.18 | $14.00 | $1.75 | $0.175 |
| GPT-5.4 | gpt-5.4 | $1.50 | $0.15 | $9.00 | $2.50 | $0.25 |
| GPT-5.4 Mini | gpt-5.4-mini | $0.75 | $0.075 | $4.50 | $0.75 | $0.075 |
| GPT-5.5 | gpt-5.5 | $1.80 | $0.16 | $9.00 | $5.00 | $0.50 |
| GPT-5.6 Luna | gpt-5.6-luna | $0.12 | $0.012 | $0.72 | $0.20 | $0.02 |
| GPT-5.6 Terra | gpt-5.6-terra | $1.20 | $0.12 | $3.60 | $2.00 | $0.20 |
| GPT-6 Astra | gpt-6-astra | $3.00 | $0.30 | $15.00 | $10.00 | $1.00 |
| GPT-6 Astra Pro | gpt-6-astra-pro | $4.00 | $0.40 | $20.00 | — | — |
| GPT-6 Astra Pro Max | gpt-6-astra-promax | $5.882352 | $0.294116 | $29.411764 | — | — |
| GPT-6 Luna | gpt-6-luna | $0.0625 | $0.0125 | $0.20 | $0.10 | $0.01 |
| GPT-6 Luna Plus | gpt-6-luna-plus | $0.12 | $0.012 | $0.60 | — | — |
| GPT-6 Sol | gpt-6-sol | $0.60 | $0.12 | $3.00 | $2.00 | $0.20 |
| GPT-6.1 Sol | gpt-6.1-sol | $0.582 | $0.0582 | $2.91 | $2.00 | $0.10 |
| GPT-6.1 Sol Plus | gpt-6.1-sol-plus | $4.00 | $0.20 | $20.00 | — | — |
| GPT-6.1 Sol Pro | gpt-6.1-sol-pro | $0.80 | $0.04 | $4.00 | — | — |
| GPT-6.1 Sol Pro Max | gpt-6.1-sol-pro-max | $1.60 | $0.08 | $8.00 | — | — |
| gpt-oss-120b | gpt-oss-120b | $0.20 | $0.04 | $1.80 | — | — |
OpenAI's cached input is automatic on its side when a prefix repeats, and the same applies here. gpt-6.1-sol bills $0.0582 per million cached tokens against $0.582 fresh; the developer's list cached read is $0.10.
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Gemini 2.5 Flash | gemini-2.5-flash | $0.30 | $0.03 | $2.50 | $0.30 | $0.03 |
| Gemini 2.5 Flash Lite | gemini-2.5-flash-lite | $0.075 | $0.06 | $0.30 | $0.10 | — |
| Gemini 2.5 Pro | gemini-2.5-pro | $0.9375 | $0.09375 | $7.50 | $1.25 | $0.125 |
| Gemini 3.1 Flash Lite | gemini-3.1-flash-lite | $0.15 | $0.15 | $0.90 | $0.25 | — |
| Gemini 3.1 Flash Lite Preview | gemini-3.1-flash-lite-preview | $0.1875 | $0.01875 | $1.125 | $0.25 | $0.025 |
| Gemini 3.1 Pro Preview | gemini-3.1-pro-preview | $1.20 | $0.12 | $7.20 | $2.00 | $0.20 |
| Gemini 3.1 PRO Preview Customtools | gemini-3.1-pro-preview-customtools | $4.80 | $0.48 | $28.80 | — | — |
| Gemini 3.5 Flash | gemini-3.5-flash | $1.50 | $0.15 | $9.00 | $1.50 | $0.15 |
| Gemini 3.5 Flash Lite | gemini-3.5-flash-lite | $0.225 | $0.0225 | $1.875 | $0.30 | $0.03 |
| Gemini 4 Argon PRO | gemini-4-argon-pro | $1.764704 | $0.176472 | $8.823528 | — | — |
| Gemini 4 Carbon | gemini-4-carbon | $1.032588 | $0.386764 | $5.16294 | — | — |
| Gemini Flash Latest | gemini-flash-latest | $1.80 | $0.18 | $9.00 | — | — |
| Gemini Flash Lite Latest | gemini-flash-lite-latest | $0.72 | $0.072 | $6.00 | — | — |
| Gemini PRO Latest | gemini-pro-latest | $4.80 | $0.48 | $28.80 | — | — |
| Gemma 3 27B | gemma-3-27b-it | $1.20 | $0.80 | $1.20 | — | — |
| Gemma 3n E2B | gemma-3n-e2b-it | $0.12 | $0.00 | $0.08 | — | — |
| Gemma 3n E4B | gemma-3n-e4b-it | $0.20 | $0.00 | $0.16 | — | — |
| Gemma 4 12B | gemma-4-12b-it | $0.40 | $0.20 | $1.20 | — | — |
| Gemma 4 26B-A4B | gemma-4-26b-a4b-it | $0.56001 | $0.30546 | $1.60002 | — | — |
| Gemma 4 31B | gemma-4-31b-it | $3.000008 | $2.454552 | $4.000029 | — | — |
Google's rows are the widest spread on the page: the cached fraction of the input rate differs by model generation, and a handful of smaller Gemma ids on the catalog price a cached read at nothing. gemma-3n-e2b-it is one of them: $0.00 per million cached tokens against $0.12 fresh.
DeepSeek
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Deepseek Flash | deepseek-flash | $0.36 | $0.0072 | $1.44 | — | — |
| DeepSeek R1 | deepseek-r1 | $2.000035 | $1.0811 | $8.720244 | — | — |
| DeepSeek V3 | deepseek-v3 | $1.000017 | $0.521748 | $4.000128 | — | — |
| DeepSeek V3.1 | deepseek-v3.1 | $1.08 | $0.66 | $4.000064 | — | — |
| DeepSeek V3.1 Terminus | deepseek-v3.1-terminus | $1.080011 | $0.516527 | $4.000064 | — | — |
| DeepSeek V3.2 | deepseek-v3.2 | $1.08 | $0.240002 | $1.680063 | — | — |
| DeepSeek V3.2 Exp | deepseek-v3.2-exp | $1.080025 | $0.00 | $1.64004 | — | — |
| DeepSeek V4 Flash 0423 | deepseek-v4-flash | $0.30 | $0.006 | $1.20 | $0.30 | $0.006 |
| DeepSeek V4 Flash 0731 | deepseek-v4-flash-0731 | $0.08148 | $0.003334 | $0.1164 | $0.14 | $0.0028 |
| DeepSeek V4 Flash Vision Exp | deepseek-v4-flash-vision-exp | $0.21 | $0.0042 | $0.84 | $0.30 | $0.006 |
| DeepSeek V4 Pro 0423 | deepseek-v4-pro | $0.792 | $0.0264 | $2.376 | $1.32 | $0.044 |
| DeepSeek V4 Pro 0813 | deepseek-v4-pro-0813 | $0.792 | $0.0625 | $1.188 | $1.32 | $0.044 |
| DeepSeek V4.1 Flash | deepseek-v4.1-flash | $0.0564 | $0.00625 | $0.1692 | $0.30 | $0.006 |
| DeepSeek V4.1 Flash 1017 | deepseek-v4.1-flash-1017 | $0.2425 | $0.00582 | $1.164 | $0.30 | $0.006 |
DeepSeek's developer pricing has long had a deep cache discount, and the catalog's list column shows it. Compare deepseek-v4-pro-0813: ours $0.0625 cached, the developer's list cached read $0.044. This is one of the rows where the cached column should be read on its own rather than assumed from the input discount.
Qwen, Z.ai, Moonshot AI, xAI, MiniMax, Xiaomi
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Qwen Flash | qwen-flash | $0.16 | $0.0704 | $1.28 | — | — |
| Qwen2.5 7B Instruct | qwen2.5-7b-instruct | $0.20 | $0.20 | $0.20 | — | — |
| Qwen3.5 122B-A10B | qwen3.5-122b-a10b | $1.48 | $0.00 | $11.76 | — | — |
| Qwen3.5 27B | qwen3.5-27b | $1.12 | $0.00 | $8.80 | — | — |
| Qwen3.5 35B-A3B | qwen3.5-35b-a3b | $0.72 | $0.44 | $1.84 | — | — |
| Qwen3.5 Flash | qwen3.5-flash | $0.36 | $0.08 | $1.48 | — | — |
| Qwen3.6 35B-A3B | qwen3.6-35b-a3b | $1.08 | $0.48 | $6.28 | — | — |
| Qwen3.7 Max | qwen3.7-max | $0.64706 | $0.0885 | $1.941176 | $1.475 | $0.295 |
| Qwen3.7 Plus | qwen3.7-plus | $0.40 | $0.08 | $1.60 | $0.32 | $0.064 |
| Qwen3.8 27B | qwen3.8-27b | $0.48 | $0.10 | $3.20 | — | — |
| Qwen3.8 27B Swift | qwen3.8-27b-swift | $1.00 | $0.52 | $6.00 | — | — |
| Qwen3.8 Max | qwen3.8-max | $0.80 | $0.60 | $2.40 | $2.00 | — |
| Qwen3.8 Max (0902) | qwen3.8-max-0902 | $2.054795 | $0.075 | $6.164384 | $2.00 | $0.25 |
| Qwen4 MAX | qwen4-max | $1.388236 | $0.048 | $4.164704 | — | — |
| Qwen4 MAX Preview | qwen4-max-preview | $3.235296 | $3.235296 | $9.705884 | — | — |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| GLM 4.5 | glm-4.5 | $1.92 | $0.352 | $7.04 | — | — |
| GLM 5 | glm-5 | $0.382352 | $0.076472 | $1.223528 | — | — |
| GLM 5.1 | glm-5.1 | $0.382352 | $0.325 | $1.20168 | $0.966 | $0.1794 |
| GLM 5.2 | glm-5.2 | $0.24 | $0.068 | $0.60 | $0.60 | $0.15 |
| GLM 5.3 | glm-5.3 | $0.317772 | $0.06596 | $0.998712 | $1.092 | $0.2028 |
| GLM 5.3 Flash | glm-5.3-flash | $0.0873 | $0.010864 | $0.1455 | $0.15 | $0.03 |
| GLM 5.3 FlashX | glm-5.3-flashx | $0.047887 | $0.045 | $0.15962 | $0.075 | — |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Kimi K2.6 | kimi-k2.6 | $0.95 | $0.16 | $4.00 | $0.95 | $0.16 |
| Kimi K2.7 | kimi-k2.7 | $0.475 | $0.0475 | $2.00 | $0.95 | $0.095 |
| Kimi K2.7 Code | kimi-k2.7-code | $0.42598 | $0.085196 | $1.7936 | $0.95 | $0.19 |
| Kimi K2.7 Code Highspeed | kimi-k2.7-code-highspeed | $6.08 | $1.216 | $25.60 | — | — |
| Kimi K2.8 | kimi-k2.8 | $0.529412 | $0.488 | $2.571764 | — | — |
| Kimi K3 | kimi-k3 | $0.90 | $0.12 | $4.50 | $3.00 | $0.30 |
| Kimi K3.1 | kimi-k3-1 | $0.723528 | $0.072352 | $3.617648 | — | — |
| Kimi K3.1 Pro | kimi-k3.1-pro | $0.97 | $0.097 | $4.85 | $2.00 | $0.20 |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Grok 4.3 | grok-4.3 | $1.875 | $0.30 | $3.75 | $1.25 | $0.20 |
| Grok 4.5 | grok-4.5 | $0.60 | $0.09 | $1.80 | $2.00 | $0.30 |
| Grok 4.6 | grok-4.6 | $0.60 | $0.15 | $1.80 | $2.00 | $0.50 |
| Grok 4.7 | grok-4.7 | $0.60 | $0.15 | $1.80 | $2.00 | $0.50 |
| Grok 4.7 Build Fast | grok-4.7-build-fast | $2.00 | $0.20 | $6.00 | $4.00 | $0.40 |
| Grok 4.7 Heavy | grok-4.7-heavy | $0.72 | $0.18 | $2.16 | — | — |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| MiniMax M2.1 | minimax-m2.1 | $0.45 | $0.045 | $1.80 | $0.30 | $0.03 |
| MiniMax M2.5 | minimax-m2.5 | $0.405 | $0.0405 | $1.62 | $0.30 | $0.03 |
| MiniMax M2.7 | minimax-m2.7 | $0.315 | $0.063 | $1.26 | $0.30 | $0.06 |
| MiniMax M3 | minimax-m3 | $0.09 | $0.018 | $0.36 | $0.30 | $0.06 |
| Minimax M3.1 Flash | minimax-m3.1-flash | $0.105 | $0.0105 | $0.42 | $0.15 | $0.015 |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| MiMo V2.6 Flash | mimo-v2.6-flash | $0.084 | $0.0025 | $0.12 | $0.14 | $0.0028 |
| MiMo V2.6 Pro | mimo-v2.6-pro | $0.261 | $0.00375 | $0.40 | $0.435 | $0.0036 |
| MiMo-V2.5 | mimo-v2.5 | $0.175 | $0.011802 | $0.35 | $0.14 | $0.0028 |
| MiMo-V2.5-Pro | mimo-v2.5-pro | $0.261 | $0.00216 | $0.522 | $0.435 | $0.0036 |
These developers publish a cached rate for some or all of their models, so the list column fills in where the catalog has it. kimi-k3 is a useful anchor for a long-context agent: $0.12 cached against $0.90 fresh, over a 1M-token window.
Meta, NVIDIA, Tencent, ByteDance, Mistral and the rest
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Llama 3.2 3B Instruct | llama-3.2-3b-instruct | $0.08 | $0.00 | $0.20 | — | — |
| Llama 3.3 70B Instruct | llama-3.3-70b-instruct | $0.40 | $0.20 | $1.28 | — | — |
| Muse Glimmer 30B | muse-glimmer-30b | $1.50003 | $0.200004 | $1.50 | — | — |
| Muse Spark Open | muse-spark-open | $4.375 | $0.525 | $14.875 | — | — |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Nemotron 3 Ultra 550B | nemotron-3-ultra-550b-a55b | $1.50 | $0.30 | $1.50 | — | — |
| Nemotron 3.5 Content Safety | nemotron-3.5-content-safety | $1.50 | $0.75 | $1.50 | — | — |
| Nemotron 3.5 Lightning 30B A3B | nemotron-3.5-lightning-30b-a3b | $1.50 | $1.50 | $1.50 | — | — |
| Nemotron 3.5 Super VL | nemotron-3.5-super-vl | $0.225 | $0.03 | $0.75 | $0.15 | $0.02 |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Hy3 | hy3 | $0.10625 | $0.02625 | $0.44 | $0.139 | $0.035 |
| Hy4 | hy4 | $1.155 | $0.05825 | $3.465 | — | — |
| HY4 Flash | hy4-flash | $0.111764 | $0.089412 | $0.44706 | — | — |
| Hy4 preview | hy4-preview | $1.251 | $0.063 | $3.7515 | $0.834 | $0.042 |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Doubao Seed 2.0 Code Preview | doubao-seed-2-0-code-preview-260215 | $1.52 | $0.304 | $7.60 | — | — |
| Doubao Seed 2.0 Mini | doubao-seed-2.0-mini | $0.096 | $0.096 | $0.896 | — | — |
| Doubao Seed Character | doubao-seed-character | $0.525 | $0.0875 | $1.29501 | — | — |
| Model | id | Input / 1M | Cached input / 1M | Output / 1M | List input | List cached input |
|---|---|---|---|---|---|---|
| Devstral 2 2512 | devstral-2512 | $0.60 | $0.00 | $2.40 | — | — |
| Ministral 14B 2512 | ministral-14b-2512 | $0.20 | $0.02 | $0.20 | $0.20 | $0.02 |
Open-weight models hosted behind the catalog carry a cached rate set by the route, not by the developer, so most list cells here are dashes. Meta's llama-3.3-70b-instruct is a typical row: $0.20 cached against $0.40 fresh, 1/2 of input, with no developer list figure to compare against.
A worked example: one agent step, fifty times
Take an agent with a 6,000-token system prompt and tool block, a transcript averaging 14,000 tokens, and 400 output tokens per step, for 50 steps: roughly 20,000 input tokens per step, almost all a repeat after the first. With the cache doing its job, the run is one step of 20,000 fresh tokens and 49 steps where about 18,000 tokens read from cache and about 2,000 are fresh.
| Model | All input billed fresh (1,000,000 in, 20,000 out) | With cached reads (118,000 fresh, 882,000 cached, 20,000 out) |
|---|---|---|
claude-sonnet-5-5 | $1.22 | $0.2617 |
gpt-6.1-sol | $0.6402 | $0.1782 |
gemini-3.1-pro-preview | $1.34 | $0.3914 |
deepseek-v4-pro-0813 | $0.8158 | $0.1723 |
kimi-k3 | $0.99 | $0.302 |
The second column is the one to budget against. The token counts above are an example; for your own prompt sizes the cost calculator takes fresh, cached and output counts and prices them on any id.
Seeing the cached count on your own requests
Nothing changes in the request. Send the same prefix twice with the OpenAI SDK and read the body's usage on the second response; the cached token count appears there as usage.prompt_tokens_details.cached_tokens, and the body's usage.cost is the charge in dollars for that call.
from openai import OpenAI
client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key="sk-uplink-live-...")
system = open("system_prompt.txt").read() # a long, stable prefix
for question in ["First question.", "Second question."]:
r = client.chat.completions.create(
model="claude-sonnet-5-5",
messages=[{"role": "system", "content": system},
{"role": "user", "content": question}],
)
print(r.usage)Anthropic-format requests may still set cache_control breakpoints exactly as the Anthropic SDK does; where a request sets none, the shared-prefix rule above may add one for a prompt many accounts send. Each billed request's token split, fresh, cached and output, is also on the request id in the response headers, looked up afterwards in the usage log.
Where the cached rate does not help
- Prompts that change at the top. A timestamp or a user name at the start of the system prompt defeats the cache from the first token. Put stable content first, variable content last.
- Gaps longer than the cache window. A cache that is not touched for the developer's time-to-live expires, and the next step is all fresh input. For Claude Code the default window is five minutes.
For the choice of model itself, which is a separate question from how it caches, see the provider comparison and the full price index.