AI API cost calculator
Enter your usage and see every model ranked by what it would cost each month.
Prices checked 13 Nov 2026
50,000 requests × (1,500 in + 400 out) a month. List prices, excluding tax.
- 1Llama 3.1 8BMetaBudget$2.30Cheapest
- 2Llama 4 ScoutMetaBudget$13.50+$11.20
- 3Llama 3.3 70BMetaMid-tier$13.90+$11.60
- 4Gemini 2.5 Flash-LiteGoogleBudget$15.50+$13.20
- 5Claude Haiku 5.5AnthropicBudget$17.50+$15.20
- 6GPT-6 LunaOpenAIBudget$17.50+$15.20
- 7Muse EmberMetaBudget$17.50+$15.20
- 8Mistral Small 4Mistral AIMid-tier$23.25+$20.95
- 9Llama 4 MaverickMetaMid-tier$37.25+$34.95
- 10GPT-5.6 LunaOpenAIBudget$39.00+$36.70
- 11CodestralMistral AIMid-tier$40.50+$38.20
- 12DeepSeek V4.1 FlashDeepSeekBudget$46.50+$44.20
- 13SonarPerplexity AIBudget$68.75+$66.45
- 14Gemini 3.5 Flash-LiteGoogleBudget$72.50+$70.20
- 15Mistral Large 4Mistral AIFlagship$94.50+$92.20
- 16Grok Build 0.1xAIBudget$115.00+$112.70
- 17Gemini 3.8 FlashGoogleMid-tier$131.25+$128.95
- 18Grok 4.20xAIMid-tier$143.75+$141.45
- 19Grok 4.3xAIFlagship$143.75+$141.45
- 20GPT-5.4 MiniOpenAIMid-tier$146.25+$143.95
- 21GPT-6.1 TerraOpenAIMid-tier$175.00+$172.70
- 22DeepSeek V4 ProDeepSeekMid-tier$178.20+$175.90
- 23Muse Spark 1.3MetaMid-tier$178.75+$176.45
- 24Gemini 4 HydrogenGoogleMid-tier$262.50+$260.20
- 25Grok 4.7xAIFlagship$270.00+$267.70
- 26Claude Sonnet 5.5AnthropicMid-tier$350.00+$347.70
- 27Gemini 4 ArgonGoogleFlagship$350.00+$347.70
- 28Gemini 4 CarbonGoogleFlagship$350.00+$347.70
- 29GPT-6.1 SolOpenAIMid-tier$350.00+$347.70
- 30Gemini 3.1 Pro PreviewGoogleFlagship$390.00+$387.70
- 31GPT-5.6 TerraOpenAIMid-tier$390.00+$387.70
- 32GPT-5.4OpenAIFlagship$487.50+$485.20
- 33Claude Opus 5.5AnthropicFlagship$700.00+$697.70
- 34GPT-5.6 SolOpenAIFlagship$700.00+$697.70
- 35Claude Opus 4.7AnthropicFlagship$875.00+$872.70
- 36GPT-5.5OpenAIFlagship$975.00+$972.70
- 37Claude Fable 5.2AnthropicFlagship$1,400+$1,398
- 38GPT-6 AstraOpenAIFlagship$1,750+$1,748
- 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?
Why does output matter so much?
Can I share an estimate?
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
| Rank | Model | Provider | Monthly cost |
|---|---|---|---|
| 1 | Llama 3.1 8B | Meta | $2.30 |
| 2 | Llama 4 Scout | Meta | $13.50 |
| 3 | Llama 3.3 70B | Meta | $13.90 |
| 4 | Gemini 2.5 Flash-Lite | $15.50 | |
| 5 | Claude Haiku 5.5 | Anthropic | $17.50 |
| 6 | GPT-6 Luna | OpenAI | $17.50 |
| 7 | Muse Ember | Meta | $17.50 |
| 8 | Mistral Small 4 | Mistral AI | $23.25 |
| 9 | Llama 4 Maverick | Meta | $37.25 |
| 10 | GPT-5.6 Luna | OpenAI | $39.00 |
| 11 | Codestral | Mistral AI | $40.50 |
| 12 | DeepSeek V4.1 Flash | DeepSeek | $46.50 |
| 13 | Sonar | Perplexity AI | $68.75 |
| 14 | Gemini 3.5 Flash-Lite | $72.50 | |
| 15 | Mistral Large 4 | Mistral AI | $94.50 |
| 16 | Grok Build 0.1 | xAI | $115.00 |
| 17 | Gemini 3.8 Flash | $131.25 | |
| 18 | Grok 4.20 | xAI | $143.75 |
| 19 | Grok 4.3 | xAI | $143.75 |
| 20 | GPT-5.4 Mini | OpenAI | $146.25 |
| 21 | GPT-6.1 Terra | OpenAI | $175.00 |
| 22 | DeepSeek V4 Pro | DeepSeek | $178.20 |
| 23 | Muse Spark 1.3 | Meta | $178.75 |
| 24 | Gemini 4 Hydrogen | $262.50 | |
| 25 | Grok 4.7 | xAI | $270.00 |
| 26 | Claude Sonnet 5.5 | Anthropic | $350.00 |
| 27 | Gemini 4 Argon | $350.00 | |
| 28 | Gemini 4 Carbon | $350.00 | |
| 29 | GPT-6.1 Sol | OpenAI | $350.00 |
| 30 | Gemini 3.1 Pro Preview | $390.00 | |
| 31 | GPT-5.6 Terra | OpenAI | $390.00 |
| 32 | GPT-5.4 | OpenAI | $487.50 |
| 33 | Claude Opus 5.5 | Anthropic | $700.00 |
| 34 | GPT-5.6 Sol | OpenAI | $700.00 |
| 35 | Claude Opus 4.7 | Anthropic | $875.00 |
| 36 | GPT-5.5 | OpenAI | $975.00 |
| 37 | Claude Fable 5.2 | Anthropic | $1,400 |
| 38 | GPT-6 Astra | OpenAI | $1,750 |
| 39 | GPT-5.5 Pro | OpenAI | $5,850 |