LLM Cost Calculator

Pick your models, set your volume, and see what it actually costs to run. No surprises on the invoice.

Usage volume

Select models to compare

GPT-4.1OpenAI
$2/$8
GPT-4.1 miniOpenAI
$0.4/$1.6
GPT-4.1 nanoOpenAI
$0.1/$0.4
o3OpenAI
$10/$40
o4-miniOpenAI
$1.1/$4.4
Claude Opus 4.7Anthropic
$5/$25
Claude Sonnet 4.6Anthropic
$3/$15
Claude Haiku 4.5Anthropic
$1/$5
Gemini 3.5 FlashGoogle
$1.5/$9
Gemini 3.1 ProGoogle
$2/$12
Gemini 2.5 ProGoogle
$1.25/$10
Gemini 2.5 FlashGoogle
$0.3/$2.5
Gemini 2.5 Flash-LiteGoogle
$0.1/$0.4
Llama 4 MaverickMeta / hosted
$0.5/$0.5
Llama 4 ScoutMeta / hosted
$0.18/$0.18
Mistral Large 3Mistral
$2/$6
Mistral Small 4Mistral
$0.14/$0.42
Where these numbers come from. Pricing is from each provider's public API pricing page, last updated 2026-05. Prices change -- check the provider's site before committing to a model at scale. This calculator covers API costs only, not infrastructure, hosting, or engineering time.
Get the full picture

Cost is one piece. The Understand the Models section of the playbook covers how to pick the right model for your use case -- not just the cheapest one.