Skip to content
Best AI Ever

Tool

AI API cost calculator

Enter your usage for a month and compare the estimated API cost of every model with verified current prices. Prices stay in their own currency; nothing is converted.

Not sure how many tokens you use? AI token pricing explained shows what a token is and how input, output and cached tokens are billed, and how to reduce AI API costs covers caching, batching and other ways to lower the bill. Every price is listed in the AI pricing table.

Used for the cost per request, tier selection and context-window checks.

Estimated cost per month

Per-request size unknown: enter the number of requests to check context and output limits.

USD
# Model Total Breakdown Prices as of
1 Amazon Nova Micro Amazon $18.375
  • Input tokens $3.50
  • Cached input tokens $7.875
  • Output tokens $7.00
2026-10-25 Amazon Bedrock Pricing
2 Ministral 3 3B Mistral AI $24.00
  • Input tokens $10.00
  • Cached input tokens $9.00
  • Output tokens $5.00
2026-10-25 API pricing | Mistral Docs
3 Amazon Nova Lite Amazon $31.50
  • Input tokens $6.00
  • Cached input tokens $13.50
  • Output tokens $12.00
2026-10-25 Amazon Bedrock Pricing
4 Ministral 3 8B Mistral AI $36.00
  • Input tokens $15.00
  • Cached input tokens $13.50
  • Output tokens $7.50
2026-10-25 API pricing | Mistral Docs
5 Claude Haiku 5.5 Anthropic $44.00
  • Input tokens $10.00
  • Cached input tokens $9.00
  • Output tokens $25.00
tiered pricing: base tier assumed
2026-10-25 Pricing - Claude Platform Docs
6 GPT-6 Luna OpenAI $44.00
  • Input tokens $10.00
  • Cached input tokens $9.00
  • Output tokens $25.00
tiered pricing: base tier assumed
2026-10-25 Pricing | OpenAI API
7 Command R7B Cohere $45.00
  • Input tokens $37.50
  • Output tokens $7.50
cache price not listed; billed at input rate
2026-10-25 Pricing | Secure and Scalable Enterprise AI | Cohere
8 Ministral 3 14B Mistral AI $48.00
  • Input tokens $20.00
  • Cached input tokens $18.00
  • Output tokens $10.00
2026-10-25 API pricing | Mistral Docs
9 Qwen3.8-Flash Alibaba Cloud (Qwen) $52.90
  • Input tokens $15.00
  • Cached input tokens $14.40
  • Output tokens $23.50
2026-10-25 qwen3.8-flash Model Info - Alibaba Cloud Model Studio
10 Qwen3.8-Omni-Flash Alibaba Cloud (Qwen) $52.90
  • Input tokens $15.00
  • Cached input tokens $14.40
  • Output tokens $23.50
2026-10-25 Alibaba Cloud Model Studio model pricing
11 Mistral Small 4 Mistral AI $58.50
  • Input tokens $15.00
  • Cached input tokens $13.50
  • Output tokens $30.00
2026-10-25 API pricing | Mistral Docs
12 DeepSeek-V4.1-Flash DeepSeek $95.40
  • Input tokens $30.00
  • Cached input tokens $5.40
  • Output tokens $60.00
2026-10-25 Models & Pricing | DeepSeek API Docs
13 Gemini 3.1 Flash-Lite Google $122.50
  • Input tokens $25.00
  • Cached input tokens $22.50
  • Output tokens $75.00
2026-10-25 Gemini Developer API pricing
14 Mistral Large 3 Mistral AI $170.00
  • Input tokens $50.00
  • Cached input tokens $45.00
  • Output tokens $75.00
2026-10-25 API pricing | Mistral Docs
15 Command R (08-2024) Cohere $180.00
  • Input tokens $150.00
  • Output tokens $30.00
cache price not listed; billed at input rate
2026-10-25 Cohere's Command R Model | Cohere
16 Gemini 3.5 Flash-Lite Google $182.00
  • Input tokens $30.00
  • Cached input tokens $27.00
  • Output tokens $125.00
2026-10-25 Gemini Developer API pricing
17 Qwen3.7-Plus Alibaba Cloud (Qwen) $192.00
  • Input tokens $40.00
  • Cached input tokens $72.00
  • Output tokens $80.00
