LLM API Cost Calculator

Compare API costs across 7 major LLM providers. Find the perfect model for your budget.

Example Use Cases

Calculator

Total / Month
12,000,000

Example Input/Output

Input Tokens:61
243 characters
Output Tokens:102
406 characters
Total per Call:163
60% input (61 tokens) / 40% output (102 tokens)
47 results
Prov.
Model
Cost
Groq
Llama 3.1 8B$0.74
Mistral AI
Ministral 8B 24.10$1.20
Mistral AI
Pixtral 12B$1.80
Google
Gemini 1.5 Flash$1.98
Mistral AI
Devstral Small$2.16
Mistral AI
Mistral Small 3.2$2.16
OpenAI
GPT-5 Nano$2.28
Qwen
Qwen-Flash$2.28
OpenAI
GPT-4.1 Nano$2.64
Google
Gemini 2.0 Flash$2.64
Groq
Mixtral 8x7B$2.88
Mistral AI
Mistral 7B$3.00
OpenAI
GPT-4o Mini$3.96
Mistral AI
Ministral 3B 24.10$4.80
Mistral AI
Codestral$6.48
Anthropic
Claude 3 Haiku$7.80
Groq
Llama 3.1 405B$8.04
Groq
Llama 3.1 70B$8.04
Mistral AI
Mixtral 8x7B$8.40
Qwen
Qwen-Plus$8.64
Qwen
Qwen-Coder$9.36
OpenAI
GPT-4.1 Mini$10.56
Google
Gemini 1.0 Pro$10.80
Mistral AI
Magistral Small$10.80
OpenAI
GPT-5 Mini$11.40
Mistral AI
Devstral Medium$12.48
Mistral AI
Mistral Medium 3$12.48
OpenAI
O4 Mini$29.04
OpenAI
O3 Mini$29.04
OpenAI
O1 Mini$29.04
Google
Gemini 1.5 Pro$33.00
Qwen
Qwen-Max$37.44
Mistral AI
Magistral Medium$38.40
Mistral AI
Mixtral 8x22B$43.20
Mistral AI
Mistral Large$43.20
Mistral AI
Pixtral Large$43.20
OpenAI
GPT-4.1$52.80
OpenAI
O3$52.80
OpenAI
GPT-5$57.00
OpenAI
GPT-4o$66.00
Anthropic
Claude 3.5 Sonnet$93.60
Anthropic
Claude 3 Sonnet$93.60
OpenAI
O1$396.00
Anthropic
Claude 3 Opus$468.00
OpenAI
O3 Pro$528.00
OpenAI
GPT-5 Pro$684.00
OpenAI
O1 Pro$3960.00

Pricing Disclaimer: Pricing data is updated regularly but may not reflect the most current rates. Always verify pricing on provider websites before making decisions. Prices shown are in USD per 1M tokens.

Trademark Notice: All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.