OpenAI & other LLM Pricing Calculator
Calculate the cost of using OpenAI and other Large Language Models(LLMs) APIs
Input tokens
Output tokens
Api Calls
Calculate by
Provider
â–²Model
â–²context
â–²input
â–²output
â–²perCall
â–²total
â–²OpenAI
gpt-4o
16k
2.5
1.25
700.00
10.00
OpenAI
gpt-4o-mini
16k
0.15
0.6
2000.00
0.40
OpenAI
gpt-4o-2024-08-06
16k
2.5
10
40000.00
8.00
OpenAI
gpt-4o-audio-preview
16k
2.5
10
20000.00
4.00
OpenAI
GPT-4o mini
16k
0.15
0.6
700.00
0.14
OpenAI
gpt-4o-mini-2024-07-18
16k
0.15
0.6
90000.00
18.00
OpenAI
o1-preview
16k
15
60
180000.00
36.00
OpenAI
o1-mini
16k
3
12
180000.00
36.00
Anthropic
Claude 3.5 Sonnet
16k
3
15
180000.00
36.00
Anthropic
Claude 3.5 Haiku
16k
0.25
1.25
180000.00
36.00
Anthropic
Claude 3 Opus
16k
15
75
180000.00
36.00
Anthropic
Claude 3 Sonnet
16k
3
15
180000.00
36.00
Anthropic
Claude 2.1
16k
8
24
180000.00
36.00
Anthropic
Claude 2.0
16k
8
24
180000.00
36.00
Mistral AI
Mistral Large 2
16k
2
6
2400000.00
36.00
Mistral AI
Mistral Small 24.09
16k
0.2
0.6
2400000.00
36.00
Mistral AI
Codestral
16k
0.2
0.6
2400000.00
36.00
Mistral AI
Ministral 3B 24.10
16k
0.04
0.04
2400000.00
36.00
Mistral AI
Ministral 8B 24.10
16k
0.1
0.1
2400000.00
36.00
Mistral AI
Pixtral 12B
16k
0.15
0.15
2400000.00
36.00
Mistral AI
Mistral NeMo
16k
0.15
0.15
2400000.00
36.00
Mistral AI
Mistral 7B
16k
0.25
0.25
2400000.00
36.00
Mistral AI
Mixtral 8x7B
16k
0.7
0.7
2400000.00
36.00
Mistral AI
Mixtral 8x22B
16k
2
6
2400000.00
36.00