Data
LLM API Pricing Comparison (2026)
Compare input and output token costs, context windows, and capabilities for 46 models across OpenAI, Anthropic, Google, Meta, and others.
Model records were verified between 2026-03-31 and 2026-09-16. Provider pricing can change; confirm final production rates in the linked API documentation.
Turn the pricing table into a decision
Start with the matrix, then compare the models that fit your workload or estimate the cost of your actual prompt volume.
| Model | Provider | Input $/1M | Output $/1M | Context | Multimodal | Open Source | Docs |
|---|---|---|---|---|---|---|---|
| GPT-5.6 Sol | OpenAI | $4 | $20 | 1.1M | ✓ | — | API |
| Claude Fable 5 | Anthropic | $10 | $50 | 1M | ✓ | — | API |
| Claude Opus 5 | Anthropic | $5 | $25 | 1M | ✓ | — | API |
| Gemini 3.6 Flash | $0.75 | $3.75 | 1.0M | ✓ | — | API | |
| Grok 4.5 | xAI | $2 | $6 | 500K | ✓ | — | API |
| GPT-5.6 Terra | OpenAI | $2 | $12 | 1.1M | ✓ | — | API |
| Claude Sonnet 5 | Anthropic | $2 | $10 | 1M | ✓ | — | API |
| Gemini 3.1 Pro Preview | $0.25 | $12 | 1M | ✓ | — | API | |
| DeepSeek V4 Pro | DeepSeek | $0.66 | $1.98 | 1M | — | ✓ | API |
| Grok 4.3 | xAI | $1.25 | $2.5 | 1M | ✓ | — | API |
| GPT-5.6 Luna | OpenAI | $0.2 | $1.2 | 1.1M | ✓ | — | API |
| Gemini 3.5 Flash-Lite | $0.3 | $2.5 | 1.0M | ✓ | — | API | |
| DeepSeek V4 Flash | DeepSeek | $0.44 | $1.32 | 1M | — | ✓ | API |
| GPT-5.5 | OpenAI | $5 | $30 | 1.1M | ✓ | — | API |
| Claude Opus 4.7 | Anthropic | $5 | $25 | 1M | ✓ | — | API |
| Gemini 2.5 Pro | $1.25 | $7.5 | 1.0M | ✓ | — | API | |
| Llama 4 Maverick | Meta | $0.19 | $0.57 | 10M | ✓ | ✓ | API |
| Mistral Large | Mistral | $3 | $9 | 128K | ✓ | — | API |
| GPT-4o mini | OpenAI | $0.15 | $0.6 | 128K | ✓ | — | API |
| Gemini 2.5 Flash | $0.1 | $0.4 | 1M | ✓ | — | API | |
| Claude Haiku 4.5 | Anthropic | $1 | $5 | 200K | ✓ | — | API |
| Llama 4 Scout | Meta | $0.19 | $0.49 | 10M | ✓ | ✓ | API |
| Amazon Nova Pro | Amazon | $0.8 | $3.2 | 300K | ✓ | — | API |
| Claude Fable 5.1 | Anthropic | $10 | $50 | 1M | ✓ | — | API |
| Claude Opus 4.6 | Anthropic | $5 | $25 | 1M | ✓ | — | API |
| Claude Sonnet 4.6 | Anthropic | $2 | $10 | 1M | ✓ | — | API |
| Codestral | Mistral | $0.3 | $0.9 | 256K | — | — | API |
| Command R | Cohere | $0.15 | $0.6 | 128K | — | — | API |
| Command R+ | Cohere | $2.5 | $10 | 128K | — | — | API |
| DeepSeek V4 Flash Vision Experimental | DeepSeek | $0.44 | $1.32 | 1M | ✓ | — | API |
| Gemini 3.7 Flash | $0.75 | $3.75 | 1.0M | ✓ | — | API | |
| Gemini 3.8 Flash | $0.75 | $3.75 | 1.0M | ✓ | — | API | |
| Gemma 3 27B | $0.2 | $0.6 | 131K | ✓ | ✓ | API | |
| Gemma 4 31B | $0 | $0 | 262K | ✓ | ✓ | API | |
| GPT-4.1 | OpenAI | $2 | $8 | 1M | ✓ | — | API |
| GPT-4.1 mini | OpenAI | $0.4 | $1.6 | 1M | ✓ | — | API |
| GPT-5 | OpenAI | $1.25 | $10 | 400K | ✓ | — | API |
| GPT-5.2 | OpenAI | $1.75 | $14 | 400K | ✓ | — | API |
| GPT-5.4 | OpenAI | $2.5 | $15 | 1.1M | ✓ | — | API |
| GPT-6 Astra | OpenAI | $10 | $50 | 1.1M | ✓ | — | API |
| Grok 4.6 | xAI | $2 | $6 | 500K | ✓ | — | API |
| Llama 3.3 70B | Meta | $0 | $0 | 66K | — | ✓ | API |
| Mistral Small | Mistral | $0.15 | $0.6 | 262K | ✓ | — | API |
| o3 | OpenAI | $2 | $8 | 200K | ✓ | — | API |
| Phi-4 | Microsoft | $0.07 | $0.14 | 16K | — | ✓ | API |
| Qwen 2.5 Max | Alibaba | $0.4 | $1.2 | 1M | — | — | API |