Home / Guides / AI Model Price Comparison
AI Model Price Comparison
A model's headline price is only useful if you know which token types it covers. This page explains the unit used in the API Token Route catalog, compares the Claude, GPT, Gemini and DeepSeek families, and shows how cached input changes what you actually pay.
API Token Route lists every text model in USD per 1 million tokens, split into input, output and cached-input prices. The tables on this page come from the same pricing file the gateway bills against. Compare output price first for generation-heavy work, cached-input price for long agent loops, and input price last. Use the live table rather than remembered numbers.
How to read a per-1M-token price
Every text model in the catalog is billed per token and quoted per 1,000,000 tokens. Three columns matter:
| Token type | What it counts | When it applies |
|---|---|---|
| Input (uncached) | Prompt tokens not served from a cache | First call, changed prompts, fresh context |
| Cached input / cache read | Prompt tokens read from a provider cache | Repeated prefixes, long system prompts, agent loops |
| Output | Tokens generated by the model | Every response |
Two details prevent most bill surprises. A 1M-token price is not a package: 10,000 input tokens cost one hundredth of the input price. And input and output are separate meters, so a cheap input price does not make a verbose model cheap. Use the live pricing page and the model catalog for current numbers.
Some models also apply a long-context multiplier above a stored threshold. A very large prompt can therefore cost more per token than the base table suggests.
Flagship models side by side
The table below is the catalog's flagship grouping, generated at render time from the same pricing data the gateway bills against.
| Model / ID | Input | Output | Cache read | Context | Discount |
|---|---|---|---|---|---|
Claude Sonnet 5.5claude-sonnet-5-5 | $0.576 | $2.88 | $0.0288 | 1.0M | -71% |
Claude Opus 5.5claude-opus-5-5 | $1.16 | $5.8 | $0.058 | 1.0M | -71% |
Claude Fable 5.2claude-fable-5-2 | $2.432 | $12.16 | $0.0608 | 1.0M | -70% |
GPT 6.2 Astragpt-6.2-astra | $1.28 | $6.4 | $0.064 | 1.0M | -84% |
GPT 6.2 Solgpt-6.2-sol | $0.32 | $1.6 | $0.016 | 1.0M | -84% |
Gemini 4 Neongemini-4-neon | $0.849 | $4.245 | $0.04245 | 1.0M | -72% |
DeepSeek V4 Pro 正式版deepseek-v4-pro | $0.561 | $1.683 | $0.0187 | 1.0M | -15% |
GLM-5.4glm-5.4 | $0.7 | $2.2 | $0.13 | 1.0M | -50% |
Kimi K3.1 Prokimi-k3.1-pro | $1.252 | $6.26 | $0.1252 | 1.0M | -37% |
USD per 1M tokens from the live catalog; your console bill is the final record.
Read it in three passes: output price for chat and generation, input price for retrieval and classification, cached price for repeated context. A model that looks expensive on input can still be the cheaper choice when most of its prompt is cached.
Claude family
Claude models are reachable through the Anthropic-native endpoint and through the OpenAI-compatible endpoint. The catalog includes claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5 and claude-fable-5-2, plus older IDs kept for compatibility.
| Model / ID | Input | Output | Cache read | Context | Discount |
|---|---|---|---|---|---|
Claude Sonnet 5.5claude-sonnet-5-5 | $0.576 | $2.88 | $0.0288 | 1.0M | -71% |
Claude Opus 5.5claude-opus-5-5 | $1.16 | $5.8 | $0.058 | 1.0M | -71% |
Claude Fable 5.2claude-fable-5-2 | $2.432 | $12.16 | $0.0608 | 1.0M | -70% |
USD per 1M tokens from the live catalog; your console bill is the final record.
Claude pricing separates cache writes from cache reads. In the current catalog a cache write is priced above a normal input token, while a cache read is a small fraction of it. That trade pays off when the same large prefix is reused; it loses money when every request has a different prompt. See Anthropic-native API setup for the protocol details.
Gemini family
Gemini models use the native /v1beta/models/{model}:generateContent endpoint or the OpenAI-compatible endpoint. The catalog covers Gemini 4 and Gemini 3.x text models, plus image models with separate billing.
| Model / ID | Input | Output | Cache read | Context | Discount |
|---|---|---|---|---|---|
Gemini 4 Neongemini-4-neon | $0.849 | $4.245 | $0.04245 | 1.0M | -72% |
Gemini 4 Hydrogengemini-4-hydrogen | $0.729 | $3.645 | $0.03645 | 1.0M | -51% |
Gemini 4 Carbongemini-4-carbon | $0.858 | $4.29 | $0.0429 | 1.0M | -57% |
Gemini 3.8 Flashgemini-3.8-flash | $0.11175 | $0.55875 | $0.011175 | 1.0M | -85% |
Gemini 3.5 Flashgemini-3.5-flash | $0.75 | $4.5 | $0.075 | 1.0M | -50% |
USD per 1M tokens from the live catalog; your console bill is the final record.
Gemini text models publish input, output and cached-input prices. Image models such as gemini-3-pro-image and gemini-3.1-flash-image are not comparable on a per-text-token basis; check their own entries before budgeting.
DeepSeek and the low-cost lane
DeepSeek is one of the lowest-priced text families in the catalog. It fits classification, extraction, drafting and high-volume background jobs where a smaller model is enough.
| Model / ID | Input | Output | Cache read | Context | Discount |
|---|---|---|---|---|---|
DeepSeek V4.1 Flash福利版deepseek-flash-free | $0.00015 | $0.0006 | $0.000003 | 1.0M | -100% |
DeepSeek V4 Flash福利版deepseek-v4-flash-free | $0.00044 | $0.00132 | $0.000014 | 1.0M | -100% |
Gemini 4 Hydrogen福利版gemini-4-hydrogen-free | $0.0015 | $0.0075 | $0.000075 | 1.0M | -100% |
GLM 5.3 Flash福利版glm-5.3-flash-free | $0.000114 | $0.0004 | $0.00003 | 1.0M | -100% |
USD per 1M tokens from the live catalog; your console bill is the final record.
IDs ending in -free sit in this lane, but they are not zero-cost. They are billed at a promotional discount with daily request caps; the free-model guide explains the limits. For workloads that must not pause when a daily cap is reached, price the regular DeepSeek IDs instead.
Worked cost example
Let P_in, P_cache and P_out be the per-1M prices from the live table, and let N_in, N_cache and N_out be token counts in millions.
cost = N_in * P_in + N_cache * P_cache + N_out * P_outExample with round numbers: 2M uncached input, 8M cached input, 1M output. If the cached price is one twentieth of the input price, the input side costs 2 * P_in plus 8 * 0.05 * P_in, or 2.4 * P_in. Without caching, the same 10M prompt tokens would cost 10 * P_in. The saving comes from the cache ratio, not from a discount code.
- Count prompt tokens per request, not per conversation.
- Estimate the share that repeats a stable prefix.
- Multiply each share by its own price column.
- Add output tokens at the output price.
- Re-check the live table before committing a budget.
When this comparison is not enough
List price is not an invoice. Your effective rate can differ because of account-level discounts, long-context multipliers, image or video billing, failed-request handling, and taxes or payment fees. The comparison also says nothing about quality, latency or availability for your workload.
If you need a fixed per-token number for a contract, confirm it in writing rather than copying a table. If you need a benchmark, run your own evaluation on your own prompts. This page deliberately publishes no benchmark scores and no customer results.
Next steps: check live pricing, browse models, or create a key with the API integration guide.
FAQ
Are these prices per token or per million tokens?
Both descriptions point to the same meter. The catalog quotes a price per 1,000,000 tokens; a request is charged in proportion to the tokens it uses. A 10,000-token request costs one hundredth of the quoted input price before any cache adjustment.
Why is output more expensive than input?
Providers meter generated tokens separately from prompt tokens, and generation is usually the more expensive operation. The ratio varies by family and model, so compare the output column directly.
Do cached tokens always save money?
No. Cache reads are cheap, but cache writes are priced above normal input for some models. Caching helps when a stable prefix is reused enough times to repay the write. It can cost more when prompts change every call.
Which model is cheapest?
There is no single answer without a token mix. DeepSeek is among the lowest-priced families, but a more expensive model with a high cache-hit rate can win on a long, repetitive workload. Use the formula above with your own counts.
Are the tables live?
Yes. The tables are generated at render time from the catalog file the gateway uses for billing. The exact numbers can change when the catalog is updated.
Do listed prices include tax or payment fees?
No. They are model usage prices. Taxes, network fees and payment-channel costs are separate.
Why not show benchmark scores?
Benchmark results depend on prompts, versions and evaluation method, and this page has no verified results to publish. Run your own test.