LLM API Cost Calculator

Enter the input and output tokens for one API call and see what that call costs on every major model, side by side. Prices are per 1M tokens, checked against vendor pages on 20 Nov 2026. Everything runs in your browser.

Prices checked 20 Nov 2026

10,000 input tokens + 1,000 output tokens per call. Click a column heading to sort.

DeepSeek V3.2CheapestDeepSeek$0.28$0.40$0.0032$3.20
DeepSeek V3DeepSeek$0.27$1.10$0.0038$3.80
GPT-5 MiniOpenAI$0.25$2.00$0.0045$4.50
Gemini 2.5 FlashGoogle$0.30$2.50$0.0055$5.50
DeepSeek R1DeepSeek$0.55$2.19$0.0077$7.69
Claude Haiku 4.5Anthropic$1.00$5.00$0.015$15.00
Gemini 2.5 ProGoogle$1.25$10.00$0.022$22.50
GPT-5.2OpenAI$1.75$14.00$0.032$31.50
Claude Sonnet 4.5Anthropic$3.00$15.00$0.045$45.00
Claude Opus 4.5Anthropic$5.00$25.00$0.075$75.00

Prices are list prices per 1M tokens as published by each vendor on 20 Nov 2026. Cached input, batch API discounts, and tiered pricing are not included, so your actual bill may differ. Check the vendor pricing page before budgeting a large workload.

Related reading