Calculator

AI API cost calculator

Enter your usage and see every model ranked by what it would cost each month.

Prices checked 13 Nov 2026

Cheapest for this usage
Llama 3.1 8B$2.30 / mo
See all 39 ranked ↓
Presets
1,500
About 1,125 words.
400
50,000
≈ 1,667 a day

Models to rank
Cheapest for this usage$2.30 / monthLlama 3.1 8B · 98% below the typical model

50,000 requests × (1,500 in + 400 out) a month. List prices, excluding tax.

  1. 1Llama 3.1 8BMetaBudget$2.30Cheapest
  2. 2Llama 4 ScoutMetaBudget$13.50+$11.20
  3. 3Llama 3.3 70BMetaMid-tier$13.90+$11.60
  4. 4Gemini 2.5 Flash-LiteGoogleBudget$15.50+$13.20
  5. 5Claude Haiku 5.5AnthropicBudget$17.50+$15.20
  6. 6GPT-6 LunaOpenAIBudget$17.50+$15.20
  7. 7Muse EmberMetaBudget$17.50+$15.20
  8. 8Mistral Small 4Mistral AIMid-tier$23.25+$20.95
  9. 9Llama 4 MaverickMetaMid-tier$37.25+$34.95
  10. 10GPT-5.6 LunaOpenAIBudget$39.00+$36.70
  11. 11CodestralMistral AIMid-tier$40.50+$38.20
  12. 12DeepSeek V4.1 FlashDeepSeekBudget$46.50+$44.20
  13. 13SonarPerplexity AIBudget$68.75+$66.45
  14. 14Gemini 3.5 Flash-LiteGoogleBudget$72.50+$70.20
  15. 15Mistral Large 4Mistral AIFlagship$94.50+$92.20
  16. 16Grok Build 0.1xAIBudget$115.00+$112.70
  17. 17Gemini 3.8 FlashGoogleMid-tier$131.25+$128.95
  18. 18Grok 4.20xAIMid-tier$143.75+$141.45
  19. 19Grok 4.3xAIFlagship$143.75+$141.45
  20. 20GPT-5.4 MiniOpenAIMid-tier$146.25+$143.95
  21. 21GPT-6.1 TerraOpenAIMid-tier$175.00+$172.70
  22. 22DeepSeek V4 ProDeepSeekMid-tier$178.20+$175.90
  23. 23Muse Spark 1.3MetaMid-tier$178.75+$176.45
  24. 24Gemini 4 HydrogenGoogleMid-tier$262.50+$260.20
  25. 25Grok 4.7xAIFlagship$270.00+$267.70
  26. 26Claude Sonnet 5.5AnthropicMid-tier$350.00+$347.70
  27. 27Gemini 4 ArgonGoogleFlagship$350.00+$347.70
  28. 28Gemini 4 CarbonGoogleFlagship$350.00+$347.70
  29. 29GPT-6.1 SolOpenAIMid-tier$350.00+$347.70
  30. 30Gemini 3.1 Pro PreviewGoogleFlagship$390.00+$387.70
  31. 31GPT-5.6 TerraOpenAIMid-tier$390.00+$387.70
  32. 32GPT-5.4OpenAIFlagship$487.50+$485.20
  33. 33Claude Opus 5.5AnthropicFlagship$700.00+$697.70
  34. 34GPT-5.6 SolOpenAIFlagship$700.00+$697.70
  35. 35Claude Opus 4.7AnthropicFlagship$875.00+$872.70
  36. 36GPT-5.5OpenAIFlagship$975.00+$972.70
  37. 37Claude Fable 5.2AnthropicFlagship$1,400+$1,398
  38. 38GPT-6 AstraOpenAIFlagship$1,750+$1,748
  39. 39GPT-5.5 ProOpenAIFlagship$5,850+$5,848

How the calculator works

Cost per request is input tokens × the input price, plus output tokens × the output price, divided by a million. We multiply by your monthly requests. Batch applies each provider's own batch discount where it offers one; caching bills half your input at the provider's cache-read price, and models with no published cache-read price are billed at the full input rate.

Prices are list prices from each provider's pricing page, checked on 13 Nov 2026. They exclude tax, volume discounts and cache-write fees.

How many tokens is a typical request?
A short chat message with a little history is around 1,000–2,000 input tokens. A request with a few pages of documents can be 10,000–30,000.
Why does output matter so much?
Output tokens cost several times more than input on most models, so long answers dominate the bill even when prompts are much longer.
Can I share an estimate?
Yes. Copy link saves your inputs in the URL, so anyone opening it sees the same ranking.

Example: a chatbot on every current model

50,000 requests a month, each with 1,500 input and 400 output tokens, at list prices in USD. This is the calculator's starting point; change the inputs above to price your own workload.

See the full example table
Monthly cost of the chatbot workload, cheapest first
RankModelProviderMonthly cost
1Llama 3.1 8BMeta$2.30
2Llama 4 ScoutMeta$13.50
3Llama 3.3 70BMeta$13.90
4Gemini 2.5 Flash-LiteGoogle$15.50
5Claude Haiku 5.5Anthropic$17.50
6GPT-6 LunaOpenAI$17.50
7Muse EmberMeta$17.50
8Mistral Small 4Mistral AI$23.25
9Llama 4 MaverickMeta$37.25
10GPT-5.6 LunaOpenAI$39.00
11CodestralMistral AI$40.50
12DeepSeek V4.1 FlashDeepSeek$46.50
13SonarPerplexity AI$68.75
14Gemini 3.5 Flash-LiteGoogle$72.50
15Mistral Large 4Mistral AI$94.50
16Grok Build 0.1xAI$115.00
17Gemini 3.8 FlashGoogle$131.25
18Grok 4.20xAI$143.75
19Grok 4.3xAI$143.75
20GPT-5.4 MiniOpenAI$146.25
21GPT-6.1 TerraOpenAI$175.00
22DeepSeek V4 ProDeepSeek$178.20
23Muse Spark 1.3Meta$178.75
24Gemini 4 HydrogenGoogle$262.50
25Grok 4.7xAI$270.00
26Claude Sonnet 5.5Anthropic$350.00
27Gemini 4 ArgonGoogle$350.00
28Gemini 4 CarbonGoogle$350.00
29GPT-6.1 SolOpenAI$350.00
30Gemini 3.1 Pro PreviewGoogle$390.00
31GPT-5.6 TerraOpenAI$390.00
32GPT-5.4OpenAI$487.50
33Claude Opus 5.5Anthropic$700.00
34GPT-5.6 SolOpenAI$700.00
35Claude Opus 4.7Anthropic$875.00
36GPT-5.5OpenAI$975.00
37Claude Fable 5.2Anthropic$1,400
38GPT-6 AstraOpenAI$1,750
39GPT-5.5 ProOpenAI$5,850