Open data: AI model API prices
Download the standard AI model API prices Codifly compiles from each provider's official pages. Use them in your articles, notebooks or products with one condition: credit the source.
The dataset
17 models with input and output price, 3:1 blended price, context window and max output. Reviewed on Sep 8, 2026. Every row links its official sources.
- models
- 17
- providers
- 6
- cheapest output
- $0.20Ministral 3 · 14B
- gap between the cheapest and the priciest output
- 250×Ministral 3 · 14B → GPT-6 Astra
All prices
| Model | Input | Output | Blended 3:1 | Context |
|---|---|---|---|---|
| Ministral 3 · 14BMistral AI | $0.20 | $0.20 | $0.20 | 256K |
| Mistral Small 4Mistral AI | $0.15 | $0.60 | $0.2625 | 256K |
| GPT-5.6 LunaOpenAI | $0.20 | $1.20 | $0.45 | 1.05M |
| Codestral · 25.08Mistral AI | $0.30 | $0.90 | $0.45 | 128K |
| DeepSeek V4 FlashDeepSeek | $0.44 | $1.32 | $0.66 | 1M |
| Mistral Large 3Mistral AI | $0.50 | $1.50 | $0.75 | 256K |
| Gemini 3.8 FlashGoogle | $0.75 | $3.75 | $1.50 | 1.05M |
| DeepSeek V4 ProDeepSeek | $1.32 | $3.96 | $1.98 | 1M |
| Claude Haiku 4.5Anthropic | $1.00 | $5.00 | $2.00 | 200K |
| Mistral Medium 3.5Mistral AI | $1.50 | $7.50 | $3.00 | 256K |
| Grok 4.6xAI | $2.00 | $6.00 | $3.00 | 500K |
| Claude Sonnet 5Anthropic | $2.00 | $10.00 | $4.00 | 1M |
| GPT-5.6 TerraOpenAI | $2.00 | $12.00 | $4.50 | 1.05M |
| GPT-5.6 SolOpenAI | $4.00 | $20.00 | $8.00 | 1.05M |
| Claude Opus 5Anthropic | $5.00 | $25.00 | $10.00 | 1M |
| GPT-6 AstraOpenAI | $10.00 | $50.00 | $20.00 | 1.05M |
| Claude Fable 5.1Anthropic | $10.00 | $50.00 | $20.00 | 1M |
License and attribution
You may copy, adapt and redistribute the data, including commercially, as long as you credit Codifly with a link. Third-party indexes (LLM Stats) are not part of the dataset; see them in the rankings. CC BY 4.0
Suggested attribution:
Data: Codifly (https://codifly.co/en/leaderboards/ai/price), CC BY 4.0Widget for your site
Paste this code to show the lowest prices, always up to date. Accepts lang (es, en, pt), theme (light, dark) and limit (3 to 17).
<iframe src="https://codifly.co/embed/ai-prices?lang=en&theme=light&limit=8" title="Open data: AI model API prices" width="100%" height="560" style="border:0;max-width:560px" loading="lazy"></iframe>Preview
Frequently asked questions
How often is the data updated?
Whenever the catalog reviews a provider's prices or limits. The reviewed_at field shows the last review date; the JSON and CSV always serve the current version.
What does the blended price include?
It weighs 3 input tokens per output token, the usual mix for chat and agents. These are standard API prices without caching or batch discounts.
Can I use the data in a commercial product?
Yes. The CC BY 4.0 license allows commercial use as long as you credit Codifly with a link to codifly.co.