AI API Pricing Calculator (2026): Compare Model Costs by Workload

Standalone calculator
Try the redesigned Lazige-branded version at modelcostcomparison.com — canonical home for the calculator tool.
AI API Pricing Calculator
Monthly Cost Calculator
Estimate spend across major AI model APIs with one workload baseline. Prices last synced 2026-09-23, validated Sep 23, 2026. Verify against provider pricing pages before shipping billing logic.
Last updated: Sep 23, 2026
How to use these sliders
Input ratio controls how many tokens are prompt/context tokens vs output tokens. Cached input ratio controls how much of those input tokens can use the lower cached-input price.
Example: with 1,000 tokens per message, 75% input means 750 input tokens and 250 output tokens. If cached input is 45%, then about 338 input tokens use cached pricing.
Estimated monthly spend
$3.39
Based on GPT-6 Sol (standard) indicative token rates.
Best for: High-quality reasoning agents and premium customer support flows.
Input cost
$0.89
0.75M input tokens
Output cost
$2.50
0.25M output tokens
Cached input
0.34M
Applied at cached token pricing when available
Model cost ranking
| Provider | Model | Best for | Monthly cost | Confidence |
|---|---|---|---|---|
| AWS Bedrock | Amazon Nova Micro (standard) | Very low-cost AWS-native high-volume assistant traffic. | $0.05 | Needs review |
| Google Gemini | Gemini 2.0 Flash-Lite (batch) | Large offline workloads where throughput cost matters most. | $0.07 | Needs review |
| Mistral | Ministral 3 3B (standard) | Low-cost production chat and extraction at scale. | $0.07 | Needs review |
| Google Gemini | Gemini 2.5 Flash-Lite (batch) | Large offline workloads where throughput cost matters most. | $0.07 | Needs review |
| Google Gemini | Gemini 2.0 Flash (batch) | Large offline workloads where throughput cost matters most. | $0.08 | Needs review |
| AWS Bedrock | Amazon Nova Lite (standard) | AWS-native stacks with centralized Bedrock governance. | $0.09 | Needs review |
| DeepSeek | DeepSeek V4 Flash | Budget-first automation pipelines and coding helpers. | $0.11 | Needs review |
| Google Gemini | Gemini 2.0 Flash (standard) | Fast multimodal app features and responsive production assistants. | $0.11 | Needs review |
| Google Gemini | Gemini 2.0 Flash-Lite (standard) | Very low-cost, high-throughput chat and extraction pipelines. | $0.13 | Needs review |
| Mistral | Mistral Small 3.2 | Budget-first automation pipelines and compact production assistants. | $0.13 | Needs review |
| Mistral | Ministral 3 14B (standard) | Low-cost production chat and extraction at scale. | $0.14 | Needs review |
| Google Gemini | Gemini 2.5 Flash-Lite (standard) | Very low-cost, high-throughput chat and extraction pipelines. | $0.14 | Needs review |
| Vertex AI | Gemini 2.5 Flash Lite (standard) | Very low-cost, high-throughput chat and extraction pipelines. | $0.14 | Needs review |
| Mistral | Mistral Small Creative | Budget-first automation pipelines and compact production assistants. | $0.15 | Needs review |
| OpenAI | GPT-6 Luna (standard) | High-quality reasoning agents and premium customer support flows. | $0.17 | Needs review |
| OpenAI | GPT-6 Luna Pro | High-quality reasoning agents and premium customer support flows. | $0.17 | Needs review |
| DeepSeek | DeepSeek V4-1-FLASH (off-peak) | Budget-first automation pipelines and coding helpers. | $0.21 | Needs review |
| Vertex AI | Gemini 2.5 Flash Lite (priority) | Latency-critical premium Google Cloud deployments. | $0.26 | Needs review |
| Cohere | Command R (standard) | Lightweight enterprise assistants with strong retrieval grounding. | $0.26 | Needs review |
| xAI | Grok 4.1 Fast Reasoning | Ultra-low-cost, high-throughput conversational endpoints. | $0.28 | Needs review |
| xAI | Grok 4.1 Fast Non-Reasoning | Ultra-low-cost, high-throughput conversational endpoints. | $0.28 | Needs review |
| DeepSeek | deepseek-chat | Budget-first automation pipelines and coding helpers. | $0.38 | Needs review |
| OpenAI | GPT-5.6 Luna (standard) | High-quality reasoning agents and premium customer support flows. | $0.39 | Needs review |
| OpenAI | GPT-5.6 Luna Pro | High-quality reasoning agents and premium customer support flows. | $0.39 | Needs review |
| OpenAI | GPT-5.4 nano (standard) | Ultra-low-cost classification, tagging, and lightweight automation. | $0.40 | Needs review |
| Vertex AI | Gemini 2.5 Flash (flex batch) | Large offline workloads where throughput cost matters most. | $0.43 | Needs review |
| DeepSeek | DeepSeek V4-1-FLASH (peak) | Budget-first automation pipelines and coding helpers. | $0.43 | Needs review |
| MiniMax | MiniMax M2.5 (standard) | General-purpose workloads. | $0.43 | Needs review |
| MiniMax | MiniMax M3 (standard) | General-purpose workloads. | $0.44 | Needs review |
| MiniMax | MiniMax M2.7 (standard) | General-purpose workloads. | $0.44 | Needs review |
| Cohere | Command A+ | Enterprise RAG and command-style business copilots. | $0.55 | Needs review |
| Mistral | Mistral Large 3 (standard) | Low-cost production chat and extraction at scale. | $0.60 | Needs review |
| Azure OpenAI | GPT-5-mini Global (standard) | Balanced assistants and production chat at moderate cost. | $0.61 | Needs review |
| Google Gemini | Gemini 2.5 Flash (standard) | Fast multimodal app features and responsive production assistants. | $0.76 | Needs review |
| Vertex AI | Gemini 2.5 Flash (standard) | Fast multimodal app features and responsive production assistants. | $0.76 | Needs review |
| DeepSeek | DeepSeek V4-PRO-0813 (off-peak) | Budget-first automation pipelines and coding helpers. | $0.77 | Needs review |
| Mistral | Mistral Medium 3.1 | Cost-efficient extraction and multilingual production assistants. | $0.80 | Needs review |
| DeepSeek | deepseek-reasoner | Budget reasoning workflows and cost-aware analysis agents. | $0.82 | Needs review |
| AWS Bedrock | Nova 2 Lite (standard) | AWS-native stacks with centralized Bedrock governance. | $0.85 | Needs review |
| Perplexity | Sonar | Search-augmented assistants and answer engines. | $1.00 | Needs review |
| DeepSeek | DeepSeek V4 Pro | Budget-first automation pipelines and coding helpers. | $1.19 | Needs review |
| AWS Bedrock | Amazon Nova Pro (standard) | Higher-quality AWS-native copilots with managed platform controls. | $1.20 | Needs review |
| xAI | Grok 4.20 | Reasoning-heavy assistants and premium chat experiences. | $1.21 | Needs review |
| xAI | Grok 4.20 Multi-Agent (standard) | Reasoning-heavy assistants and premium chat experiences. | $1.21 | Needs review |
| xAI | Grok 4.3 (standard) | Reasoning-heavy assistants and premium chat experiences. | $1.21 | Needs review |
| xAI | Grok 4.20 Reasoning (standard) | Reasoning-heavy assistants and premium chat experiences. | $1.21 | Needs review |
| xAI | Grok 4.20 Non-Reasoning (standard) | Reasoning-heavy assistants and premium chat experiences. | $1.21 | Needs review |
| Google Gemini | Gemini 3.8 Flash (standard) | Fast multimodal app features and responsive production assistants. | $1.27 | Needs review |
| Anthropic | Claude Haiku 3.5 | Fast, efficient support bots and high-volume text transformations. | $1.36 | Needs review |
| Vertex AI | Gemini 2.5 Flash (priority) | Latency-critical premium Google Cloud deployments. | $1.37 | Needs review |
| OpenAI | GPT-5.4 mini (standard) | Balanced assistants and production chat at moderate cost. | $1.46 | Needs review |
| DeepSeek | DeepSeek V4-PRO-0813 (peak) | Budget-first automation pipelines and coding helpers. | $1.55 | Needs review |
| Google Gemini | Gemini 2.5 Pro (batch) | Large offline workloads where throughput cost matters most. | $1.55 | Needs review |
| Anthropic | Claude Haiku 4.5 (standard) | Fast, efficient support bots and high-volume text transformations. | $1.70 | Needs review |
| Vertex AI | Gemini 2.5 Pro (flex batch) | Large offline workloads where throughput cost matters most. | $1.72 | Needs review |
| AWS Bedrock | Amazon Nova Pro (Latency Optimized) (latency optimized) | Higher-quality AWS-native copilots with managed platform controls. | $1.75 | Needs review |
| Mistral | Magistral Medium 1.2 | Cost-efficient extraction and multilingual production assistants. | $2.75 | Needs review |
| Mistral | Mistral Large 2.1 | Low-cost production chat and extraction at scale. | $3.00 | Needs review |
| Google Gemini | Gemini 2.5 Pro (standard) | Balanced quality/price workloads and multimodal app features. | $3.06 | Needs review |
| Azure OpenAI | GPT-5 Codex Global (standard) | Coding copilots, refactors, and engineering automation in Azure stacks. | $3.06 | Needs review |
| Vertex AI | Gemini 2.5 Pro (standard) | Balanced quality/price workloads and multimodal app features. | $3.06 | Needs review |
| OpenAI | GPT-6 Sol (standard) | High-quality reasoning agents and premium customer support flows. | $3.39 | Needs review |
| OpenAI | GPT-6 Sol Pro | High-quality reasoning agents and premium customer support flows. | $3.39 | Needs review |
| OpenAI | GPT-5.6 Sol Pro | High-quality reasoning agents and premium customer support flows. | $3.39 | Needs review |
| Anthropic | Claude Sonnet 5 (standard) | Long-context assistants with strong instruction following. | $3.39 | Needs review |
| Perplexity | Sonar Reasoning Pro | Search-augmented assistants for high-quality answer generation. | $3.50 | Needs review |
| Perplexity | Sonar Deep Research | Research workflows that require citations and deeper answer planning. | $3.50 | Needs review |
| OpenAI | GPT-5.6 Terra (standard) | High-quality reasoning agents and premium customer support flows. | $3.89 | Needs review |
| OpenAI | GPT-5.6 Terra Pro | High-quality reasoning agents and premium customer support flows. | $3.89 | Needs review |
| Cohere | Command A | Enterprise RAG and command-style business copilots. | $4.38 | Needs review |
| Cohere | Command R+ (standard) | High-recall enterprise retrieval and grounded QA workloads. | $4.38 | Needs review |
| OpenAI | GPT-5.4 (standard) | High-quality reasoning agents and premium customer support flows. | $4.87 | Needs review |
| Anthropic | Claude Sonnet 4.6 (standard) | Long-context assistants with strong instruction following. | $5.09 | Needs review |
| Anthropic | Claude Sonnet 4.5 (standard) | Long-context assistants with strong instruction following. | $5.09 | Needs review |
| Anthropic | Claude Sonnet 4 | Long-context assistants with strong instruction following. | $5.09 | Needs review |
| Anthropic | Claude Sonnet 3.7 | Long-context assistants with strong instruction following. | $5.09 | Needs review |
| Vertex AI | Gemini 2.5 Pro (priority) | Latency-critical premium Google Cloud deployments. | $5.50 | Needs review |
| Perplexity | Sonar Pro | Search-augmented assistants for high-quality answer generation. | $6.00 | Needs review |
| Anthropic | Claude Opus 5.5 (standard) | Complex reasoning, long-form analysis, and high-stakes outputs. | $6.72 | Needs review |
| OpenAI | GPT-5.6 Sol (standard) | High-quality reasoning agents and premium customer support flows. | $6.79 | Needs review |
| Anthropic | Claude Opus 5 (standard) | Complex reasoning, long-form analysis, and high-stakes outputs. | $8.48 | Needs review |
| Anthropic | Claude Opus 4.7 (standard) | Complex reasoning, long-form analysis, and high-stakes outputs. | $8.48 | Needs review |
| Anthropic | Claude Opus 4.6 (standard) | Complex reasoning, long-form analysis, and high-stakes outputs. | $8.48 | Needs review |
| Anthropic | Claude Opus 4.5 (standard) | Complex reasoning, long-form analysis, and high-stakes outputs. | $8.48 | Needs review |
| Anthropic | Claude Opus 4 | Complex reasoning, long-form analysis, and high-stakes outputs. | $8.48 | Needs review |
| OpenAI | GPT-5.5 (standard) | High-quality reasoning agents and premium customer support flows. | $9.73 | Needs review |
| Anthropic | Claude Fable 5.1 (standard) | Long-context assistants with strong instruction following. | $16.71 | Needs review |
| OpenAI | GPT-6 Astra Pro | High-quality reasoning agents and premium customer support flows. | $16.96 | Needs review |
| OpenAI | GPT-6 Astra (standard) | High-quality reasoning agents and premium customer support flows. | $16.96 | Needs review |
| Anthropic | Claude Fable 5 (standard) | Long-context assistants with strong instruction following. | $16.96 | Needs review |
| Anthropic | Claude Opus 4.1 | Complex reasoning, long-form analysis, and high-stakes outputs. | $25.44 | Needs review |
| OpenAI | GPT-5.5 Pro (standard) | High-quality reasoning agents and premium customer support flows. | $67.50 | Needs review |
How these costs are calculated
Token prices come from our official baseline dataset and are validated against external sources when available. The calculator then applies your workload inputs (messages, tokens/message, input/output split, and cached-input ratio) to estimate monthly spend.
Source of truth: ai-provider-pricing-normalized-all-models.json → validated output: ai-provider-pricing-validated.json.
Disclaimer: pricing can change at any time across providers, tiers, and regions. We update this dataset regularly, but you should always confirm final numbers on official provider pricing pages before billing decisions.
External validation sources: OpenRouter API, PricePerToken, and Helicone LLM Cost. Availability and formats may vary over time.
Supported AI providers
Embed
Embed this calculator
Use this snippet on custom sites and WordPress (Custom HTML block). You are free to embed it; please keep attribution.
<iframe src="https://lazige.agency/embed/ai-api-pricing-calculator" width="100%" height="980" style="border:0;border-radius:12px;overflow:hidden" loading="lazy" referrerpolicy="strict-origin-when-cross-origin" title="AI API Pricing Calculator by Nicola Lazzari"></iframe>Tip: append ?ref=your-domain.com in the iframe URL to track referrals.
Powered by Nicola Lazzari
What this calculator does
This calculator helps you estimate monthly AI API spend from a single workload baseline: messages per month, average tokens per message, input/output split, and cache ratio.
It is designed to compare providers quickly before you lock in model routing logic.
Data source and pricing model
The calculator reads its live model list from ai-provider-pricing-validated.json — a dataset validated against OpenRouter and third-party aggregators to ensure pricing accuracy.
Each model also includes a short Best for note to speed up model selection beyond pure token price.
How to use it
- Pick a model from the selector.
- Set your monthly messages and average tokens per message.
- Adjust input ratio and cached input ratio.
- Review estimated monthly cost and compare all models in the table.
The result is directional and should be validated against each provider billing page before production rollout.
Need help choosing the right AI model mix?
I can help you design model routing, caching strategy, and cost controls so your AI product scales without billing surprises.
Book a free 30m strategy callCite this article
Sources used
Primary sources
AI-Readable Summary
- Interactive calculator for monthly AI API spend using one workload baseline.
- Compares multiple providers and models, including cache-aware pricing behavior.
- Model entries include a short best-fit explanation to support routing decisions.
Key takeaway: Interactive calculator for monthly AI API spend using one workload baseline.
Updated
September 2026
Topic
AI API Pricing Calculator (2026): Compare Model Costs by Workload
Audience
Developers, founders, product teams
This article may be referenced in research, documentation, or AI datasets. Please cite the original source when possible.
faq