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

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
Anthropic Logo Claude 3.5 Haiku
200,000 $0.80 $0.08 $4.00
Text Image
Text
No View 2025-05-12
Anthropic
Anthropic Logo Claude 3.5 Sonnet
200,000 $3.00 $0.30 $15.00
Text Image
Text
No View 2025-05-12
Anthropic
Anthropic Logo Claude 3.7 Sonnet
200,000 $3.00 $0.30 $15.00
Text Image
Text
Yes View 2025-05-12
Anthropic
Anthropic Logo Claude 3 Haiku
200,000 $0.25 $0.03 $1.25
Text Image
Text
No View 2025-05-12
Anthropic
Anthropic Logo Claude 3 Opus
200,000 $15.00 $1.50 $75.00
Text Image
Text
No View 2025-05-12
Anthropic
Anthropic Logo Claude Opus 4
200,000 $15.00 $1.50 $75.00
Text Image
Text
Yes View 2025-05-22
Anthropic
Anthropic Logo Claude Sonnet 4
200,000 $3.00 $0.30 $15.00
Text Image
Text
Yes View 2025-05-22
Google
Google Gemini Logo 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
Google Gemini Logo 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
Google Gemini Logo 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
Google
Google Gemini Logo Gemini 2.0 Flash
1,048,576 $0.10 $0.025 $0.40
Audio Image Video Text
Text
Yes View 2025-05-12
Google
Google Gemini Logo 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
Google Gemini Logo 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
Google Gemini Logo 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
Google Gemini Logo 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
Mistral
Mistral AI Logo Codestral
256,000 $0.30 N/A $0.09
Text
Text
Yes View 2025-06-12
Mistral
Mistral AI Logo Magistral Medium
40,000 $2.00 N/A $5.00
Text
Text
Yes View 2025-06-12
Mistral
Mistral AI Logo Ministral 3B 24.10
128,000 $0.04 N/A $0.04
Text
Text
No View 2025-05-15
Mistral
Mistral AI Logo Ministral 8B 24.10
128,000 $0.1 N/A $0.1
Text
Text
No View 2025-05-15
Mistral
Mistral AI Logo Mistral 7B
32,000 $0.25 N/A $0.25
Text
Text
No View 2025-05-15
Mistral
Mistral AI Logo Mistral Large
128,000 $2 N/A $6
Text
Text
Yes View 2025-05-15
Mistral
Mistral AI Logo Mistral Medium 3
128,000 $0.4 N/A $2
Text
Text
No View 2025-05-15
Mistral
Mistral AI Logo Mistral NeMo
128,000 $0.15 N/A $0.15
Text
Text
No View 2025-05-15
Mistral
Mistral AI Logo Mistral Saba
32,000 $0.2 N/A $0.6
Text
Text
No View 2025-05-15
Mistral
Mistral AI Logo Mistral Small 3.1
128,000 $0.1 N/A $0.3
Text Image
Text
No View 2025-05-15
Mistral
Mistral AI Logo Mixtral 8x22B
64,000 $2 N/A $6
Text
Text
No View 2025-05-15
Mistral
Mistral AI Logo Mixtral 8x7B
32,000 $0.7 N/A $0.7
Text
Text
No View 2025-05-15
Mistral
Mistral AI Logo Pixtral 12B
128,000 $0.15 N/A $0.15
Text Image
Text
No View 2025-05-15
Mistral
Mistral AI Logo Pixtral Large
128,000 $2 N/A $6
Text Image
Text
Yes View 2025-05-15
OpenAI
OpenAI Logo GPT-4.1
1,047,576 $2.00 $0.50 $8.00
Text Image
Text
No View 2025-05-12
OpenAI
OpenAI Logo GPT-4.1 mini
1,047,576 $0.40 $0.10 $1.60
Text Image
Text
No View 2025-05-11
OpenAI
OpenAI Logo GPT-4.1 nano
1,047,576 $0.10 $0.025 $0.40
Text Image
Text
No View 2025-05-11
OpenAI
OpenAI Logo GPT-4o
128,000 $5.00 N/A $15.00
Text Image
Text
No View 2025-05-12
OpenAI
OpenAI Logo o1
200,000 $15.00 $7.50 $60.00
Text Image
Text
Yes View 2025-05-11
OpenAI
OpenAI Logo o1-pro
200,000 $150.00 N/A $600.00
Text Image
Text
Yes View 2025-05-11
OpenAI
OpenAI Logo o3
200,000 $2.00 $.50 $8.00
Text Image
Text
Yes View 2025-05-11
OpenAI
OpenAI Logo o3-mini
200,000 $1.10 $0.55 $4.40
Text
Text
Yes View 2025-05-11
OpenAI
OpenAI Logo o4-mini
200,000 $1.10 $0.275 $4.40
Text Image
Text
Yes View 2025-05-11
xAI
xAI Grok Logo grok-2-1212
131,072 $2.00 N/A $10.00
Text
text
Yes View 2025-05-12
xAI
xAI Grok Logo grok-3-beta
131,072 $3.00 N/A $15.00
Text
text
Yes View 2025-05-12
xAI
xAI Grok Logo grok-3-fast-beta
131,072 $5.00 N/A $25.00
Text
text
Yes View 2025-05-12
xAI
xAI Grok Logo grok-3-mini-beta
131,072 $0.30 N/A $0.50
Text
text
Yes View 2025-05-12
xAI
xAI Grok Logo grok-3-mini-fast-beta
131,072 $0.60 N/A $4.00
Text
text
Yes View 2025-05-12
xAI
xAI Grok Logo grok-4
256,000 $3.00 $0.75 $15.00
Text Image
Text
Yes View 2025-07-14