AI Model Price Calculator

Compare LLM API costs across 36 models from OpenAI, Anthropic, Google, Meta, DeepSeek, and more.

What is this tool?

When you use AI APIs like GPT-4o, Claude, or Gemini, you pay per token — roughly $0.001–$15 per 1,000 tokens depending on the model. A token is about 4 characters or 3/4 of a word. This calculator helps you estimate exactly how much your AI usage will cost before you write a single line of code.

Whether you are building an app, running a business, or just exploring AI costs — enter your expected input and output tokens above, and instantly compare prices across 36 models from every major provider.

💰 API pricing is per 1M tokens📝 1M tokens ≈ 750K words⚡ Input = your prompts · Output = AI responses
36 models shown

Total Tokens

120K

Cheapest

Llama 3.2 3B

$0.0040

Most Expensive

o1

$2.7000

Potential Savings

-100%

vs most expensive

M
Llama 3.2 3BBest valueOpen Source
Meta·
Input:$0.0030
Output:$0.0010
Total:$0.0040
per 1M:$0.03
80K
M
Llama 3.2 11B VisionOpen Source
Meta·vision
Input:$0.0049
Output:$0.0010
Total:$0.0059
per 1M:$0.05
131K
A
Nova Micro
Amazon·
Input:$0.0035
Output:$0.0028
Total:$0.0063
per 1M:$0.05
128K
C
Command R7B
Cohere·function
Input:$0.0035
Output:$0.0030
Total:$0.0065
per 1M:$0.05
128K
M
Phi-4Open Source
Microsoft·
Input:$0.0065
Output:$0.0028
Total:$0.0093
per 1M:$0.08
16K
A
Nova Lite
Amazon·vision
Input:$0.0060
Output:$0.0048
Total:$0.0108
per 1M:$0.09
300K
G
Gemma 3 27BOpen Source
Google·
Input:$0.0080
Output:$0.0032
Total:$0.0112
per 1M:$0.09
128K
G
Gemini 1.5 Flash
Google·vision, function
Input:$0.0075
Output:$0.0060
Total:$0.0135
per 1M:$0.11
1.0M
M
Llama 4 ScoutOpen Source
Meta·
Input:$0.0080
Output:$0.0060
Total:$0.0140
per 1M:$0.12
328K
O
GPT-4.1 nano
OpenAI·function
Input:$0.0100
Output:$0.0080
Total:$0.0180
per 1M:$0.15
1.0M
G
Gemini 2.0 Flash
Google·vision, function
Input:$0.0100
Output:$0.0080
Total:$0.0180
per 1M:$0.15
1.0M
O
GPT-4o mini
OpenAI·vision, function
Input:$0.0150
Output:$0.0120
Total:$0.0270
per 1M:$0.22
128K
M
Mistral Small 3.1 24BOpen Source
Mistral·function
Input:$0.0200
Output:$0.0120
Total:$0.0320
per 1M:$0.27
128K
D
DeepSeek Coder 2.0Open Source
DeepSeek·coding
Input:$0.0270
Output:$0.0220
Total:$0.0490
per 1M:$0.41
128K
D
DeepSeek Chat V3Open Source
DeepSeek·vision, function
Input:$0.0280
Output:$0.0220
Total:$0.0500
per 1M:$0.42
164K
M
MiniMax M2.7
MiniMax·vision, function
Input:$0.0300
Output:$0.0240
Total:$0.0540
per 1M:$0.45
200K
M
MiniMax M2.5
MiniMax·vision, function
Input:$0.0300
Output:$0.0240
Total:$0.0540
per 1M:$0.45
128K
G
Gemini 2.5 Flash
Google·vision, function
Input:$0.0350
Output:$0.0300
Total:$0.0650
per 1M:$0.54
1.0M
O
GPT-4.1 mini
OpenAI·function
Input:$0.0400
Output:$0.0320
Total:$0.0720
per 1M:$0.60
1.0M
D
DeepSeek R1Open Source
DeepSeek·reasoning
Input:$0.0550
Output:$0.0438
Total:$0.0988
per 1M:$0.82
128K
A
Claude 3.5 Haiku
Anthropic·vision, function
Input:$0.0800
Output:$0.0800
Total:$0.1600
per 1M:$1.33
200K
O
o4-mini
OpenAI·reasoning
Input:$0.1100
Output:$0.0880
Total:$0.1980
per 1M:$1.65
200K
O
o3-mini
OpenAI·reasoning
Input:$0.1100
Output:$0.0880
Total:$0.1980
per 1M:$1.65
200K
A
Claude Haiku 4.5
Anthropic·vision, function
Input:$0.1000
Output:$0.1000
Total:$0.2000
per 1M:$1.67
200K
G
Gemini 2.5 Pro
Google·vision, function
Input:$0.1250
Output:$0.1000
Total:$0.2250
per 1M:$1.88
1.0M
G
Gemini 1.5 Pro
Google·vision, function
Input:$0.1250
Output:$0.1000
Total:$0.2250
per 1M:$1.88
2.0M
M
Mistral Large 3
Mistral·function
Input:$0.2000
Output:$0.1200
Total:$0.3200
per 1M:$2.67
128K
O
GPT-4.1
OpenAI·function
Input:$0.2000
Output:$0.1600
Total:$0.3600
per 1M:$3.00
1.0M
x
Grok 2
xAI·function
Input:$0.2000
Output:$0.1600
Total:$0.3600
per 1M:$3.00
131K
O
GPT-4o
OpenAI·vision, function
Input:$0.2500
Output:$0.2000
Total:$0.4500
per 1M:$3.75
128K
A
Claude 3.5 Sonnet
Anthropic·vision, function
Input:$0.3000
Output:$0.3000
Total:$0.6000
per 1M:$5.00
200K
A
Claude Sonnet 4.6
Anthropic·vision, function
Input:$0.3000
Output:$0.3000
Total:$0.6000
per 1M:$5.00
200K
C
Command R+
Cohere·vision, function
Input:$0.3000
Output:$0.3000
Total:$0.6000
per 1M:$5.00
128K
A
Claude Opus 4.6
Anthropic·vision, function
Input:$0.5000
Output:$0.5000
Total:$1.0000
per 1M:$8.33
1.0M
O
o3
OpenAI·reasoning
Input:$1.0000
Output:$0.8000
Total:$1.8000
per 1M:$15.00
200K
O
o1
OpenAI·reasoning
Input:$1.5000
Output:$1.2000
Total:$2.7000
per 1M:$22.50
200K

Prices are indicative and may vary. Data as of April 2026. Always check provider pricing pages for latest rates.

Explore

New to AI model selection?

Read our expert comparisons before you pick a model.

Browse AI Tool Comparisons →

Compare

Ready to pick a model?

Enter your token volumes above to see exactly how much each provider costs.

75+ models across 11 providers — updated April 2026

Get Started

Want updates when models change price?

New models launch every month. Get notified when we update the calculator.