Compare LLM Pricing
All prices in USD per 1M tokens (standard, short-context rates). Click column headers to sort. Select 2-4 models to compare side by side.
Sort by:
| Provider | Model | Input $/1M | Output $/1M | Cached $/1M | Context | Verified | Source | |
|---|---|---|---|---|---|---|---|---|
| Anthropic | Claude Fable 5.2 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $8.00 | $40.00 | $0.20 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Fable 5.1 Newer: Claude Fable 5.2 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $10.00 | $50.00 | $0.25 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Fable 5 Newer: Claude Fable 5.2 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $10.00 | $50.00 | $1.00 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Opus 5.5 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $4.00 | $20.00 | $0.20 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Opus 5 Newer: Claude Opus 5.5 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $5.00 | $25.00 | $0.50 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Opus 4.8 Newer: Claude Opus 5.5 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $5.00 | $25.00 | $0.50 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Opus 4.7 Newer: Claude Opus 5.5 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $5.00 | $25.00 | $0.50 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Opus 4.6 Newer: Claude Opus 5.5 Cached input = cache-hit price; cache writes are billed extra. | $5.00 | $25.00 | $0.50 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Opus 4.5 Newer: Claude Opus 5.5 Cached input = cache-hit price; cache writes are billed extra. | $5.00 | $25.00 | $0.50 | 200,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Sonnet 5.5 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $2.00 | $10.00 | $0.10 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Sonnet 5 Newer: Claude Sonnet 5.5 Uses the newer tokenizer (about 30% more tokens for the same text than Claude 4.6 and earlier). Cached input = cache-hit price; cache writes are billed extra. | $2.00 | $10.00 | $0.20 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Sonnet 4.6 Newer: Claude Sonnet 5.5 Cached input = cache-hit price; cache writes are billed extra. | $3.00 | $15.00 | $0.30 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Sonnet 4.5 Deprecated · retires Nov 30, 2026 Cached input = cache-hit price; cache writes are billed extra. | $3.00 | $15.00 | $0.30 | 200,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Haiku 5.5 Long-context pricing applies to prompts over 100,000 tokens. | $0.10 | $0.50 | $0.01 | 1,000,000 | 2026-11-23 | ↗ | |
| Anthropic | Claude Haiku 4.5 Newer: Claude Haiku 5.5 Cached input = cache-hit price; cache writes are billed extra. | $1.00 | $5.00 | $0.10 | 200,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-6 Astra Standard tier. Prompts over 272,000 input tokens are billed at $20 input / $75 output / $2 cached per 1M tokens for the full request. | $10.00 | $50.00 | $1.00 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-6.1 Sol Standard tier. Prompts over 272,000 input tokens are billed at $4 input / $15 output / $0.2 cached per 1M tokens for the full request. | $2.00 | $10.00 | $0.10 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-6.1 Terra Standard tier. Prompts over 272,000 input tokens are billed at $2 input / $7.5 output / $0.1 cached per 1M tokens for the full request. | $1.00 | $5.00 | $0.05 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-6 Luna Standard tier. Prompts over 272,000 input tokens are billed at $0.2 input / $0.75 output / $0.02 cached per 1M tokens for the full request. | $0.10 | $0.50 | $0.01 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-6 Sol Newer: GPT-6.1 Sol Standard tier. Prompts over 272,000 input tokens are billed at $4 input / $15 output / $0.4 cached per 1M tokens for the full request. | $2.00 | $10.00 | $0.20 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.6 Sol Price valid through Nov 30, 2026 Newer: GPT-6.1 Sol Promotional price available until 2026-11-30; the post-promotion price is not published on the page. | $4.00 | $20.00 | $0.40 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.6 Terra Newer: GPT-6.1 Terra Standard tier. Prompts over 272,000 input tokens are billed at $4 input / $18 output / $0.4 cached per 1M tokens for the full request. | $2.00 | $12.00 | $0.20 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.6 Luna Newer: GPT-6 Luna Standard tier. Prompts over 272,000 input tokens are billed at $0.4 input / $1.8 output / $0.04 cached per 1M tokens for the full request. | $0.20 | $1.20 | $0.02 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.5 Standard tier. Prompts over 272,000 input tokens are billed at $10 input / $45 output / $1 cached per 1M tokens for the full request. | $5.00 | $30.00 | $0.50 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.5 Pro Standard tier. Prompts over 272,000 input tokens are billed at $60 input / $270 output per 1M tokens for the full request. | $30.00 | $180.00 | — | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.4 Newer: GPT-5.5 Standard tier. Prompts over 272,000 input tokens are billed at $5 input / $22.5 output / $0.5 cached per 1M tokens for the full request. | $2.50 | $15.00 | $0.25 | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.4 Pro Newer: GPT-5.5 Pro Standard tier. Prompts over 272,000 input tokens are billed at $60 input / $270 output per 1M tokens for the full request. | $30.00 | $180.00 | — | 1,050,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.4 mini Standard tier. | $0.75 | $4.50 | $0.07 | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.4 nano Deprecated · retires Apr 1, 2027 Standard tier. | $0.20 | $1.25 | $0.02 | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.2 Newer: GPT-5.4 Standard tier. | $1.75 | $14.00 | $0.17 | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.2 Pro Newer: GPT-5.4 Pro Standard tier. | $21.00 | $168.00 | — | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5.1 Deprecated · retires Apr 1, 2027 Standard tier. | $1.25 | $10.00 | $0.13 | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5 Deprecated · retires Dec 11, 2026 Standard tier. | $1.25 | $10.00 | $0.13 | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5 mini Deprecated · retires Dec 11, 2026 Standard tier. | $0.25 | $2.00 | $0.03 | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5 nano Deprecated · retires Dec 11, 2026 Standard tier. | $0.05 | $0.40 | $0.01 | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-5 pro Deprecated · retires Dec 11, 2026 Standard tier. | $15.00 | $120.00 | — | 400,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-4.1 Deprecated · retires Jan 14, 2027 Standard tier. | $2.00 | $8.00 | $0.50 | 1,047,576 | 2026-11-23 | ↗ | |
| OpenAI | GPT-4.1 mini Deprecated · retires Jan 14, 2027 Standard tier. | $0.40 | $1.60 | $0.10 | 1,047,576 | 2026-11-23 | ↗ | |
| OpenAI | GPT-4o Deprecated · retires Jan 14, 2027 Standard tier. | $2.50 | $10.00 | $1.25 | 128,000 | 2026-11-23 | ↗ | |
| OpenAI | GPT-4o mini Deprecated · retires Jan 14, 2027 Standard tier. | $0.15 | $0.60 | $0.07 | 128,000 | 2026-11-23 | ↗ | |
| OpenAI | o3-pro Deprecated · retires Dec 11, 2026 Standard tier. | $20.00 | $80.00 | — | 200,000 | 2026-11-23 | ↗ | |
| OpenAI | o3 Deprecated · retires Dec 11, 2026 Standard tier. | $2.00 | $8.00 | $0.50 | 200,000 | 2026-11-23 | ↗ | |
| Gemini 4 Carbon Price valid through Nov 30, 2026 Promotional price; input $4.00 starting December 1, 2026; output $20.00 starting December 1, 2026; cached $0.20 starting December 1, 2026 | $2.00 | $10.00 | $0.10 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 4 Argon Price valid through Nov 30, 2026 Promotional price; input $4.00 starting December 1, 2026; output $20.00 starting December 1, 2026; cached $0.20 starting December 1, 2026 | $2.00 | $10.00 | $0.10 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 4 Hydrogen Implicit caching only; max output 65,536 by default, up to 1,048,576 with long decode | $1.50 | $7.50 | $0.07 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 3.8 Flash Price valid through Dec 31, 2026 Promotional price; input $1.50 starting January 1, 2027; output $7.50 starting January 1, 2027; cached $0.15 starting January 1, 2027 | $0.75 | $3.75 | $0.07 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 3.6 Flash Price valid through Dec 31, 2026 Newer: Gemini 3.8 Flash Promotional price; input $1.50 starting January 1, 2027; output $7.50 starting January 1, 2027; cached $0.15 starting January 1, 2027 | $0.75 | $3.75 | $0.07 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.03 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 3.1 Flash-Lite Deprecated · retires May 7, 2027 Deprecated; scheduled shutdown 2027-05-07 | $0.25 | $1.50 | $0.03 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 3.1 Pro Preview Preview model. Same price also applies to: gemini-3.1-pro-preview-customtools | $2.00 | $12.00 | $0.20 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 3 Flash Preview Newer: Gemini 3.6 Flash Preview model | $0.50 | $3.00 | $0.05 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 2.5 Pro Deprecated · retires Dec 1, 2026 Prompts over 200k tokens: $2.50 input / $15.00 output / $0.25 cached per 1M (applies to the whole request). Deprecated; `gemini-2.5-pro` is no longer available in Google AI Studio; effective December 1, 2026, API requests to `gemini-2.5-pro` will automatically route to `gemini-3.8-flash` | $1.25 | $10.00 | $0.13 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 2.5 Flash Deprecated · retires Dec 1, 2026 Deprecated; `gemini-2.5-flash` is no longer available in Google AI Studio; effective December 1, 2026, API requests to `gemini-2.5-flash` will automatically route to `gemini-3.5-flash-lite` | $0.30 | $2.50 | $0.03 | 1,048,576 | 2026-11-23 | ↗ | ||
| Gemini 2.5 Flash-Lite Newer: Gemini 3.5 Flash-Lite | $0.10 | $0.40 | $0.01 | 1,048,576 | 2026-11-23 | ↗ | ||
| xAI | Grok 4.7 Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request | $2.00 | $6.00 | $0.50 | 500,000 | 2026-11-23 | ↗ | |
| xAI | Grok 4.6 Newer: Grok 4.7 Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request | $2.00 | $6.00 | $0.50 | 500,000 | 2026-11-23 | ↗ | |
| xAI | Grok 4.5 Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request | $2.00 | $6.00 | $0.30 | 500,000 | 2026-11-23 | ↗ | |
| xAI | Grok 4.3 Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request | $1.25 | $2.50 | $0.20 | 1,000,000 | 2026-11-23 | ↗ | |
| xAI | Grok 4.20 (0309, reasoning) Newer: Grok 4.3 Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request | $1.25 | $2.50 | $0.20 | 1,000,000 | 2026-11-23 | ↗ | |
| xAI | Grok 4.20 (0309, non-reasoning) Newer: Grok 4.3 Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request | $1.25 | $2.50 | $0.20 | 1,000,000 | 2026-11-23 | ↗ | |
| xAI | Grok Build 0.1 Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request | $1.00 | $2.00 | $0.20 | 256,000 | 2026-11-23 | ↗ | |
| xAI | Grok 4.20 Multi-Agent (0309, beta) Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request | $1.25 | $2.50 | $0.20 | 1,000,000 | 2026-11-23 | ↗ | |
| DeepSeek | DeepSeek V4.1 Flash Prices shown are PEAK rates. Off-peak is half of peak (input $0.15, cache-hit $0.003, output $0.6 per 1M tokens). Peak hours are 01:00 - 04:00 and 06:00 - 10:00 UTC, Monday through Friday, excluding Chinese public holidays. | $0.30 | $1.20 | $0.01 | 1,000,000 | 2026-11-23 | ↗ | |
| DeepSeek | DeepSeek V4 Pro Prices shown are PEAK rates. Off-peak is half of peak (input $0.66, cache-hit $0.022, output $1.98 per 1M tokens). Peak hours are 01:00 - 04:00 and 06:00 - 10:00 UTC, Monday through Friday, excluding Chinese public holidays. | $1.32 | $3.96 | $0.04 | 1,000,000 | 2026-11-23 | ↗ | |
| Mistral | Mistral Large 4 | $0.70 | $2.10 | $0.07 | 1,000,000 | 2026-11-23 | ↗ | |
| Mistral | Mistral Small 4 | $0.15 | $0.60 | — | 256,000 | 2026-11-23 | ↗ | |
| Mistral | Ministral 3 14B | $0.20 | $0.20 | — | 256,000 | 2026-11-23 | ↗ | |
| Mistral | Ministral 3 8B | $0.15 | $0.15 | — | 256,000 | 2026-11-23 | ↗ | |
| Mistral | Ministral 3 3B | $0.10 | $0.10 | — | 256,000 | 2026-11-23 | ↗ | |
| Mistral | Codestral | $0.30 | $0.90 | — | 128,000 | 2026-11-23 | ↗ | |
| Mistral | Mistral Medium 3.5 Deprecated · retires Apr 30, 2027 | $1.50 | $7.50 | — | 256,000 | 2026-11-14 | ↗ | |
| Mistral | Mistral Large 3 Deprecated · retires Apr 30, 2027 | $0.50 | $1.50 | — | 256,000 | 2026-11-14 | ↗ |
Legacy models (14): retired, no longer available
These models are no longer callable at the provider (or are silently redirected to a newer model and billed at its price). Last known prices are shown for reference only.
| Provider | Model | Retired | Replacement | Last input $/1M | Last output $/1M |
|---|---|---|---|---|---|
| OpenAI | GPT-4.1 nano | Oct 23, 2026 | gpt-5.6-luna | $0.1 | $0.4 |
| OpenAI | o3-mini | Oct 23, 2026 | gpt-5.6-sol | $1.1 | $4.4 |
| OpenAI | o4-mini | Oct 23, 2026 | gpt-5.6-terra | $1.1 | $4.4 |
| Mistral | Mistral Medium 3 | Aug 31, 2026 | mistral-medium-3-5 | $0.4 | $2 |
| OpenAI | GPT-5.2-Codex | Jul 23, 2026 | gpt-5.6-sol | $1.75 | $14 |
| Anthropic | Claude Opus 4 | Jun 15, 2026 | claude-opus-4-8 | $15 | $75 |
| Anthropic | Claude Sonnet 4 | Jun 15, 2026 | claude-sonnet-5-5 | $3 | $15 |
| Gemini 2.0 Flash | Jun 1, 2026 | gemini-3.6-flash | $0.1 | $0.4 | |
| Gemini 2.0 Flash-Lite | Jun 1, 2026 | gemini-3.1-flash-lite | $0.075 | $0.3 | |
| xAI | Grok 3 | May 15, 2026 | grok-4.3 | $3 | $15 |
| xAI | Grok 4 | May 15, 2026 | grok-4.3 | $3 | $15 |
| xAI | Grok 4 Fast | May 15, 2026 | grok-4.3 | $0.2 | $0.5 |
| Anthropic | Claude 3.5 Haiku | Feb 19, 2026 | claude-haiku-4-5-20251001 | $0.8 | $4 |
| DeepSeek | DeepSeek V4 Flash (legacy name) | — | deepseek-flash | $0.3 | $1.2 |