🤖AI Model API Pricing 2026

Compare AI Model API Pricing

Side-by-side pricing for 39 LLM APIs — GPT-4.1, Claude Sonnet 4.6, Gemini 2.5, DeepSeek V4, Grok 3 and more. Input & output cost per 1M tokens, updated 2026.

39
AI Models
741
Comparisons
Per 1M
Pricing Unit

All Models — Price Per 1M Tokens

ModelProviderInput /1MOutput /1M
Nova MicroAmazon$0.0350/1M tkns$0.140/1M tknsCompare →
Nova LiteAmazon$0.0600/1M tkns$0.240/1M tknsCompare →
Gemini 2.0 Flash-LiteGoogle$0.0750/1M tkns$0.300/1M tknsCompare →
Llama 4 ScoutMeta$0.0800/1M tkns$0.300/1M tknsCompare →
GPT-4.1 NanoOpenAI$0.100/1M tkns$0.400/1M tknsCompare →
Gemini 2.0 FlashGoogle$0.100/1M tkns$0.400/1M tknsCompare →
Llama 3.3 70BMeta$0.100/1M tkns$0.320/1M tknsCompare →
DeepSeek V4 FlashDeepSeek$0.140/1M tkns$0.280/1M tknsCompare →
GPT-4o MiniOpenAI$0.150/1M tkns$0.600/1M tknsCompare →
Llama 4 MaverickMeta$0.150/1M tkns$0.600/1M tknsCompare →
Command RCohere$0.150/1M tkns$0.600/1M tknsCompare →
GPT-5.4 NanoOpenAI$0.200/1M tkns$1.25/1M tknsCompare →
DeepSeek V3DeepSeek$0.200/1M tkns$0.770/1M tknsCompare →
DeepSeek V4 ProDeepSeek$0.229/1M tkns$0.914/1M tknsCompare →
Gemini 2.5 FlashGoogle$0.300/1M tkns$2.50/1M tknsCompare →
Grok 3 MinixAI$0.300/1M tkns$0.500/1M tknsCompare →
CodestralMistral$0.300/1M tkns$0.900/1M tknsCompare →
Mistral Small 3.1Mistral$0.351/1M tkns$0.555/1M tknsCompare →
Qwen 2.5 72BAlibaba$0.360/1M tkns$0.400/1M tknsCompare →
GPT-4.1 MiniOpenAI$0.400/1M tkns$1.60/1M tknsCompare →
DeepSeek R1DeepSeek$0.700/1M tkns$2.50/1M tknsCompare →
Claude Haiku 4.5Anthropic$0.800/1M tkns$4.00/1M tknsCompare →
Claude 3.5 HaikuAnthropic$0.800/1M tkns$4.00/1M tknsCompare →
Nova ProAmazon$0.800/1M tkns$3.20/1M tknsCompare →
o3 MiniOpenAI$1.10/1M tkns$4.40/1M tknsCompare →
o4 MiniOpenAI$1.10/1M tkns$4.40/1M tknsCompare →
Gemini 2.5 ProGoogle$1.25/1M tkns$10.00/1M tknsCompare →
GPT-4.1OpenAI$2.00/1M tkns$8.00/1M tknsCompare →
Grok 2xAI$2.00/1M tkns$10.00/1M tknsCompare →
Mistral Large 2Mistral$2.00/1M tkns$6.00/1M tknsCompare →
GPT-4oOpenAI$2.50/1M tkns$10.00/1M tknsCompare →
GPT-5.4OpenAI$2.50/1M tkns$15.00/1M tknsCompare →
Command R+Cohere$2.50/1M tkns$10.00/1M tknsCompare →
Claude Sonnet 4.6Anthropic$3.00/1M tkns$15.00/1M tknsCompare →
Claude 3.7 SonnetAnthropic$3.00/1M tkns$15.00/1M tknsCompare →
Grok 3xAI$3.00/1M tkns$15.00/1M tknsCompare →
GPT-5.5OpenAI$5.00/1M tkns$30.00/1M tknsCompare →
o3OpenAI$15.00/1M tkns$60.00/1M tknsCompare →
Claude Opus 4.7Anthropic$15.00/1M tkns$75.00/1M tknsCompare →

Prices shown as listed on provider pricing pages. Verify before committing to production workloads.

Popular Comparisons

GPT-4.1
$2.00/1M tkns
VS
GPT-4.1 Mini
$0.400/1M tkns
Claude Sonnet 4.6
$3.00/1M tkns
VS
GPT-4.1
$2.00/1M tkns
GPT-4.1
$2.00/1M tkns
VS
Gemini 2.5 Pro
$1.25/1M tkns
DeepSeek V4 Pro
$0.229/1M tkns
VS
GPT-4.1
$2.00/1M tkns
Gemini 2.5 Flash
$0.300/1M tkns
VS
GPT-4.1 Mini
$0.400/1M tkns
DeepSeek V4 Flash
$0.140/1M tkns
VS
Gemini 2.0 Flash
$0.100/1M tkns
Also compare:Compare Email API Pricing →Compare Cloud Storage Costs →Compare SMS API Rates →

Which AI Model API Should You Use?

💰 Cheapest option: DeepSeek V4 Flash
At $0.14/1M input tokens, DeepSeek V4 Flash delivers strong performance at a fraction of GPT-4 pricing — ideal for high-volume text generation and summarization tasks.
Best balance: Gemini 2.5 Flash
Google's Gemini 2.5 Flash at $0.30/1M input offers a 1M-token context window with multimodal support. Exceptional throughput for document processing workloads.
🧠 Best reasoning: o3 or Claude Opus 4.7
OpenAI o3 ($15/1M) and Claude Opus 4.7 ($15/1M) lead on complex reasoning tasks. Choose o3 for math/code, Opus for nuanced writing and analysis.
🔧 Best for developers: GPT-4.1 or Claude Sonnet 4.6
GPT-4.1 ($5/1M) and Claude Sonnet 4.6 ($3/1M) hit the sweet spot of capability and cost. Both have excellent tool-use, long context, and mature SDKs.

Other API Pricing Comparisons

📧
Email API Pricing
SendGrid, Mailgun, AWS SES & more
🗄️
Cloud Storage Pricing
AWS S3, Backblaze B2, Cloudflare R2 & more
💬
SMS API Pricing
Twilio, Telnyx, Vonage & more