AI API Cost Calculator

Estimate what your AI feature will cost per month across 18 LLM APIs, using each provider's official pricing.

ProviderModelContext$/request$/day$/month$/user/month
GroqGPT-OSS 20B (Groq)*Cheapest131K0.00022.0360.750.06
OpenAIGPT-6 Luna*1.05M0.00022.0661.650.06
AnthropicClaude Haiku 5.5*—0.00022.0661.650.06
MistralMistral Small 4256K0.00032.6378.980.08
GroqGPT-OSS 120B (Groq)*131K0.00044.05121.500.12
DeepSeekDeepSeek V4.1 Flash*1M0.00055.01150.390.15
GoogleGemini 3.5 Flash-Lite—0.00099.17274.950.27
xAIGrok 4.3*1M0.001515.23456.750.46
GoogleGemini 3.8 Flash*—0.001515.41462.380.46
DeepSeekDeepSeek V4 Pro*1M0.001818.28548.460.55
MistralMistral Medium 3.5256K0.003130.83924.750.92
xAIGrok 4.7*500K0.003232.25967.500.97
OpenAIGPT-6.1 Sol*1.05M0.00440.051,201.501.20
AnthropicClaude Sonnet 5.51M0.00440.051,201.501.20
GoogleGemini 4 Argon*1M0.00440.051,201.501.20
AnthropicClaude Opus 5.51M0.00880.102,403.002.40
AnthropicClaude Fable 5.11M0.0198197.635,928.755.93
OpenAIGPT-6 Astra*1.05M0.0206205.506,165.006.17

Prices as of 2026-10-26, in USD at each provider's standard API tier, assuming a 30-day month. Cache reads are modeled; cache writes, batch discounts and long-context pricing tiers are not. Models without a published cache-read rate bill the cached share at the full input price.