tiered pricing: base tier assumed
2026-10-25 qwen3.7-plus Model Info - Alibaba Cloud Model Studio
18 Amazon Nova 2 Lite Amazon $222.50
  • Input tokens $30.00
  • Cached input tokens $67.50
  • Output tokens $125.00
2026-10-25 Amazon Bedrock Pricing
19 Qwen3.8-27B Alibaba Cloud (Qwen) $290.00
  • Input tokens $50.00
  • Cached input tokens $90.00
  • Output tokens $150.00
2026-10-25 qwen3.8-27b Model Info - Alibaba Cloud Model Studio
20 Nano Banana 2 Lite Google $325.00
  • Input tokens $250.00
  • Output tokens $75.00
cache price not listed; billed at input rate
2026-10-25 Gemini Developer API pricing
21 Gemini 3.6 Flash Google $330.00
  • Input tokens $75.00
  • Cached input tokens $67.50
  • Output tokens $187.50
2026-10-25 Gemini Developer API pricing
22 Gemini 3.8 Flash Google $330.00
  • Input tokens $75.00
  • Cached input tokens $67.50
  • Output tokens $187.50
2026-10-25 Gemini Developer API pricing
23 DeepSeek-V4-Pro DeepSeek $369.60
  • Input tokens $132.00
  • Cached input tokens $39.60
  • Output tokens $198.00
2026-10-25 Models & Pricing | DeepSeek API Docs
24 Grok Build 0.1 xAI $380.00
  • Input tokens $100.00
  • Cached input tokens $180.00
  • Output tokens $100.00
tiered pricing: base tier assumed
2026-10-25 API Pricing
25 Amazon Nova Pro Amazon $420.00
  • Input tokens $80.00
  • Cached input tokens $180.00
  • Output tokens $160.00
2026-10-25 Amazon Bedrock Pricing
26 Grok 4.20 (Non-Reasoning) xAI $430.00
  • Input tokens $125.00
  • Cached input tokens $180.00
  • Output tokens $125.00
tiered pricing: base tier assumed
2026-10-25 API Pricing
27 Grok 4.20 (Reasoning) xAI $430.00
  • Input tokens $125.00
  • Cached input tokens $180.00
  • Output tokens $125.00
tiered pricing: base tier assumed
2026-10-25 API Pricing
28 Grok 4.20 Multi-Agent (Beta) xAI $430.00
  • Input tokens $125.00
  • Cached input tokens $180.00
  • Output tokens $125.00
tiered pricing: base tier assumed
2026-10-25 API Pricing
29 Grok 4.3 xAI $430.00
  • Input tokens $125.00
  • Cached input tokens $180.00
  • Output tokens $125.00
tiered pricing: base tier assumed
2026-10-25 API Pricing
30 Amazon Nova 2 Sonic Amazon $467.50
  • Input tokens $330.00
  • Output tokens $137.50
cache price not listed; billed at input rate
2026-10-25 Amazon Bedrock Pricing
31 Amazon Nova 2.5 Sonic Amazon $467.50
  • Input tokens $330.00
  • Output tokens $137.50
cache price not listed; billed at input rate
2026-10-25 Amazon Bedrock Pricing
32 Mistral Large 4 Mistral AI $471.00
  • Input tokens $136.00
  • Cached input tokens $126.00
  • Output tokens $209.00
2026-10-25 API pricing | Mistral Docs
33 Muse Spark 1.1 Meta $472.50
  • Input tokens $125.00
  • Cached input tokens $135.00
  • Output tokens $212.50
2026-10-25 Pricing and rate limits - Meta Model API
34 Muse Spark 1.2 Meta $472.50
  • Input tokens $125.00
  • Cached input tokens $135.00
  • Output tokens $212.50
2026-10-25 Pricing and rate limits - Meta Model API
35 Muse Spark 1.3 Meta $472.50
  • Input tokens $125.00
  • Cached input tokens $135.00
  • Output tokens $212.50
2026-10-25 Pricing and rate limits - Meta Model API
36 Mistral Medium 3.5 Mistral AI $660.00
  • Input tokens $150.00
  • Cached input tokens $135.00
  • Output tokens $375.00
2026-10-25 API pricing | Mistral Docs
37 Qwen3.8-2.4T-A95B Alibaba Cloud (Qwen) $725.00
  • Input tokens $200.00
  • Cached input tokens $225.00
  • Output tokens $300.00
