AI model API pricing
AI model API pricing from OpenAI, Anthropic, Google, xAI, DeepSeek and Mistral AI, in US dollars per million tokens.
| Name | Provider | Input, $ per 1M tokens | Output, $ per 1M tokens | Sample request (10K in, 2K out), $ | Context window, tokens | Status |
|---|---|---|---|---|---|---|
| GPT-5 nano | OpenAI | $0.05 | $0.40 | $0.0013 | 400K | Deprecated |
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | $0.0018 | 1.05M | Older | |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | $0.002 | 1M | Current |
| GPT-6 Luna | OpenAI | $0.10 | $0.50 | $0.002 | 1.05M | Current |
| GPT-5.6 Luna | OpenAI | $0.20 | $1.20 | $0.0044 | 1.05M | Previous generation |
| GPT-5.4 nano | OpenAI | $0.20 | $1.25 | $0.0045 | 400K | Deprecated |
| DeepSeek V4.1 Flash | DeepSeek | $0.30 | $1.20 | $0.0054 | 1M | Current |
| Gemini 3.1 Flash-Lite | $0.25 | $1.50 | $0.0055 | 1.05M | Previous generation | |
| GPT-5 mini | OpenAI | $0.25 | $2.00 | $0.0065 | 400K | Deprecated |
| Gemini 2.5 Flash | $0.30 | $2.50 | $0.008 | 1.05M | Older | |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.008 | 1.05M | Current | |
| Mistral Large 3 | Mistral AI | $0.50 | $1.50 | $0.008 | 262.14K | Current |
| Gemini 3 Flash Preview | $0.50 | $3.00 | $0.011 | 1.05M | Older | |
| Gemini 3.6 Flash | $0.75 | $3.75 | $0.015 | 1.05M | Previous generation | |
| Gemini 3.7 Flash | $0.75 | $3.75 | $0.015 | 1.05M | Previous generation | |
| Gemini 3.8 Flash | $0.75 | $3.75 | $0.015 | 1.05M | Current | |
| GPT-5.4 mini | OpenAI | $0.75 | $4.50 | $0.0165 | 400K | Previous generation |
| Claude Haiku 4.5 | Anthropic | $1.00 | $5.00 | $0.02 | 200K | Current |
| GPT-6.1 Terra | OpenAI | $1.00 | $5.00 | $0.02 | 1.05M | Current |
| DeepSeek V4 Pro | DeepSeek | $1.32 | $3.96 | $0.0211 | 1M | Current |
| Grok 4.7 | xAI | $2.00 | $6.00 | $0.032 | 500K | Current |
| Gemini 2.5 Pro | $1.25 | $10.00 | $0.0325 | 1.05M | Older | |
| GPT-5 | OpenAI | $1.25 | $10.00 | $0.0325 | 400K | Deprecated |
| GPT-5.1 | OpenAI | $1.25 | $10.00 | $0.0325 | 400K | Deprecated |
| Gemini 3.5 Flash | $1.50 | $9.00 | $0.033 | 1.05M | Previous generation | |
| Claude Sonnet 5 | Anthropic | $2.00 | $10.00 | $0.04 | 1M | Previous generation |
| Claude Sonnet 5.5 | Anthropic | $2.00 | $10.00 | $0.04 | 1M | Current |
| Gemini 4 Argon | $2.00 | $10.00 | $0.04 | 1M | Current | |
| GPT-6 Sol | OpenAI | $2.00 | $10.00 | $0.04 | 1.05M | Previous generation |
| GPT-6.1 Sol | OpenAI | $2.00 | $10.00 | $0.04 | 1.05M | Current |
| Gemini 3.1 Pro Preview | $2.00 | $12.00 | $0.044 | 1.05M | Current | |
| GPT-5.6 Terra | OpenAI | $2.00 | $12.00 | $0.044 | 1.05M | Previous generation |
| GPT-5.2 | OpenAI | $1.75 | $14.00 | $0.0455 | 400K | Older |
| GPT-5.3 Codex | OpenAI | $1.75 | $14.00 | $0.0455 | 400K | Deprecated |
| GPT-5.4 | OpenAI | $2.50 | $15.00 | $0.055 | 1.05M | Previous generation |
| Claude Sonnet 4.5 | Anthropic | $3.00 | $15.00 | $0.06 | 200K | Deprecated |
| Claude Sonnet 4.6 | Anthropic | $3.00 | $15.00 | $0.06 | 1M | Older |
| Claude Opus 5.5 | Anthropic | $4.00 | $20.00 | $0.08 | 1M | Current |
| GPT-5.6 Sol | OpenAI | $4.00 | $20.00 | $0.08 | 1.05M | Previous generation |
| Claude Opus 4.5 | Anthropic | $5.00 | $25.00 | $0.10 | 200K | Older |
| Claude Opus 4.6 | Anthropic | $5.00 | $25.00 | $0.10 | 1M | Older |
| Claude Opus 4.7 | Anthropic | $5.00 | $25.00 | $0.10 | 1M | Older |
| Claude Opus 4.8 | Anthropic | $5.00 | $25.00 | $0.10 | 1M | Older |
| Claude Opus 5 | Anthropic | $5.00 | $25.00 | $0.10 | 1M | Previous generation |
| GPT-Rosalind | OpenAI | $5.00 | $25.00 | $0.10 | Current | |
| GPT-Rosalind Discovery | OpenAI | $5.00 | $25.00 | $0.10 | Current | |
| GPT-5.5 | OpenAI | $5.00 | $30.00 | $0.11 | 1.05M | Previous generation |
| Claude Fable 5 | Anthropic | $10.00 | $50.00 | $0.20 | 1M | Previous generation |
| Claude Fable 5.1 | Anthropic | $10.00 | $50.00 | $0.20 | 1M | Current |
| Claude Mythos 5 | Anthropic | $10.00 | $50.00 | $0.20 | 1M | Previous generation |
| Claude Mythos 5.1 | Anthropic | $10.00 | $50.00 | $0.20 | 1M | Current |
| GPT-6 Astra | OpenAI | $10.00 | $50.00 | $0.20 | 1.05M | Current |
| GPT-5.6 Cyber | OpenAI | $12.50 | $75.00 | $0.275 | 400K | Current |
| Claude Opus 4.1 | Anthropic | $15.00 | $75.00 | $0.30 | 200K | Deprecated |
| GPT-6 Rosalind | OpenAI | $15.00 | $75.00 | $0.30 | Current | |
| GPT-5.4 Pro | OpenAI | $30.00 | $180.00 | $0.66 | 1.05M | Previous generation |
| GPT-5.5 Pro | OpenAI | $30.00 | $180.00 | $0.66 | 1.05M | Previous generation |
The table covers current and recent models. Every price comes from the provider’s own pricing page and shows the date we checked it. Context and output limits come from the provider or, where the provider does not publish them on its pricing page, from OpenRouter’s model listing. The “Sample request” column is the cost of one call with 10,000 input tokens and 2,000 output tokens at standard rates, so models can be compared on the same job. For why that figure is only a starting point, read the cost of an AI task goes beyond the token price.
Prices change without much notice. Dated changes are recorded in the AI API price change log, and how we check prices explains the rules we follow.
Sources
Prices are read from each provider’s official pricing page: OpenAI, Anthropic, Google Gemini API, xAI, DeepSeek and Mistral AI. Context and output limits that a provider does not publish come from OpenRouter’s model listing. Each model’s Sources field lists the pages used and the date each was checked. How we check prices · Price change log
