StackAIQ

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:
ProviderModelInput $/1MOutput $/1MCached $/1MContextVerifiedSource
AnthropicClaude 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.201,000,0002026-11-23↗
AnthropicClaude 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.251,000,0002026-11-23↗
AnthropicClaude 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.001,000,0002026-11-23↗
AnthropicClaude 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.201,000,0002026-11-23↗
AnthropicClaude 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.501,000,0002026-11-23↗
AnthropicClaude 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.501,000,0002026-11-23↗
AnthropicClaude 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.501,000,0002026-11-23↗
AnthropicClaude Opus 4.6
Newer: Claude Opus 5.5
Cached input = cache-hit price; cache writes are billed extra.
$5.00$25.00$0.501,000,0002026-11-23↗
AnthropicClaude Opus 4.5
Newer: Claude Opus 5.5
Cached input = cache-hit price; cache writes are billed extra.
$5.00$25.00$0.50200,0002026-11-23↗
AnthropicClaude 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.101,000,0002026-11-23↗
AnthropicClaude 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.201,000,0002026-11-23↗
AnthropicClaude Sonnet 4.6
Newer: Claude Sonnet 5.5
Cached input = cache-hit price; cache writes are billed extra.
$3.00$15.00$0.301,000,0002026-11-23↗
AnthropicClaude Sonnet 4.5
Deprecated · retires Nov 30, 2026
Cached input = cache-hit price; cache writes are billed extra.
$3.00$15.00$0.30200,0002026-11-23↗
AnthropicClaude Haiku 5.5
Long-context pricing applies to prompts over 100,000 tokens.
$0.10$0.50$0.011,000,0002026-11-23↗
AnthropicClaude Haiku 4.5
Newer: Claude Haiku 5.5
Cached input = cache-hit price; cache writes are billed extra.
$1.00$5.00$0.10200,0002026-11-23↗
OpenAIGPT-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.001,050,0002026-11-23↗
OpenAIGPT-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.101,050,0002026-11-23↗
OpenAIGPT-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.051,050,0002026-11-23↗
OpenAIGPT-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.011,050,0002026-11-23↗
OpenAIGPT-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.201,050,0002026-11-23↗
OpenAIGPT-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.401,050,0002026-11-23↗
OpenAIGPT-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.201,050,0002026-11-23↗
OpenAIGPT-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.021,050,0002026-11-23↗
OpenAIGPT-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.501,050,0002026-11-23↗
OpenAIGPT-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,0002026-11-23↗
OpenAIGPT-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.251,050,0002026-11-23↗
OpenAIGPT-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,0002026-11-23↗
OpenAIGPT-5.4 mini
Standard tier.
$0.75$4.50$0.07400,0002026-11-23↗
OpenAIGPT-5.4 nano
Deprecated · retires Apr 1, 2027
Standard tier.
$0.20$1.25$0.02400,0002026-11-23↗
OpenAIGPT-5.2
Newer: GPT-5.4
Standard tier.
$1.75$14.00$0.17400,0002026-11-23↗
OpenAIGPT-5.2 Pro
Newer: GPT-5.4 Pro
Standard tier.
$21.00$168.00—400,0002026-11-23↗
OpenAIGPT-5.1
Deprecated · retires Apr 1, 2027
Standard tier.
$1.25$10.00$0.13400,0002026-11-23↗
OpenAIGPT-5
Deprecated · retires Dec 11, 2026
Standard tier.
$1.25$10.00$0.13400,0002026-11-23↗
OpenAIGPT-5 mini
Deprecated · retires Dec 11, 2026
Standard tier.
$0.25$2.00$0.03400,0002026-11-23↗
OpenAIGPT-5 nano
Deprecated · retires Dec 11, 2026
Standard tier.
$0.05$0.40$0.01400,0002026-11-23↗
OpenAIGPT-5 pro
Deprecated · retires Dec 11, 2026
Standard tier.
$15.00$120.00—400,0002026-11-23↗
OpenAIGPT-4.1
Deprecated · retires Jan 14, 2027
Standard tier.
$2.00$8.00$0.501,047,5762026-11-23↗
OpenAIGPT-4.1 mini
Deprecated · retires Jan 14, 2027
Standard tier.
$0.40$1.60$0.101,047,5762026-11-23↗
OpenAIGPT-4o
Deprecated · retires Jan 14, 2027
Standard tier.
$2.50$10.00$1.25128,0002026-11-23↗
OpenAIGPT-4o mini
Deprecated · retires Jan 14, 2027
Standard tier.
$0.15$0.60$0.07128,0002026-11-23↗
OpenAIo3-pro
Deprecated · retires Dec 11, 2026
Standard tier.
$20.00$80.00—200,0002026-11-23↗
OpenAIo3
Deprecated · retires Dec 11, 2026
Standard tier.
$2.00$8.00$0.50200,0002026-11-23↗
GoogleGemini 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.101,048,5762026-11-23↗
GoogleGemini 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.101,048,5762026-11-23↗
GoogleGemini 4 Hydrogen
Implicit caching only; max output 65,536 by default, up to 1,048,576 with long decode
$1.50$7.50$0.071,048,5762026-11-23↗
GoogleGemini 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.071,048,5762026-11-23↗
GoogleGemini 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.071,048,5762026-11-23↗
GoogleGemini 3.5 Flash-Lite$0.30$2.50$0.031,048,5762026-11-23↗
GoogleGemini 3.1 Flash-Lite
Deprecated · retires May 7, 2027
Deprecated; scheduled shutdown 2027-05-07
$0.25$1.50$0.031,048,5762026-11-23↗
GoogleGemini 3.1 Pro Preview
Preview model. Same price also applies to: gemini-3.1-pro-preview-customtools
$2.00$12.00$0.201,048,5762026-11-23↗
GoogleGemini 3 Flash Preview
Newer: Gemini 3.6 Flash
Preview model
$0.50$3.00$0.051,048,5762026-11-23↗
GoogleGemini 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.131,048,5762026-11-23↗
GoogleGemini 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.031,048,5762026-11-23↗
GoogleGemini 2.5 Flash-Lite
Newer: Gemini 3.5 Flash-Lite
$0.10$0.40$0.011,048,5762026-11-23↗
xAIGrok 4.7
Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request
$2.00$6.00$0.50500,0002026-11-23↗
xAIGrok 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.50500,0002026-11-23↗
xAIGrok 4.5
Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request
$2.00$6.00$0.30500,0002026-11-23↗
xAIGrok 4.3
Prompts of 200k+ tokens are billed at the long-context rate for all tokens in the request
$1.25$2.50$0.201,000,0002026-11-23↗
xAIGrok 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.201,000,0002026-11-23↗
xAIGrok 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.201,000,0002026-11-23↗
xAIGrok 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.20256,0002026-11-23↗
xAIGrok 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.201,000,0002026-11-23↗
DeepSeekDeepSeek 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.011,000,0002026-11-23↗
DeepSeekDeepSeek 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.041,000,0002026-11-23↗
MistralMistral Large 4$0.70$2.10$0.071,000,0002026-11-23↗
MistralMistral Small 4$0.15$0.60—256,0002026-11-23↗
MistralMinistral 3 14B$0.20$0.20—256,0002026-11-23↗
MistralMinistral 3 8B$0.15$0.15—256,0002026-11-23↗
MistralMinistral 3 3B$0.10$0.10—256,0002026-11-23↗
MistralCodestral$0.30$0.90—128,0002026-11-23↗
MistralMistral Medium 3.5
Deprecated · retires Apr 30, 2027
$1.50$7.50—256,0002026-11-14↗
MistralMistral Large 3
Deprecated · retires Apr 30, 2027
$0.50$1.50—256,0002026-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.

