AI model API prices
API prices for 40 popular AI models per million input and output tokens, 30 side-by-side comparisons and monthly costs; via OpenRouter, as of 2026-11-13.
Prices via OpenRouter · as of 13 Nov 2026. USD per million tokens.
| Model | Lab | Input | Output | Context |
|---|---|---|---|---|
| GPT-6.1 Terra Pro | OpenAI | $1.00 | $5.00 | 1.05M tokens |
| Claude Fable 5.2 | Anthropic | $8.00 | $40.00 | 1M tokens |
| Gemini 4 Hydrogen | $1.50 | $7.50 | 1.05M tokens | |
| Grok 4.7 | SpaceXAI | $2.00 | $6.00 | 500K tokens |
| Llama Guard 4 12B | Meta | $0.18 | $0.18 | 164K tokens |
| DeepSeek V4.1 Flash 1017 | DeepSeek | $0.038 | $0.50 | 1.05M tokens |
| Mistral Large 4 | Mistral | $0.70 | $2.10 | 1.05M tokens |
| Qwen3.8 Max Prime | Qwen | $4.00 | $12.00 | 1M tokens |
| Nova 2 Lite | Amazon | $0.30 | $2.50 | 1M tokens |
| Phi 4 | Microsoft | $0.07 | $0.14 | 16K tokens |
| Command A+ | Cohere | $0.30 | $1.50 | 192K tokens |
| Kimi K3.1 Pro | MoonshotAI | $2.00 | $10.00 | 1.05M tokens |
| GPT-6.1 Terra | OpenAI | $1.00 | $5.00 | 1.05M tokens |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | 1M tokens |
| Gemini 4 Carbon | $2.00 | $10.00 | 1.05M tokens | |
| Grok 4.6 | SpaceXAI | $2.00 | $6.00 | 500K tokens |
| Llama 4 Maverick | Meta | $0.35 | $1.00 | 524K tokens |
| DeepSeek V4.1 Flash | DeepSeek | $0.30 | $1.20 | 1.05M tokens |
| Mistral Medium 3.5 | Mistral | $1.50 | $7.50 | 262K tokens |
| Qwen3.8 Omni Flash | Qwen | $0.15 | $0.47 | 1M tokens |
| Nova Premier 1.0 | Amazon | $2.50 | $12.50 | 1M tokens |
| Command A | Cohere | $2.50 | $10.00 | 256K tokens |
| Kimi K3 | MoonshotAI | $0.192 | $16.00 | 1.05M tokens |
| GPT-6.1 Sol Pro | OpenAI | $2.00 | $10.00 | 1.05M tokens |
| Claude Sonnet 5.5 | Anthropic | $2.00 | $10.00 | 1M tokens |
| Gemini Omni 1.2 Flash | $1.50 | $9.00 | 131K tokens | |
| Grok 4.5 | SpaceXAI | $2.00 | $6.00 | 500K tokens |
| Llama 4 Scout | Meta | $0.10 | $0.30 | 1.31M tokens |
| DeepSeek V4 Flash Vision Exp | DeepSeek | $0.44 | $1.32 | 1.05M tokens |
| Mistral Small 4 | Mistral | $0.15 | $0.60 | 262K tokens |
| Qwen3.8 Max (0902) | Qwen | $2.00 | $6.00 | 1M tokens |
| Nova Lite 1.0 | Amazon | $0.06 | $0.24 | 300K tokens |
| Command R7B (12-2024) | Cohere | $0.0375 | $0.15 | 128K tokens |
| Kimi K2.7 Code | MoonshotAI | $0.60 | $3.50 | 262K tokens |
| GPT-6.1 Sol | OpenAI | $2.00 | $10.00 | 1.05M tokens |
| Claude Opus 5.5 | Anthropic | $4.00 | $20.00 | 1M tokens |
| Gemini Omni 1.1 Flash | $1.50 | $9.00 | 131K tokens | |
| Grok Build 0.1 | SpaceXAI | $1.00 | $2.00 | 256K tokens |
| Llama 3.3 70B Instruct | Meta | $0.71 | $0.71 | 131K tokens |
| DeepSeek V4 Pro 0813 | DeepSeek | $0.111 | $4.44 | 1.05M tokens |
Verdict
Of these 40 models, Command R7B (12-2024) has the lowest input price ($0.0375 per million tokens) and Phi 4 the lowest output price ($0.14); Llama 4 Scout reads the most at once, 1.31M tokens. Open a model for its monthly costs on common workloads, or a comparison for two models side by side.
Cheapest model per workload
| Workload | Assumptions | Cheapest model | Per month |
|---|---|---|---|
| Chat assistant | 1,000 requests a day, 2,000 input and 500 output tokens each, 30% of input cached | Command R7B (12-2024) | $4.50 |
| Support bot | 2,000 requests a day, 3,000 input and 300 output tokens each, 60% of input cached | Command R7B (12-2024) | $9.45 |
| Document summaries | 200 requests a day, 20,000 input and 800 output tokens each, 0% of input cached | Command R7B (12-2024) | $5.22 |
| Coding agent | 500 requests a day, 60,000 input and 2,000 output tokens each, 85% of input cached | DeepSeek V4.1 Flash 1017 | $27.78 |
| Bulk classification | 100,000 requests a day, 300 input and 5 output tokens each, 50% of input cached | DeepSeek V4.1 Flash 1017 | $29.10 |
Comparisons
- Claude Fable 5.2 vs GPT-6.1 Terra Pro
- Gemini 4 Hydrogen vs GPT-6.1 Terra Pro
- Claude Fable 5.2 vs Gemini 4 Hydrogen
- GPT-6.1 Terra Pro vs Grok 4.7
- Claude Fable 5.2 vs Grok 4.7
- Gemini 4 Hydrogen vs Grok 4.7
- Llama Guard 4 12B vs GPT-6.1 Terra Pro
- Claude Fable 5.2 vs Llama Guard 4 12B
- Gemini 4 Hydrogen vs Llama Guard 4 12B
- Llama Guard 4 12B vs Grok 4.7
- DeepSeek V4.1 Flash 1017 vs GPT-6.1 Terra Pro
- Claude Fable 5.2 vs DeepSeek V4.1 Flash 1017
- DeepSeek V4.1 Flash 1017 vs Gemini 4 Hydrogen
- DeepSeek V4.1 Flash 1017 vs Grok 4.7
- DeepSeek V4.1 Flash 1017 vs Llama Guard 4 12B
- Mistral Large 4 vs GPT-6.1 Terra Pro
- Claude Fable 5.2 vs Mistral Large 4
- Gemini 4 Hydrogen vs Mistral Large 4
- Mistral Large 4 vs Grok 4.7
- Llama Guard 4 12B vs Mistral Large 4
- DeepSeek V4.1 Flash 1017 vs Mistral Large 4
- GPT-6.1 Terra Pro vs Qwen3.8 Max Prime
- Claude Fable 5.2 vs Qwen3.8 Max Prime
- Gemini 4 Hydrogen vs Qwen3.8 Max Prime
- Qwen3.8 Max Prime vs Grok 4.7
- Llama Guard 4 12B vs Qwen3.8 Max Prime
- DeepSeek V4.1 Flash 1017 vs Qwen3.8 Max Prime
- Mistral Large 4 vs Qwen3.8 Max Prime
- Nova 2 Lite vs GPT-6.1 Terra Pro
- Nova 2 Lite vs Claude Fable 5.2
Subscriptions vs API
AI subscriptions vs the API: 47 ChatGPT, Claude, Gemini, Cursor and other plans from 10 providers, and when a flat plan costs less than paying per token.
Keep exploring
- Open ModelCost: search all 363 models, compare any two and run the cost calculator.
- All OnePassApps apps
Enable JavaScript to use the interactive ModelCost app and calculator.