AI Toolset

LLM API Pricing Comparison (2026)

Official providers last verified 2026-11-30 · Prices per 1M tokens (USD) · Standard API tier unless noted

Compare input and output API costs for major frontier and budget models. Each row links to the official pricing page used for verification. For subscription-style coding assistants, see the coding plan comparison.

Verdict matrix

Choose an API tier by workload economics

Choose a budget model if...

  • • You run classification, extraction, routing, or high-volume simple tasks.
  • • Latency and unit cost matter more than maximum reasoning quality.
  • • You can add evaluation, fallback, or routing logic around the model.

Choose a balanced model if...

  • • You need stronger reasoning without paying frontier-model rates for every request.
  • • The workload mixes coding, analysis, structured generation, and agent steps.
  • • You want one default model before adding specialized routing.

Choose a premium model if...

  • • Task failure is more expensive than token cost.
  • • You need difficult reasoning, long-context work, complex coding, or high-value agent decisions.
  • • You will measure quality gain against output length, latency, and review cost.
Default: Production default: test at least one model from each tier on the same eval set and compare total task cost, including retries, output length, latency, tool failures, and human review.
Provider Model Input $/MTok Output $/MTok Context Source
💰 Budget Tier (< $1/MTok input)
OpenAI GPT-5 nano $0.05 $0.4 400K openai.com
Anthropic Claude Haiku 5.5 $0.1 $0.5 1M claude.com
OpenAI GPT-4o mini $0.15 $0.6 128K openai.com
OpenAI GPT-5.4 nano $0.2 $1.25 400K openai.com
OpenAI GPT-5 mini $0.25 $2 400K openai.com
DeepSeek Deepseek Flash $0.3 $1.2 1M api-docs.deepseek.com
OpenAI GPT-4.1 mini $0.4 $1.6 1M openai.com
OpenAI GPT-5.4 mini $0.75 $4.5 400K openai.com
Z AI GLM-5.3-Flash $0.15 $0.5 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
MiniMax MiniMax-M3 $0.3 $1.2 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
MiniMax MiniMax-M2.5 $0.3 $1.2 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Xiaomi MiMo-V2.6-Flash $0.14 $0.28 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
StepFun Step 3.5 Flash $0.1 $0.3 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Apodex Apodex 1.1 $0.3 $3 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Inception Mercury 2 $0.25 $0.75 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Amazon Nova Micro $0.04 $0.14 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
📊 Mid Tier ($1–3/MTok input)
Anthropic Claude Haiku 4.5 $1 $5 1M claude.com
OpenAI GPT-5 $1.25 $10 1M openai.com
OpenAI GPT-5.1 $1.25 $10 1M openai.com
DeepSeek Deepseek V4 Pro $1.32 $3.96 1M api-docs.deepseek.com
OpenAI GPT-5.2 $1.75 $14 1M openai.com
Anthropic Claude Sonnet 5 $2 $10 1M claude.com
Anthropic Claude Sonnet 5.5 $2 $10 1M claude.com
OpenAI GPT-4.1 $2 $8 1M openai.com
OpenAI o3 $2 $8 200K openai.com
OpenAI GPT-4o $2.5 $10 128K openai.com
OpenAI GPT-5.4 $2.5 $15 1M openai.com
Z AI GLM-5.3 $1.4 $4.4 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-29
Alibaba Qwen3.8 27B $0.5 $3 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-29
Alibaba Qwen3.8 Max 2 6 artificialanalysis.ai · artificialanalysis.aiRetained price · row date not recorded
SpaceXAI Grok 4.7 $2 $6 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-29
SpaceXAI Grok 4.6 $2 $6 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Kimi Kimi K3 3 15 artificialanalysis.ai · artificialanalysis.aiRetained price · row date not recorded
Kimi Kimi K2.6 $0.95 $4 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Xiaomi MiMo-V2.6-Pro $0.43 $0.87 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-29
StepFun Step 5 Preview $1 $2.7 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Thinking Machines Inkling $1 $4.05 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Amazon Nova 2.0 Pro Preview $1.25 $10 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
⭐ Premium Tier ($3+/MTok input)
Anthropic Claude Sonnet 4 $3 $15 1M claude.com
Anthropic Claude Sonnet 4.5 $3 $15 1M claude.com
Anthropic Claude Sonnet 4.6 $3 $15 1M claude.com
Anthropic Claude Opus 5.5 $4 $20 1M claude.com
Anthropic Claude Opus 4.5 $5 $25 1M claude.com
Anthropic Claude Opus 4.6 $5 $25 1M claude.com
Anthropic Claude Opus 4.7 $5 $25 1M claude.com
Anthropic Claude Opus 4.8 $5 $25 1M claude.com
Anthropic Claude Opus 5 $5 $25 1M claude.com
OpenAI GPT-5.5 $5 $30 1M openai.com
Anthropic Claude Fable 5.2 $8 $40 1M claude.com
Anthropic Claude Mythos 5.2 $8 $40 1M claude.com
Anthropic Claude Fable 5 $10 $50 1M claude.com
Anthropic Claude Fable 5.1 $10 $50 1M claude.com
Anthropic Claude Mythos 5 $10 $50 1M claude.com
Anthropic Claude Mythos 5.1 $10 $50 1M claude.com
Anthropic Claude Opus 4 $15 $75 1M claude.com
Anthropic Claude Opus 4.1 $15 $75 1M claude.com
OpenAI GPT-5 pro $15 $120 1M openai.com
OpenAI GPT-5.4 pro $30 $180 1M openai.com
OpenAI GPT-5.5 pro $30 $180 1M openai.com
🔓 Open-Weight (via API hosts; not vendor list price)
Meta Llama 4 Maverick (hosted) $0.05–0.90 $0.05–0.90 1M groq.com · docs.fireworks.ai
DeepSeek DeepSeek R1 (hosted) See official pricing See official pricing 128K api-docs.deepseek.com
Alibaba Qwen3 Max (DashScope) See official pricing See official pricing 128K help.aliyun.com
NVIDIA Nemotron 3 Ultra $0.6 $2.5 artificialanalysis.ai · artificialanalysis.aiRetained price · row date not recorded
NVIDIA Nemotron 3.5 Lightning $0.06 $0.2 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Mistral Mistral Medium 3.5 $1.5 $7.5 artificialanalysis.ai · artificialanalysis.aiRetained price · row date not recorded
Mistral Mistral Large 4 Preview $0.7 $2.1 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30
Upstage Solar Pro 4 $0.3 $1.2 artificialanalysis.ai · artificialanalysis.aiAA verification · 2026-11-30

