AI model API pricing
Compare input, output, and cached-input rates across 35 AI model records tracked by benchr. Of those, 31 records have provider token pricing from OpenAI, Anthropic, Google, xAI, Z.AI, Moonshot AI, MiniMax, DeepSeek, Mistral, Meta, and other providers; unpriced media-model records remain available in the open data.
Snapshot scope: DeepSeek V4-Flash had the lowest listed price among hosted models tracked by benchr in the July 24, 2026 snapshot. This is not a market-wide guarantee; check the provider's live rate card before budgeting.
All models by price
| Model | Provider | Input / 1M | Output / 1M | Cached input / 1M | Details |
|---|---|---|---|---|---|
| Qwen3.6-27B | Alibaba | Self-hosted | Self-hosted | — | Full guide → |
| Llama 4 Maverick | Meta | Self-hosted | Self-hosted | — | Full guide → |
| Llama 4 Scout | Meta | Self-hosted | Self-hosted | — | Full guide → |
| Phi-4 | Microsoft | Self-hosted | Self-hosted | — | Full guide → |
| GPT-5 Mini | OpenAI | $0.250 | $2.00 | $0.025 | Full guide → |
| MiniMax M3 | MiniMax | $0.300 | $1.20 | $0.060 | Model record → |
| Gemini 3.5 Flash-Lite | $0.300 | $2.50 | — | Review → | |
| DeepSeek V4-Flash | DeepSeek | $0.440 | $1.32 | $0.014 | Full guide → |
| Mistral Large 3 | Mistral | $0.500 | $1.50 | — | Full guide → |
| Gemini 3.7 Flash | $0.750 | $3.75 | $0.075 | Analysis → | |
| Gemini 3.8 Flash | $0.750 | $3.75 | $0.075 | Model record → | |
| Kimi K2.6 | Moonshot AI | $0.950 | $4.00 | $0.160 | Full guide → |
| Claude Haiku 4.5 | Anthropic | $1.00 | $5.00 | $0.100 | Full guide → |
| GPT-5 | OpenAI | $1.25 | $10.00 | — | Full guide → |
| Grok 4.3 | xAI | $1.25 | $2.50 | $0.200 | Full guide → |
| DeepSeek V4-Pro | DeepSeek | $1.32 | $3.96 | $0.044 | Full guide → |
| GLM-5.2 | Z.AI | $1.40 | $4.40 | $0.260 | Review → |
| GLM-5.3 | Z.AI | $1.40 | $4.40 | $0.260 | Analysis → |
| Gemini 3.6 Flash | $0.750 | $3.75 | $0.075 | Full guide → | |
| Gemini 3.5 Flash | $1.50 | $9.00 | $0.150 | Full guide → | |
| Mistral Medium 3.5 | Mistral | $1.50 | $7.50 | — | Full guide → |
| Gemini 3.1 Pro | $2.00 | $12.00 | $0.200 | Full guide → | |
| Grok 4.5 | xAI | $2.00 | $6.00 | $0.500 | Review → |
| Claude Sonnet 5 | Anthropic | $2.00 | $10.00 | $0.200 | Full guide → |
| Grok 4.6 | xAI | $2.00 | $6.00 | $0.500 | Analysis → |
| GPT-5.4 | OpenAI | $2.50 | $15.00 | $0.250 | Full guide → |
| Kimi K3 | Moonshot AI | $3.00 | $15.00 | $0.300 | Analysis → |
| Claude Sonnet 4.6 | Anthropic | $3.00 | $15.00 | $0.300 | Full guide → |
| GPT-5.6 Sol | OpenAI | $4.00 | $20.00 | $0.400 | Full guide → |
| Claude Opus 5 | Anthropic | $5.00 | $25.00 | $0.500 | Review → |
| Claude Opus 4.8 | Anthropic | $5.00 | $25.00 | $0.500 | Full guide → |
| Claude Opus 4.7 | Anthropic | $5.00 | $25.00 | $0.500 | Full guide → |
| GPT-5.5 | OpenAI | $5.00 | $30.00 | $0.500 | Full guide → |
| Claude Fable 5.1 | Anthropic | $10.00 | $50.00 | $0.250 | Full guide → |
| Claude Fable 5 | Anthropic | $10.00 | $50.00 | $1.00 | Full guide → |
The DeepSeek rows carry the peak rate, which is what a request pays unless it is deliberately scheduled elsewhere. Outside 01:00–04:00 and 06:00–10:00 UTC on weekdays the same models bill at half: $0.22/$0.66 and $0.66/$1.98. Full breakdown on the V4-Flash page.
Individual model pricing guides
Detailed breakdown per model: token costs, context limits, caching structures, use-case recommendations, and cost scenarios.
Pricing articles and analysis
Deeper reading on cost strategy, provider comparisons, and how to reduce your API bill.
- Lowest-cost APIs tracked by benchr → — DeepSeek, Llama, and where the quality/cost line breaks down.
- Price per use case → — The cheapest model for chat, coding, RAG, agents, and classification.
- How to reduce token usage → — Caching, batching, and routing that cut bills without switching models.
- DeepSeek vs OpenAI pricing → — What the cost gap means on real workloads.
- Claude API pricing guide → — Opus 4.8, Sonnet 4.6, and Haiku 4.5 with the 90% caching discount explained.
- OpenAI API pricing guide → — GPT-5.5, GPT-5, and GPT-5 Mini with batch and caching discounts.
- AI model pricing comparison → — All ranked models side by side with notes on what each price tier buys.
How to read these pricing tables
API providers bill in tokens — roughly 750 words per 1,000 tokens for English text. Prices are listed per million tokens because per-token rates are too small to read ($0.000001250 is clearer as $1.25/1M). Most providers charge separately for input (text you send) and output (text the model generates).
Output tokens typically cost 4–12× more than input tokens because they require a separate forward pass per token. This means the input-to-output ratio of your workload matters enormously. A summarization task (high input, low output) has a very different cost profile than a story-generation task (low input, high output).
Three cost strategies for 2026
Route by task complexity. Use cheap small models (GPT-5 Mini at $0.25/1M, DeepSeek V4-Flash at $0.44/1M peak or $0.22 off-peak) for classification, routing, and simple extraction. Reserve expensive flagships for tasks that require their capability. Most pipelines can route 70–80% of calls to cheaper models.
Maximize prompt caching. If your system prompt or document context repeats across calls, caching cuts that portion of your input cost by 90% (Anthropic, Google) or ~99% (DeepSeek). This single optimization often reduces monthly bills more than switching models entirely.
Use Batch API for offline workloads. OpenAI, Anthropic, and others offer 50% discounts for asynchronous batch jobs — dataset evaluation, classification runs, bulk translation. If your workload can tolerate a 24-hour return window, batch pricing cuts your bill in half.
Use the Cost Calculator to model your specific token mix, or the Cheapest API leaderboard to find the lowest-cost model that meets your quality bar.
Frequently asked questions
Which tracked hosted AI API has the lowest listed price?
The answer changed on August 16, 2026, when DeepSeek repriced. Among hosted models tracked by benchr on August 28, 2026, GPT-5 Mini has the lowest listed input rate at $0.25/1M and MiniMax M3 the lowest blended rate at $0.30/$1.20. DeepSeek V4-Flash is cheaper than both outside DeepSeek's peak window, at $0.22/1M input and $0.66/1M output, and more expensive inside it at $0.44 and $1.32. This is not a market-wide guarantee; check the provider's live rate card before budgeting. Open-weight models like Llama 4 Scout and Phi-4 have no per-token licensing fee but require self-hosting infrastructure.
What does input vs output pricing mean?
API providers charge separately for input tokens (text you send to the model) and output tokens (text the model generates). Output tokens typically cost 4–10× more per token than input. Most real applications have 3–8× more input tokens than output.
What is prompt caching and how much does it save?
Prompt caching stores your static system prompt or document context so that repeated calls reuse it at a steep discount. Anthropic offers 90% off, Google 90% off, DeepSeek ~99% off, and GPT-5 cached input costs $0.125/1M — 90% below its $1.25 standard input rate. For agents with large repeated system prompts, caching can reduce your actual bill by 60–80%.
Are the model pricing pages on benchr accurate?
Prices are sourced directly from official provider documentation and verified against model-figures.json, benchr's single source of truth. The verified date is shown on each page. Prices change without notice — re-verify before making budget decisions.