ProviderModelRetiredReplacementLast input $/1MLast output $/1M
OpenAIGPT-4.1 nanoOct 23, 2026gpt-5.6-luna$0.1$0.4
OpenAIo3-miniOct 23, 2026gpt-5.6-sol$1.1$4.4
OpenAIo4-miniOct 23, 2026gpt-5.6-terra$1.1$4.4
MistralMistral Medium 3Aug 31, 2026mistral-medium-3-5$0.4$2
OpenAIGPT-5.2-CodexJul 23, 2026gpt-5.6-sol$1.75$14
AnthropicClaude Opus 4Jun 15, 2026claude-opus-4-8$15$75
AnthropicClaude Sonnet 4Jun 15, 2026claude-sonnet-5-5$3$15
GoogleGemini 2.0 FlashJun 1, 2026gemini-3.6-flash$0.1$0.4
GoogleGemini 2.0 Flash-LiteJun 1, 2026gemini-3.1-flash-lite$0.075$0.3
xAIGrok 3May 15, 2026grok-4.3$3$15
xAIGrok 4May 15, 2026grok-4.3$3$15
xAIGrok 4 FastMay 15, 2026grok-4.3$0.2$0.5
AnthropicClaude 3.5 HaikuFeb 19, 2026claude-haiku-4-5-20251001$0.8$4
DeepSeekDeepSeek V4 Flash (legacy name)—deepseek-flash$0.3$1.2