* Range rows: price depends on hosting provider or SKU; see linked official pages. OpenAI rows use Standard tier unless noted.

📊 Output Cost Visual Comparison ($/MTok)

Nova Micro
$0.14
Nemotron 3.5 Lightning
$0.2
MiMo-V2.6-Flash
$0.28
Step 3.5 Flash
$0.3
GPT-5 nano
$0.4
Claude Haiku 5.5
$0.5
GLM-5.3-Flash
$0.5
GPT-4o mini
$0.6
Mercury 2
$0.75
MiMo-V2.6-Pro
$0.87
Deepseek Flash
$1.2
MiniMax-M3
$1.2
MiniMax-M2.5
$1.2
Solar Pro 4
$1.2
GPT-5.4 nano
$1.25
GPT-4.1 mini
$1.6
GPT-5 mini
$2
Mistral Large 4 Preview
$2.1
Nemotron 3 Ultra
$2.5
Step 5 Preview
$2.7
Qwen3.8 27B
$3
Apodex 1.1
$3
Deepseek V4 Pro
$3.96
Kimi K2.6
$4
Inkling
$4.05
GLM-5.3
$4.4
GPT-5.4 mini
$4.5
Claude Haiku 4.5
$5
Qwen3.8 Max
6
Grok 4.7
$6
Grok 4.6
$6
Mistral Medium 3.5
$7.5
GPT-4.1
$8
o3
$8
GPT-5
$10
GPT-5.1
$10
Claude Sonnet 5
$10
Claude Sonnet 5.5
$10
GPT-4o
$10
Nova 2.0 Pro Preview
$10
GPT-5.2
$14
GPT-5.4
$15
Claude Sonnet 4
$15
Claude Sonnet 4.5
$15
Claude Sonnet 4.6
$15
Kimi K3
15
Claude Opus 5.5
$20
Claude Opus 4.5
$25
Claude Opus 4.6
$25
Claude Opus 4.7
$25
Claude Opus 4.8
$25
Claude Opus 5
$25
GPT-5.5
$30
Claude Fable 5.2
$40
Claude Mythos 5.2
$40
Claude Fable 5
$50
Claude Fable 5.1
$50
Claude Mythos 5
$50
Claude Mythos 5.1
$50
Claude Opus 4
$75
Claude Opus 4.1
$75
GPT-5 pro
$120
GPT-5.4 pro
$180
GPT-5.5 pro
$180

💡 Key Insights

Output often costs more than input

Most providers charge higher $/MTok for output than input. Shorter prompts and concise output formats reduce monthly spend.

Route by workload instead of defaulting to the flagship

GPT-5.6 Luna and Terra create lower-cost routing options for many workloads; reserve Sol or other premium models for tasks that justify the higher output-token price.

Open-weight hosting varies

Llama and similar models are priced by the inference host (Groq, Fireworks, etc.), not a single vendor list price—always check your provider's page.

Promotions change quickly

DeepSeek and others run time-limited discounts. Re-check official pages before locking budgets; this table shows last_verified date in the header.

🧮 Quick Cost Estimator

Estimated Monthly Cost

—

📋 Official Pricing Pages

  1. OpenAI API Pricing — openai.com
  2. Anthropic API Pricing — claude.com
  3. DeepSeek API Pricing — api-docs.deepseek.com
  4. Groq Pricing — groq.com
  5. Fireworks AI Serverless Pricing — docs.fireworks.ai
  6. Alibaba Model Studio (Qwen) Pricing — help.aliyun.com

Prices reflect official list rates as of last verified date above. Providers may change pricing without notice. Always confirm on the linked official pages before budgeting.

More Comparisons

Keep exploring