LLM API Pricing Calculator
Compare what your workload costs across 42 LLM APIs. Prices are checked against official provider pages weekly (last updated 2026-09-11), sorted here from cheapest to most expensive for a typical chat workload.
| Model | Provider | Input $/1M | Output $/1M | Cached input $/1M | Context |
|---|---|---|---|---|---|
| Yi-Lightning | 01.AI | $0.14 | $0.14 | — | 16K |
| Grok 3 mini | xAI | $0.3 | $0.5 | — | 128K |
| GPT-4o mini | OpenAI | $0.15 | $0.6 | $0.075 | 128K |
| Gemini 2.5 Flash | $0.3 | $0.6 | $0.03 | 1000K | |
| DeepSeek-V4-Flash-Vision-Exp | DeepSeek | $0.22 | $0.66 | $0.007 | 1000K |
| DeepSeek-V4-Flash | DeepSeek | $0.22 | $0.66 | $0.007 | 1000K |
| MiniMax-Text-01 | MiniMax | $0.15 | $1.1 | — | 4000K |
| MiniMax M1 | MiniMax | $0.2 | $1.1 | — | 1000K |
| DeepSeek-V3 | DeepSeek | $0.27 | $1.1 | — | 128K |
| DeepSeek-V4.1-Flash | DeepSeek | $0.3 | $1.2 | $0.006 | 1000K |
| DeepSeek-V4-Pro | DeepSeek | $0.66 | $1.98 | $0.022 | 1000K |
| DeepSeek-R1 | DeepSeek | $0.55 | $2.19 | — | 128K |
| Grok 4.20 | xAI | $1.25 | $2.5 | $0.2 | 1000K |
| Grok 4.3 | xAI | $1.25 | $2.5 | $0.2 | 1000K |
| Nova Pro | Amazon | $0.8 | $3.2 | — | 300K |
| Gemini 3.6 Flash | $0.75 | $3.75 | $0.075 | 1000K | |
| Gemini 3.8 Flash | $0.75 | $3.75 | $0.075 | 1000K | |
| Gemini 3.7 Flash | $0.75 | $3.75 | $0.075 | 1000K | |
| Claude Haiku 3.5 | Anthropic | $0.8 | $4 | $0.08 | 200K |
| o4-mini | OpenAI | $1.1 | $4.4 | $0.275 | 200K |
| Claude Haiku 4.5 | Anthropic | $1 | $5 | $0.1 | 200K |
| Grok 4.5 | xAI | $2 | $6 | $0.3 | 500K |
| Grok 4.6 | xAI | $2 | $6 | $0.5 | 500K |
| GPT-4.1 | OpenAI | $2 | $8 | $0.5 | 1000K |
| o3 | OpenAI | $2 | $8 | $0.5 | 200K |
| Gemini 2.5 Pro | $1.25 | $10 | $0.125 | 1000K | |
| Claude Sonnet 5 | Anthropic | $2 | $10 | $0.2 | 200K |
| GPT-4o | OpenAI | $2.5 | $10 | $1.25 | 128K |
| Command R+ | Cohere | $2.5 | $10 | — | 128K |
| Claude Sonnet 4 | Anthropic | $3 | $15 | $0.3 | 200K |
| Grok 3 | xAI | $3 | $15 | — | 128K |
| Sonar Pro | Perplexity | $3 | $15 | — | 200K |
| Claude Sonnet 4.6 | Anthropic | $3 | $15 | $0.3 | 200K |
| Claude Sonnet 4.5 | Anthropic | $3 | $15 | $0.3 | 200K |
| GPT-5.6 Sol | OpenAI | $4 | $20 | $0.4 | 1050K |
| Claude Opus 5 | Anthropic | $5 | $25 | $0.5 | 200K |
| Claude Fable 5 | Anthropic | $10 | $50 | $1 | 1000K |
| Claude Mythos 5 | Anthropic | $10 | $50 | $1 | 1000K |
| Claude Fable 5.1 | Anthropic | $10 | $50 | $0.25 | 1000K |
| Claude Mythos 5.1 | Anthropic | $10 | $50 | $0.25 | 1000K |
| GPT-6 Astra | OpenAI | $10 | $50 | $1 | 1050K |
| Claude Opus 4 | Anthropic | $15 | $75 | $1.5 | 200K |