LLM API Pricing Comparison
Compare capabilities, features, and pricing of leading language models.
Prices and features are subject to change; always verify with official provider documentation.
Filters
Cost Calculator
Note: Google models have tiered pricing based on token count. The calculation above is an approximation. For detailed pricing, please check the official documentation.
Select Models to Compare:
Model Comparison Table
| Provider | Model | Context Window |
Input Price per 1M Tokens |
Cached Input per 1M Tokens |
Output Price per 1M Tokens |
Input Modalities | Output Modalities | Reasoning | Source | Last Updated |
|---|---|---|---|---|---|---|---|---|---|---|
|
Anthropic
|
Claude 3.5 Haiku
|
200,000 | $0.80 | $0.08 | $4.00 |
Text
Image
|
Text
|
No | View | 2025-05-12 |
|
Anthropic
|
Claude Sonnet 4
|
200,000 | $3.00 | $0.30 | $15.00 |
Text
Image
|
Text
|
Yes | View | 2025-05-22 |
|
Anthropic
|
Claude Opus 4
|
200,000 | $15.00 | $1.50 | $75.00 |
Text
Image
|
Text
|
Yes | View | 2025-05-22 |
|
Anthropic
|
Claude 3 Haiku
|
200,000 | $0.25 | $0.03 | $1.25 |
Text
Image
|
Text
|
No | View | 2025-05-12 |
|
Anthropic
|
Claude 3.5 Sonnet
|
200,000 | $3.00 | $0.30 | $15.00 |
Text
Image
|
Text
|
No | View | 2025-05-12 |
|
Anthropic
|
Claude 3 Opus
|
200,000 | $15.00 | $1.50 | $75.00 |
Text
Image
|
Text
|
No | View | 2025-05-12 |
|
Anthropic
|
Claude 3.7 Sonnet
|
200,000 | $3.00 | $0.30 | $15.00 |
Text
Image
|
Text
|
Yes | View | 2025-05-12 |
|
Google
|
Gemini 2.5 Flash-Lite
|
1,000,000 | $0.10 | $0.025 | $0.40 |
Text
Image
Video
Audio
|
Text
|
Yes | View | 2025-06-18 |
|
Google
|
Gemini 2.5 Flash Preview
|
1,048,576 | $0.15 | $0.0375 | $0.60 |
Text
Image
Video
Audio
|
Text
|
Yes | View | 2025-05-12 |
|
Google
|
Gemini 2.5 Pro Preview
|
1,048,576 |
$1.25
$1.25 per million tokens (≤ 200k tokens) $2.50 per million tokens (> 200k tokens) |
$0.31
$0.31 per million tokens (≤ 200k tokens) $0.625 per million tokens (> 200k tokens) |
$10.00
$10.00 per million tokens (≤ 200k tokens) $15.00 per million tokens (> 200k tokens) |
Audio
Image
Video
Text
|
Text
|
Yes | View | 2025-05-12 |
|
Google
|
Gemini 2.0 Flash
|
1,048,576 | $0.10 | $0.025 | $0.40 |
Audio
Image
Video
Text
|
Text
|
Yes | View | 2025-05-12 |
|
Google
|
Gemini 2.0 Flash-Lite
|
1,048,576 | $0.075 | N/A | $0.30 |
Audio
Image
Video
Text
|
Text
|
No | View | 2025-05-12 |
|
Google
|
Gemini 1.5 Flash
|
1,048,576 |
$0.075
$0.075 per million tokens (≤ 128k tokens) $0.15 per million tokens (> 128k tokens) |
$0.01875
$0.01875 per million tokens (≤ 128k tokens) $0.0375 per million tokens (> 128k tokens) |
$0.30
$0.30 per million tokens (≤ 128k tokens) $0.60 per million tokens (> 128k tokens) |
Audio
Image
Video
Text
|
Text
|
No | View | 2025-05-12 |
|
Google
|
Gemini 1.5 Flash-8B
|
1,048,576 |
$0.0375
$0.0375 per million tokens (≤ 128k tokens) $0.075 per million tokens (> 128k tokens) |
$0.01
$0.01 per million tokens (≤ 128k tokens) $0.02 per million tokens (> 128k tokens) |
$0.15
$0.15 per million tokens (≤ 128k tokens) $0.30 per million tokens (> 128k tokens) |
Audio
Image
Video
Text
|
Text
|
No | View | 2025-05-12 |
|
Google
|
Gemini 1.5 Pro
|
2,097,152 |
$1.25
$1.25 per million tokens (≤ 128k tokens) $2.50 per million tokens (> 128k tokens) |
$0.3125
$0.3125 per million tokens (≤ 128k tokens) $0.625 per million tokens (> 128k tokens) |
$5.00
$5.00 per million tokens (≤ 128k tokens) $10.00 per million tokens (> 128k tokens) |
Audio
Image
Video
Text
|
Text
|
Yes | View | 2025-05-12 |
|
Mistral
|
Mistral 7B
|
32,000 | $0.25 | N/A | $0.25 |
Text
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Mistral Large
|
128,000 | $2 | N/A | $6 |
Text
|
Text
|
Yes | View | 2025-05-15 |
|
Mistral
|
Mistral Medium 3
|
128,000 | $0.4 | N/A | $2 |
Text
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Pixtral Large
|
128,000 | $2 | N/A | $6 |
Text
Image
|
Text
|
Yes | View | 2025-05-15 |
|
Mistral
|
Mistral Saba
|
32,000 | $0.2 | N/A | $0.6 |
Text
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Ministral 8B 24.10
|
128,000 | $0.1 | N/A | $0.1 |
Text
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Ministral 3B 24.10
|
128,000 | $0.04 | N/A | $0.04 |
Text
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Mistral Small 3.1
|
128,000 | $0.1 | N/A | $0.3 |
Text
Image
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Pixtral 12B
|
128,000 | $0.15 | N/A | $0.15 |
Text
Image
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Mistral NeMo
|
128,000 | $0.15 | N/A | $0.15 |
Text
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Mixtral 8x7B
|
32,000 | $0.7 | N/A | $0.7 |
Text
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Mixtral 8x22B
|
64,000 | $2 | N/A | $6 |
Text
|
Text
|
No | View | 2025-05-15 |
|
Mistral
|
Magistral Medium
|
40,000 | $2.00 | N/A | $5.00 |
Text
|
Text
|
Yes | View | 2025-06-12 |
|
Mistral
|
Codestral
|
256,000 | $0.30 | N/A | $0.09 |
Text
|
Text
|
Yes | View | 2025-06-12 |
|
OpenAI
|
o3-mini
|
200,000 | $1.10 | $0.55 | $4.40 |
Text
|
Text
|
Yes | View | 2025-05-11 |
|
OpenAI
|
GPT-5-mini
|
400,000 | $0.25 | $0.03 | $2.00 |
Text
Image
|
Text
|
Yes | View | 2025-08-07 |
|
OpenAI
|
GPT-4.1
|
1,047,576 | $2.00 | $0.50 | $8.00 |
Text
Image
|
Text
|
No | View | 2025-05-12 |
|
OpenAI
|
GPT-4o
|
128,000 | $5.00 | N/A | $15.00 |
Text
Image
|
Text
|
No | View | 2025-05-12 |
|
OpenAI
|
GPT-5-nano
|
400,000 | $0.05 | $0.01 | $0.40 |
Text
Image
|
Text
|
Yes | View | 2025-08-07 |
|
OpenAI
|
GPT-4.1 mini
|
1,047,576 | $0.40 | $0.10 | $1.60 |
Text
Image
|
Text
|
No | View | 2025-05-11 |
|
OpenAI
|
o1
|
200,000 | $15.00 | $7.50 | $60.00 |
Text
Image
|
Text
|
Yes | View | 2025-05-11 |
|
OpenAI
|
GPT-5
|
400,000 | $1.25 | $0.13 | $10.00 |
Text
Image
|
Text
|
Yes | View | 2025-08-07 |
|
OpenAI
|
o3
|
200,000 | $2.00 | $.50 | $8.00 |
Text
Image
|
Text
|
Yes | View | 2025-05-11 |
|
OpenAI
|
GPT-4.1 nano
|
1,047,576 | $0.10 | $0.025 | $0.40 |
Text
Image
|
Text
|
No | View | 2025-05-11 |
|
OpenAI
|
o1-pro
|
200,000 | $150.00 | N/A | $600.00 |
Text
Image
|
Text
|
Yes | View | 2025-05-11 |
|
OpenAI
|
o4-mini
|
200,000 | $1.10 | $0.275 | $4.40 |
Text
Image
|
Text
|
Yes | View | 2025-05-11 |
|
xAI
|
grok-3-mini-beta
|
131,072 | $0.30 | N/A | $0.50 |
Text
|
text
|
Yes | View | 2025-05-12 |
|
xAI
|
grok-4
|
256,000 | $3.00 | $0.75 | $15.00 |
Text
Image
|
Text
|
Yes | View | 2025-07-14 |
|
xAI
|
grok-2-1212
|
131,072 | $2.00 | N/A | $10.00 |
Text
|
text
|
Yes | View | 2025-05-12 |
|
xAI
|
grok-3-mini-fast-beta
|
131,072 | $0.60 | N/A | $4.00 |
Text
|
text
|
Yes | View | 2025-05-12 |
|
xAI
|
grok-3-beta
|
131,072 | $3.00 | N/A | $15.00 |
Text
|
text
|
Yes | View | 2025-05-12 |
|
xAI
|
grok-3-fast-beta
|
131,072 | $5.00 | N/A | $25.00 |
Text
|
text
|
Yes | View | 2025-05-12 |