AI Pricing Comparison

All prices are per 1 million tokens. Updated May 2026.

ModelInput / 1MOutput / 1MCached / 1MContextTry
Gemini 2.0 Flash
Google
$0.100$0.4001.0MAPI
GPT-4o mini
OpenAI
$0.150$0.600$0.075128KAPI
Llama 4 Maverick
Meta
$0.150$0.6001.0MAPI
Gemini 2.5 Flash
Google
$0.300$2.501.0MAPI
DeepSeek V4 Pro
DeepSeek
$0.435$0.870128KAPI
DeepSeek R1
DeepSeek
$0.550$2.19128KAPI
Claude Haiku 4.5
Anthropic
$0.800$4.00$0.080200KAPI
Gemini 2.5 Pro
Google
$1.25$10.001.0MAPI
Mistral Large 2
Mistral
$2.00$6.00128KAPI
GPT-4o
OpenAI
$2.50$10.00$1.25128KAPI
Claude Sonnet 4.6
Anthropic
$3.00$15.00$0.300200KAPI
Grok 4
xAI
$3.00$15.00256KAPI
Perplexity Pro
Perplexity
$3.00$15.00127KAPI
Claude Opus 4.7
Anthropic
$15.00$75.00$1.50200KAPI
OpenAI o1
OpenAI
$15.00$60.00$7.50200KAPI
Note: Pricing shown is for API usage. Free tiers and consumer products (ChatGPT, Claude.ai, Gemini.com) may differ. Cached input pricing applies when using prompt caching features. Prices may change — always verify with the provider.

Estimating API costs?

A typical page of text is ~750 tokens. A 1-hour conversation might use ~10,000 tokens. At GPT-4o pricing ($2.50/1M), that's $0.025 per conversation.