Free tool · 10 models

LLM API Cost Calculator

Estimate your monthly API spend across 10 models. Pick a use case preset — chatbot, document summarization, coding assistant — or enter raw token counts. See per-request, daily, monthly, and yearly projections for any number of users. Export the full comparison to CSV.

5 use-case presetsCustom token inputN-user projectionSide-by-side tableCSV export

~500 input + 300 output per message · 100 msg/user/day

Token estimates are typical averages derived from public research on each use case. Switch to Token Mode to input your own values.

ChatGPT
Cost estimate
ChatGPT by OpenAI
API pricing (per 1M tokens)
$2.50 in / $10.00 out
Per Request
$0.00425
Per Day
$0.4250
1 user · 100 reqs
Per Month
$12.75
30-day estimate
Per Year
$155.13
365-day estimate
Side-by-side comparison
All 10 models · same workload · sorted by monthly cost
#ModelProviderInput $/MOutput $/M/ Req/ Day/ Month/ Year
1
Llama 3Llama 3Cheapest
Meta$0.00$0.00$0.00$0.00$0.00$0.00
2DeepSeek$0.27$1.10$0.000465$0.0465$1.40$16.97
3Alibaba$0.40$1.60$0.000680$0.0680$2.04$24.82
4Google$1.25$10.00$0.00362$0.3625$10.88$132.31
5Mistral AI$3.00$9.00$0.00420$0.4200$12.60$153.30
6
ChatGPTChatGPTSelected
OpenAI$2.50$10.00$0.00425$0.4250$12.75$155.13
7Anthropic$3.00$15.00$0.00600$0.6000$18.00$219.00
8Perplexity AI$3.00$15.00$0.00600$0.6000$18.00$219.00
9xAI$3.00$15.00$0.00600$0.6000$18.00$219.00
10OpenAI$10.00$40.00$0.0170$1.70$51.00$620.50

Prices reflect published API list rates as of May 2026. Free/open-weight models show $0.00 where applicable. Actual costs may vary with volume discounts. Methodology →

Ad
About this tool

How costs are calculated

API costs are based on the published list prices from each provider as of May 2026. Input and output tokens are billed separately at different rates. The formula is: cost = (inputTokens/1M × inputRate) + (outputTokens/1M × outputRate). Monthly projections assume 30 days; yearly projections assume 365 days.

Use case token estimates

Use Case Mode uses typical token counts derived from published benchmarks and developer surveys. A customer support bot averages ~500 input + 300 output tokens per message. A coding assistant averages ~800 input + 600 output per query. These are approximations — switch to Token Mode for precise custom inputs.

Ad