Free Developer Tool Last Updated: 2026-11-25 Includes Caching & Batch Discounts

LLM API Pricing Calculator & Provider Comparison

Estimate your exact monthly AI API bill across 50 models and 16 official & regulated providers — including OpenAI, Claude, Gemini, DeepSeek, Llama, Qwen, Mistral, Grok, Amazon Nova, Cohere, Perplexity, Groq, Cerebras, DeepInfra, OpenRouter, and Together AI.

Quick Presets:
Monthly Volume
—
Lowest Est. Monthly Bill
—
Average Monthly Cost
—
Models Compared
—

Live AI API Price Comparison Table

Prices shown per 1 million tokens. Monthly bills update automatically from the calculator above.

Capabilities:

Efficiency Map: Blended Price vs. Speed / Context

Further left = cheaper, higher up = faster or longer context. Hover for specs, click any dot to add to side-by-side PK.

Flagship Fast & Cheap Reasoning Open Source
PK Model & Provider Input / 1M↕ Output / 1M↕ Blended / 1M↕ Context↕ Est. Speed↕ Your Est. Cost▲ Official Pricing
Amazon Nova Micro Amazon · Amazon Bedrock $0.035Cached: $0.0088 $0.14 $0.05873:27 in/out mix 128K ~230 tok/s $0.96 / mo$0.03 / day Visit Provider ↗
Command R7B Cohere · Cohere Official $0.037No cache discount $0.15 $0.06873:27 in/out mix 128K ~185 tok/s $1.13 / mo$0.04 / day Visit Provider ↗
Amazon Nova Lite Amazon · Amazon Bedrock $0.060Cached: $0.015 $0.24 $0.09973:27 in/out mix 300K ~190 tok/s $1.64 / mo$0.05 / day Visit Provider ↗
Llama 3.1 8B Meta · Cerebras $0.10No cache discount $0.10 $0.10073:27 in/out mix 128K ~1800 tok/s $1.65 / mo$0.06 / day Visit Provider ↗
Mistral Small 3 Mistral · Mistral Official $0.10No cache discount $0.30 $0.1573:27 in/out mix 32K ~150 tok/s $2.55 / mo$0.08 / day Visit Provider ↗
Llama 3.3 70B Turbo Meta · DeepInfra $0.10No cache discount $0.32 $0.1673:27 in/out mix 128K ~110 tok/s $2.64 / mo$0.09 / day Visit Provider ↗
Gemini 2.5 Flash-Lite Google · Google AI Studio $0.10Cached: $0.025 $0.40 $0.1773:27 in/out mix 1M ~240 tok/s $2.73 / mo$0.09 / day Visit Provider ↗
Llama 4 Scout Meta · Groq $0.11No cache discount $0.34 $0.1773:27 in/out mix 128K ~460 tok/s $2.85 / mo$0.10 / day Visit Provider ↗
GPT-6 Luna OpenAI · OpenAI Official $0.10Cached: $0.010 $0.50 $0.1973:27 in/out mix 200K ~185 tok/s $3.13 / mo$0.10 / day Visit Provider ↗
Claude Haiku 5.5 Anthropic · Anthropic Official $0.10Cached: $0.010 $0.50 $0.1973:27 in/out mix 200K ~175 tok/s $3.13 / mo$0.10 / day Visit Provider ↗
Qwen 3.8 Flash Alibaba · Alibaba Cloud Model Studio $0.15Cached: $0.015 $0.47 $0.2173:27 in/out mix 256K ~160 tok/s $3.43 / mo$0.11 / day Visit Provider ↗
Mistral Small 4 Mistral · Mistral Official $0.15Cached: $0.015 $0.60 $0.2473:27 in/out mix 256K ~165 tok/s $4.01 / mo$0.13 / day Visit Provider ↗
GPT-4o mini OpenAI · OpenAI Official $0.15Cached: $0.075 $0.60 $0.2673:27 in/out mix 128K ~140 tok/s $4.23 / mo$0.14 / day Visit Provider ↗
Llama 4 Maverick Meta · Groq $0.20No cache discount $0.60 $0.3173:27 in/out mix 128K ~380 tok/s $5.10 / mo$0.17 / day Visit Provider ↗
Grok 3 Mini xAI · xAI Official $0.30No cache discount $0.50 $0.3573:27 in/out mix 131K ~115 tok/s $5.85 / mo$0.19 / day Visit Provider ↗
Qwen 2.5 72B Instruct Alibaba · OpenRouter $0.35No cache discount $0.40 $0.3673:27 in/out mix 128K ~90 tok/s $6.00 / mo$0.20 / day Visit Provider ↗
Codestral Mistral · Mistral Official $0.30Cached: $0.030 $0.90 $0.4073:27 in/out mix 128K ~145 tok/s $6.68 / mo$0.22 / day Visit Provider ↗
DeepSeek-V3 DeepSeek · DeepSeek Official $0.27Cached: $0.070 $1.10 $0.4573:27 in/out mix 128K ~60 tok/s $7.47 / mo$0.25 / day Visit Provider ↗
DeepSeek-V4.1 Flash DeepSeek · DeepSeek Official $0.30Cached: $0.0060 $1.20 $0.4873:27 in/out mix 128K ~100 tok/s $7.94 / mo$0.26 / day Visit Provider ↗
Llama 3.3 70B Meta · Groq $0.59No cache discount $0.79 $0.6473:27 in/out mix 128K ~275 tok/s $10.64 / mo$0.35 / day Visit Provider ↗
Mistral Large 3 Mistral · Mistral Official $0.50Cached: $0.050 $1.50 $0.6773:27 in/out mix 256K ~95 tok/s $11.13 / mo$0.37 / day Visit Provider ↗
GPT-5 mini OpenAI · OpenAI Official $0.25Cached: $0.025 $2.00 $0.6873:27 in/out mix 400K ~150 tok/s $11.19 / mo$0.37 / day Visit Provider ↗
Gemini 2.5 Flash Google · Google AI Studio $0.30Cached: $0.075 $2.50 $0.8573:27 in/out mix 1M ~180 tok/s $14.04 / mo$0.47 / day Visit Provider ↗
Llama 3.3 70B Meta · Fireworks AI $0.90No cache discount $0.90 $0.9073:27 in/out mix 128K ~160 tok/s $14.85 / mo$0.50 / day Visit Provider ↗
DeepSeek-R1 DeepSeek · DeepSeek Official $0.55Cached: $0.14 $2.19 $0.9173:27 in/out mix 128K ~45 tok/s $14.98 / mo$0.50 / day Visit Provider ↗
DeepSeek-R1 (Multi-Provider) DeepSeek · OpenRouter $0.55No cache discount $2.19 $1.0073:27 in/out mix 128K ~75 tok/s $16.46 / mo$0.55 / day Visit Provider ↗
Sonar (Web Search) Perplexity · Perplexity Official $1.00No cache discount $1.00 $1.0073:27 in/out mix 128K ~120 tok/s $16.50 / mo$0.55 / day Visit Provider ↗
DeepSeek-V3 (US Hosted) DeepSeek · Together AI $1.25No cache discount $1.25 $1.2573:27 in/out mix 128K ~85 tok/s $20.63 / mo$0.69 / day Visit Provider ↗
Amazon Nova Pro Amazon · Amazon Bedrock $0.80Cached: $0.20 $3.20 $1.3273:27 in/out mix 300K ~105 tok/s $21.84 / mo$0.73 / day Visit Provider ↗
Gemini 3.8 Flash Google · Google AI Studio $0.75Cached: $0.075 $3.75 $1.4273:27 in/out mix 1M ~165 tok/s $23.45 / mo$0.78 / day Visit Provider ↗
Claude 3.5 Haiku Anthropic · Anthropic Official $0.80Cached: $0.080 $4.00 $1.5273:27 in/out mix 200K ~125 tok/s $25.01 / mo$0.83 / day Visit Provider ↗
DeepSeek-V4 Pro DeepSeek · DeepSeek Official $1.32Cached: $0.044 $3.96 $1.7673:27 in/out mix 128K ~65 tok/s $29.07 / mo$0.97 / day Visit Provider ↗
OpenAI o4-mini OpenAI · OpenAI Official $1.10Cached: $0.28 $4.40 $1.8273:27 in/out mix 200K ~115 tok/s $30.03 / mo$1.00 / day Visit Provider ↗
Qwen 3.8 Max Alibaba · Alibaba Cloud Model Studio $2.00Cached: $0.20 $6.00 $2.7073:27 in/out mix 1M ~85 tok/s $44.52 / mo$1.48 / day Visit Provider ↗
Grok 4.7 xAI · xAI Official $2.00Cached: $0.50 $6.00 $2.7673:27 in/out mix 500K ~90 tok/s $45.60 / mo$1.52 / day Visit Provider ↗
GPT-4.1 OpenAI · OpenAI Official $2.00Cached: $0.50 $8.00 $3.3173:27 in/out mix 1M ~90 tok/s $54.60 / mo$1.82 / day Visit Provider ↗
OpenAI o3 OpenAI · OpenAI Official $2.00Cached: $0.50 $8.00 $3.3173:27 in/out mix 200K ~65 tok/s $54.60 / mo$1.82 / day Visit Provider ↗
GPT-5 OpenAI · OpenAI Official $1.25Cached: $0.13 $10.00 $3.3973:27 in/out mix 400K ~95 tok/s $55.95 / mo$1.86 / day Visit Provider ↗
Gemini 2.5 Pro Google · Google AI Studio $1.25Cached: $0.31 $10.00 $3.4373:27 in/out mix 1M ~90 tok/s $56.62 / mo$1.89 / day Visit Provider ↗
GPT-6.2 Sol OpenAI · OpenAI Official $2.00Cached: $0.10 $10.00 $3.7773:27 in/out mix 400K ~105 tok/s $62.16 / mo$2.07 / day Visit Provider ↗
Claude Sonnet 5.5 Anthropic · Anthropic Official $2.00Cached: $0.10 $10.00 $3.7773:27 in/out mix 200K ~95 tok/s $62.16 / mo$2.07 / day Visit Provider ↗
Gemini 4 Argon Google · Google AI Studio $2.00Cached: $0.20 $10.00 $3.7973:27 in/out mix 1M ~120 tok/s $62.52 / mo$2.08 / day Visit Provider ↗
GPT-4o OpenAI · OpenAI Official $2.50Cached: $1.25 $10.00 $4.2773:27 in/out mix 128K ~95 tok/s $70.50 / mo$2.35 / day Visit Provider ↗
Command A Cohere · Cohere Official $2.50No cache discount $10.00 $4.5573:27 in/out mix 256K ~90 tok/s $75.00 / mo$2.50 / day Visit Provider ↗
Gemini 4 Neon Google · Google AI Studio $3.00Cached: $0.15 $15.00 $5.6573:27 in/out mix 1M ~95 tok/s $93.24 / mo$3.11 / day Visit Provider ↗
Claude Sonnet 4.6 Anthropic · Anthropic Official $3.00Cached: $0.30 $15.00 $5.6873:27 in/out mix 200K ~85 tok/s $93.78 / mo$3.13 / day Visit Provider ↗
Claude 3.7 Sonnet Anthropic · Anthropic Official $3.00Cached: $0.30 $15.00 $5.6873:27 in/out mix 200K ~80 tok/s $93.78 / mo$3.13 / day Visit Provider ↗
Sonar Pro (Web Search) Perplexity · Perplexity Official $3.00No cache discount $15.00 $6.2773:27 in/out mix 200K ~85 tok/s $103.50 / mo$3.45 / day Visit Provider ↗
Claude Opus 5.5 Anthropic · Anthropic Official $4.00Cached: $0.20 $20.00 $7.5373:27 in/out mix 200K ~65 tok/s $124.32 / mo$4.14 / day Visit Provider ↗
GPT-6.2 Astra OpenAI · OpenAI Official $8.00Cached: $0.40 $40.00 $15.0773:27 in/out mix 400K ~70 tok/s $248.64 / mo$8.29 / day Visit Provider ↗

Model A vs Model B Cost Comparator

Pick any two models or API providers to calculate exact monthly and annual savings.

Free Online Token & Prompt Cost Counter

Paste a prompt, article, or system instruction to estimate token count and input cost per 10,000 API calls.

Estimated Tokens
0
Words
0
Characters
0
Model Input Rate Cost per 10,000 Calls (Input)

API Pricing Calculators by Provider

Dedicated calculators for each major model family and hosting provider.

Popular Head-to-Head API Comparisons

Exact monthly and annual savings for the most searched model matchups.

Popular Rankings & Specialized Calculators

Curated rankings for free tiers, cheapest blended rates, fastest tok/s, caching, batch, 1M+ context, and vision.

API Cost Calculators by AI Use Case

Pre-filled real-world workloads with 3-tier monthly budgets (Budget, Balanced & Flagship).

How to Reduce Your LLM API Bill in 2026

Choosing the right API provider is one of the highest-leverage engineering decisions for any AI product.

1. Use Model Routing Instead of One Flagship Model

2. Turn On Prompt Caching for System Instructions

3. Compare Official APIs vs. Multi-Provider Routers

How is LLM API pricing calculated?

Are the prices on CompareAIAPI official and real-time?

Which LLM API providers offer a free tier?