AI MODELS

AI model cost calculator

Enter your monthly usage to see what each listed model would cost, cheapest first. Rates are US dollars per 1 million tokens at standard processing, taken from each vendor's own pricing page.

ModelProviderInputCached inputOutputMonthly cost
Ministral 3 (3B)Mistral API$0.10—$0.10$1.20
Gemini 2.5 Flash-Lite
Text, image and video input; audio input is $0.30
Google Gemini API$0.10$0.01$0.40$1.80
Ministral 3 (8B)Mistral API$0.15—$0.15$1.80
Claude Haiku 5.5
Prompts up to 100,000 tokens; over 100,000 tokens: $0.50 input, $0.05 cache hit, $2.50 output
Anthropic API$0.10$0.01$0.50$2.00
gpt-6-luna
Short context (up to 272K input tokens); long context costs more
OpenAI API$0.10$0.01$0.50$2.00
Ministral 3 (14B)Mistral API$0.20—$0.20$2.40
deepseek-flash (off-peak)
All other hours; half the peak rate
DeepSeek$0.15$0.003$0.60$2.70
gpt-4o-miniOpenAI API$0.15$0.075$0.60$2.70
Mistral Small 4Mistral API$0.15—$0.60$2.70
gpt-5.4-nanoOpenAI API$0.20$0.02$1.25$4.50
CodestralMistral API$0.30—$0.90$4.80
deepseek-flash (peak)
Peak hours: 01:00-04:00 and 06:00-10:00 UTC, Monday to Friday, excluding Chinese public holidays
DeepSeek$0.30$0.006$1.20$5.40
Gemini 3.1 Flash-Lite
Text, image and video input; audio input is $0.50
Google Gemini API$0.25$0.025$1.50$5.50
Gemini 2.5 Flash
Text, image and video input; audio input is $1.00
Google Gemini API$0.30$0.03$2.50$8.00
deepseek-v4-pro (off-peak)
All other hours; half the peak rate
DeepSeek$0.66$0.022$1.98$10.56
Gemini 3 Flash Preview
Text, image and video input; audio input is $1.00
Google Gemini API$0.50$0.05$3.00$11.00
Mistral Large 4Mistral API$0.70$0.07$2.10$11.20
gpt-5.4-miniOpenAI API$0.75$0.075$4.50$16.50
Claude Haiku 4.5Anthropic API$1.00$0.10$5.00$20.00
gpt-6.1-terra
Short context (up to 272K input tokens); long context costs more
OpenAI API$1.00$0.05$5.00$20.00
deepseek-v4-pro (peak)
Peak hours: 01:00-04:00 and 06:00-10:00 UTC, Monday to Friday, excluding Chinese public holidays
DeepSeek$1.32$0.044$3.96$21.12
Gemini 2.5 Pro
Prompts up to 200k tokens; above 200k: $2.50 input, $0.25 cached input, $15.00 output
Google Gemini API$1.25$0.125$10.00$32.50
Gemini 3.5 FlashGoogle Gemini API$1.50$0.15$9.00$33.00
gpt-4.1OpenAI API$2.00$0.50$8.00$36.00
o3OpenAI API$2.00$0.50$8.00$36.00
Claude Sonnet 5.5Anthropic API$2.00$0.10$10.00$40.00
gpt-6.2-sol
Short context (up to 272K input tokens); long context costs more
OpenAI API$2.00$0.10$10.00$40.00
Gemini 3.1 Pro Preview
Prompts up to 200k tokens; above 200k: $4.00 input, $0.40 cached input, $18.00 output
Google Gemini API$2.00$0.20$12.00$44.00
gpt-5.4
Below 272K context length
OpenAI API$2.50$0.25$15.00$55.00
Claude Sonnet 4.6Anthropic API$3.00$0.30$15.00$60.00
Claude Opus 5.5Anthropic API$4.00$0.20$20.00$80.00
Claude Opus 5Anthropic API$5.00$0.50$25.00$100.00
gpt-5.5
Below 272K context length
OpenAI API$5.00$0.50$30.00$110.00
Claude Fable 5.2Anthropic API$8.00$0.20$40.00$160.00
gpt-6.2-astra
Short context (up to 272K input tokens); long context costs more
OpenAI API$8.00$0.40$40.00$160.00

How the cost is calculated

Monthly cost = input tokens × input rate, plus the cached share of input at the cached-input rate, plus output tokens × output rate. A model with no cached-input rate is charged its normal input rate for the cached share.

What is not included

Where the rates come from

These rates change often. Check the vendor's page before committing to a budget. See the AI Agents & Models category for conditions and the methodology for how data is checked.