2026-10-25 qwen3.8-2.4t-a95b Model Info - Alibaba Cloud Model Studio
38 Qwen3.8-Max Alibaba Cloud (Qwen) $725.00
  • Input tokens $200.00
  • Cached input tokens $225.00
  • Output tokens $300.00
2026-10-25 qwen3.8-max Model Info - Alibaba Cloud Model Studio
39 Grok 4.5 xAI $770.00
  • Input tokens $200.00
  • Cached input tokens $270.00
  • Output tokens $300.00
tiered pricing: base tier assumed
2026-10-25 API Pricing
40 Claude Sonnet 5.5 Anthropic $790.00
  • Input tokens $200.00
  • Cached input tokens $90.00
  • Output tokens $500.00
2026-10-25 Pricing - Claude Platform Docs
41 Gemini 4 Argon Google $790.00
  • Input tokens $200.00
  • Cached input tokens $90.00
  • Output tokens $500.00
2026-10-25 Gemini Developer API pricing
42 GPT-6.1 Sol OpenAI $790.00
  • Input tokens $200.00
  • Cached input tokens $90.00
  • Output tokens $500.00
tiered pricing: base tier assumed
2026-10-25 Pricing | OpenAI API
43 GPT-6 Sol OpenAI $880.00
  • Input tokens $200.00
  • Cached input tokens $180.00
  • Output tokens $500.00
tiered pricing: base tier assumed
2026-10-25 Pricing | OpenAI API
44 Grok 4.6 xAI $950.00
  • Input tokens $200.00
  • Cached input tokens $450.00
  • Output tokens $300.00
tiered pricing: base tier assumed
2026-10-25 API Pricing
45 Grok 4.7 xAI $950.00
  • Input tokens $200.00
  • Cached input tokens $450.00
  • Output tokens $300.00
tiered pricing: base tier assumed
2026-10-25 API Pricing
46 Gemini 3.1 Pro Google $980.00
  • Input tokens $200.00
  • Cached input tokens $180.00
  • Output tokens $600.00
tiered pricing: base tier assumed
2026-10-25 Gemini Developer API pricing
47 Claude Sonnet 4.5 Anthropic $1,320.00
  • Input tokens $300.00
  • Cached input tokens $270.00
  • Output tokens $750.00
2026-10-25 Pricing - Claude Platform Docs
48 Claude Opus 5.5 Anthropic $1,580.00
  • Input tokens $400.00
  • Cached input tokens $180.00
  • Output tokens $1,000.00
2026-10-25 Pricing - Claude Platform Docs
49 Muse Wonder Meta $1,580.00
  • Input tokens $400.00
  • Cached input tokens $180.00
  • Output tokens $1,000.00
2026-10-25 Pricing and rate limits - Meta Model API
50 Nano Banana 2.1 Google $1,875.00
  • Input tokens $1,500.00
  • Output tokens $375.00
cache price not listed; billed at input rate
2026-10-25 Gemini Developer API pricing
51 Nano Banana Pro Google $2,600.00
  • Input tokens $2,000.00
  • Output tokens $600.00
cache price not listed; billed at input rate
2026-10-25 Gemini Developer API pricing
52 Command A Cohere $3,000.00
  • Input tokens $2,500.00
  • Output tokens $500.00
cache price not listed; billed at input rate
2026-10-25 Command A | Cohere
53 Claude Fable 5.1 Anthropic $3,725.00
  • Input tokens $1,000.00
  • Cached input tokens $225.00
  • Output tokens $2,500.00
2026-10-25 Pricing - Claude Platform Docs
54 GPT-6 Astra OpenAI $4,400.00
  • Input tokens $1,000.00
  • Cached input tokens $900.00
  • Output tokens $2,500.00
tiered pricing: base tier assumed
2026-10-25 Pricing | OpenAI API
Not estimated (10)

How the estimate is calculated

Each model's cost is the sum of fresh input tokens, cached input tokens and output tokens multiplied by its current published price for the matching dimension, rounded to the nearest millionth of a currency unit. With batch processing the batch input and output prices are used; models without batch prices are listed as excluded. Cached tokens use the model's cached-input price, or its input price when no cache price is listed (flagged).

Only models that produce text are compared; image-only and speech-only models are priced in their own dimensions on the pricing page.

Your numbers are totals for the period. Enter the number of requests to check context-window and output limits against the average request size and to pick the right price tier; without it the base tier is assumed and flagged.