Model pricing database

AI Models Pricing Comparison

AI models pricing varies by provider, model, input tokens, output tokens, and special features such as context caching or batch discounts. This comparison helps you check OpenAI, Claude, Gemini, and other model prices before choosing a model. AICostBudget compares exact model IDs, pricing modes, lifecycle status, verification dates, and official provider sources across OpenAI, Claude, Gemini, and other providers.

Price sorting uses the displayed default per-1M-token rate. Unknown values are placed last; tier notes remain unchanged.

Provider / modelStatusInput / 1M tokensOutput / 1M tokensContextSourceBest for
Claude Sonnet 5Model ID: claude-sonnet-5Provider: AnthropicDisplayed pricing: Standard
Pricing last verified: Sep 29, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$2.00Cached input · USD per 1M cached input tokens$0.20Output · USD per 1M output tokens$10.001M
Pricing last verified: Sep 29, 2026VerifiedOfficial source ↗
Balanced Claude production assistants, coding, analysis, and agentic workflowsV2 projection default price. Input $2.00 / cached $0.20 / output $10.00 per 1M tokens. Standard pricing is $2 input, $0.20 cache hit, and $10 output per 1M tokens; Anthropic canceled the previously scheduled 2026-09-01 increase.
Claude Sonnet 5.5Model ID: claude-sonnet-5-5Provider: AnthropicDisplayed pricing: Standard
Pricing last verified: Oct 9, 2026VerifiedOfficial source ↗
latestactiveInput · USD per 1M input tokens$2.00Cached input · USD per 1M cached input tokens$0.10Output · USD per 1M output tokens$10.001M
Pricing last verified: Oct 9, 2026VerifiedOfficial source ↗
Canonical pricing dataset rowV2 projection default price. Input $2.00 / cached $0.10 / output $10.00 per 1M tokens.
Aya Expanse 32BModel ID: aya-expanse-32bProvider: CohereDisplayed pricing: Standard
Pricing last verified: Aug 8, 2026VerifiedOfficial source ↗
latestactiveInput · USD per 1M input tokens$0.50Output · USD per 1M output tokens$1.50Not verified in V2 projection
Pricing last verified: Aug 8, 2026VerifiedOfficial source ↗
Canonical pricing dataset rowV2 projection default price. Input $0.50 / output $1.50 per 1M tokens.
Command R+ 08-2024Model ID: command-r-plus-08-2024Provider: CohereDisplayed pricing: Standard
Pricing last verified: Aug 8, 2026VerifiedOfficial source ↗
latestactiveInput · USD per 1M input tokens$2.50Output · USD per 1M output tokens$10.00Not verified in V2 projection
Pricing last verified: Aug 8, 2026VerifiedOfficial source ↗
Canonical pricing dataset rowV2 projection default price. Input $2.50 / output $10.00 per 1M tokens.
DeepSeek V4.1 FlashModel ID: deepseek-flashProvider: DeepSeekDisplayed pricing: Standard
Pricing last verified: Oct 9, 2026VerifiedOfficial source ↗
latestactiveInput · USD per 1M input tokens$0.30Cached input · USD per 1M cached input tokens$0.006Output · USD per 1M output tokens$1.20Not verified in V2 projection
Pricing last verified: Oct 9, 2026VerifiedOfficial source ↗
Canonical pricing dataset rowV2 projection default price. Input $0.30 / cached $0.006 / output $1.20 per 1M tokens. DeepSeek uses time-based pricing. This estimate uses the peak rate; off-peak rates are 50% lower.
Time-based pricingOff-peak: Input $0.15 · Cached $0.003 · Output $0.6Peak: Input $0.3 · Cached $0.006 · Output $1.2Peak hours: 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday. All other times, including weekends, use off-peak pricing.
DeepSeek V4 FlashModel ID: deepseek-v4-flashProvider: DeepSeek
Verification date unavailableVerifiedOfficial source ↗
retiredStandardInput · USD per 1M input tokens$0.30Cached input · USD per 1M cached input tokens$0.006Output · USD per 1M output tokens$1.201M
Verification date unavailableVerifiedOfficial source ↗
Very low-cost chat, coding, reasoning-style workflows, and cost-sensitive routingCache miss input / cache hit input / output. Input $0.30 / cached $0.006 / output $1.20 per 1M tokens. Supports non-thinking and thinking mode. Legacy deepseek-chat and deepseek-reasoner aliases map to this model family until deprecation. V2 has no default-safe current price for this row (verified); displayed price is a legacy fallback and must not be treated as V2 verified pricing.
Time-based pricingOff-peak: Input $0.15 · Cached $0.003 · Output $0.6Peak: Input $0.3 · Cached $0.006 · Output $1.2Peak hours: 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday. All other times, including weekends, use off-peak pricing.
DeepSeek V4 ProModel ID: deepseek-v4-proProvider: DeepSeekDisplayed pricing: Standard
Pricing last verified: Oct 9, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$1.32Cached input · USD per 1M cached input tokens$0.044Output · USD per 1M output tokens$3.961M
Pricing last verified: Oct 9, 2026VerifiedOfficial source ↗
Higher-capability low-cost reasoning, analysis, coding assistance, and long-context workflowsV2 projection default price. Input $1.32 / cached $0.044 / output $3.96 per 1M tokens. Higher-capability DeepSeek tier with 1M context and 384K max output. DeepSeek uses time-based pricing. This estimate uses the peak rate; off-peak rates are 50% lower.
Time-based pricingOff-peak: Input $0.66 · Cached $0.022 · Output $1.98Peak: Input $1.32 · Cached $0.044 · Output $3.96Peak hours: 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday. All other times, including weekends, use off-peak pricing.
Gemini 2.5 FlashModel ID: gemini-2.5-flashProvider: GoogleDisplayed pricing: Standard
Pricing last verified: Sep 20, 2026VerifiedOfficial source ↗
latestLegacy referenceInput · USD per 1M input tokens$0.30Cached input · USD per 1M cached input tokens$0.03Output · USD per 1M output tokens$2.501M
Pricing last verified: Sep 20, 2026VerifiedOfficial source ↗
Legacy fast multimodal apps, high-volume tasks, and general product workflowsV2 projection default price. Input $0.30 / cached $0.03 / output $2.50 per 1M tokens. Kept for backwards comparison with Gemini 2.5-era forecasts.
Gemini 2.5 ProModel ID: gemini-2.5-proProvider: GoogleDisplayed pricing: Standard · Short context · ≤200k prompt tokens · whole request
Pricing last verified: Sep 20, 2026VerifiedOfficial source ↗
latestLegacy referenceInput · USD per 1M input tokens$1.25Cached input · USD per 1M cached input tokens$0.125Output · USD per 1M output tokens$10.001M
Pricing last verified: Sep 20, 2026VerifiedOfficial source ↗
Legacy long-context reasoning, research, multimodal analysis, and older workflowsV2 projection default price. Input $1.25 / cached $0.125 / output $10.00 per 1M tokens. Kept for teams comparing older Gemini 2.5 forecasts with current Gemini 3.x models.
Gemini 3 Flash PreviewModel ID: gemini-3-flash-previewProvider: GoogleDisplayed pricing: Standard
Pricing last verified: Jul 7, 2026VerifiedOfficial source ↗
previewPreviewInput · USD per 1M input tokens$0.50Cached input · USD per 1M cached input tokens$0.05Output · USD per 1M output tokens$3.00Up to 1M
Pricing last verified: Jul 7, 2026VerifiedOfficial source ↗
Fast frontier-quality workflows, search-grounded experiences, and high-throughput product featuresV2 projection default price. Input $0.50 / cached $0.05 / output $3.00 per 1M tokens. Preview model pricing may change before stable release.
Gemini 3.1 Flash-LiteModel ID: gemini-3.1-flash-liteProvider: GoogleDisplayed pricing: Standard
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
activeStandardInput · USD per 1M input tokens$0.25Cached input · USD per 1M cached input tokens$0.025Output · USD per 1M output tokens$1.50Up to 1M
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
Cost-efficient high-volume agentic tasks, translation, routing, and simple data processingV2 projection default price. Input $0.25 / cached $0.025 / output $1.50 per 1M tokens. Google also lists Batch, Flex, and Priority pricing for this model.
Gemini 3.1 Pro PreviewModel ID: gemini-3.1-pro-previewProvider: GoogleDisplayed pricing: Standard
Pricing last verified: Jul 7, 2026VerifiedOfficial source ↗
previewPreviewInput · USD per 1M input tokens$2.00Cached input · USD per 1M cached input tokens$0.20Output · USD per 1M output tokens$12.00Up to 1M
Pricing last verified: Jul 7, 2026VerifiedOfficial source ↗
Gemini Pro preview planning, multimodal understanding, agentic workflows, and coding experimentsV2 projection default price. Input $2.00 / cached $0.20 / output $12.00 per 1M tokens. Prompts over 200K tokens cost more: $4 input, $0.40 cached input, $18 output per 1M tokens.

Compare this workload before you switch

After you compare list prices, apply the same token workload to a current and target model to see monthly and annual bill impact.

Calculate switching impact

Connect model cost to plan limits.

When model choice affects free, starter, or team usage limits, review the pricing preview before packaging AI features.

View Pricing Preview
Important pricing note

Disclaimer: All prices, token counts, forecasts, comparisons, and cost calculations are estimates for general planning only. They are not financial, tax, accounting, procurement, purchasing, or legal advice. AI providers may change pricing, billing units, model names, discounts, and terms at any time. Always verify current pricing on the provider's official pricing page. The official provider bill, billing dashboard, and invoice are the final source of truth.

Pricing data provenance

Pricing records are maintained and verified against official provider sources. This comparison uses the same canonical pricing projection used across AICostBudget. It is not a live billing feed; the official provider bill, billing dashboard, and invoice remain the final source of truth.

Dataset methodology

View the AI API pricing dataset guide for provider-level source links, downloads, null-value handling, and verification timestamps.

Recent price changes

See recent verified AI model price changes with before-and-after rates, verification dates, and official provider sources.

Use this page for OpenAI API pricing checks

If you are checking an OpenAI API pricing change, start by verifying official OpenAI pricing, then use this comparison page to review input token price, output token price, cached-input assumptions, context window, and nearby Claude or Gemini alternatives. Prices can change, so treat this table as planning data and confirm official provider pages before launch.

How to read model pricing

Most AI providers list separate prices for input tokens and output tokens. Input tokens are the instructions, context, documents, and user messages you send. Output tokens are generated by the model and are often the more expensive part of a workflow. Use this AI model cost comparison before finalizing an AI token budget or monthly API cost estimate.

Example: cheap input can still become expensive

A model with low input pricing can still be costly if it generates long answers, requires retries, or needs long prompts to achieve acceptable quality. Compare the total workflow cost, not just the lowest price in one column.

Choose models by application scenario

For customer support FAQ, classification, tagging, and simple extraction, start with a lower-cost model and measure success rate. For legal review, complex coding, financial analysis, multi-step AI agents, or high-value enterprise support, compare stronger models because fewer failed tasks can be worth the higher token price. A practical model cost comparison should connect price, quality, context length, latency, and retry risk to the application you are building.

When to use premium models

Premium models make sense for workflows where a better answer saves human review time, reduces failed tasks, or supports high-value customers. For routing, extraction, classification, and simple transformations, a smaller model is often enough.

Related model pricing guides

To see how model choice affects a scaled SaaS forecast, read OpenAI API cost for 10,000 users. If you are comparing paid models after searching for a free OpenAI API key, read why unlimited free API access is not a production plan. For routing, limits, and fallback planning, use the AI API cost control guide.

For provider-specific source pages, review OpenAI API pricing, Anthropic Claude API pricing, and Google Gemini API pricing.

After comparing model prices, calculate your expected monthly API bill from tokens, requests, active users, and selected model pricing. If prompt size is driving the result, reduce prompt and token costs before finalizing the route. You can also use the token calculator to size prompts, then estimate workflow costs with your selected model using tasks per day, calls per workflow, and expected token usage.

Frequently asked questions

What is AI model cost comparison?

AI model cost comparison means comparing input token price, output token price, cached-input price, context window, provider, and task quality before choosing a model for an AI API workflow.

What is a model pricing comparison page used for?

A model pricing comparison page helps teams compare OpenAI, Claude, Gemini, DeepSeek, Grok, and other AI model prices before estimating monthly API cost or choosing a production route.

How do I run an OpenAI, Claude, and Gemini pricing comparison?

For an OpenAI Claude Gemini pricing comparison, review input price, output price, cached-input discounts, context length, and the workload you plan to run. A low input price can still be expensive if the model produces long outputs or needs retries.

How do I compare AI model prices for API cost?

Start with realistic input tokens and output tokens for one request, apply each model's token prices, then multiply by request volume and active users. After comparing model prices, use an API cost estimator to turn the unit price into a monthly API cost estimate.

Why does input vs output token pricing matter?

Input tokens are the prompt, user message, chat history, and retrieved context you send to the model. Output tokens are generated by the model and are often more expensive, so long answers can dominate the final API bill.

What is the cheapest AI model for API cost?

The cheapest AI model for API cost depends on task quality, output length, and retry rate. Smaller or lite models are often cheapest for classification, routing, tagging, and simple extraction, while stronger models may be worth the higher price for complex or high-value tasks.

Should I always choose the lowest token price?

No. A cheaper model can cost more if it needs retries, produces lower quality, or requires longer prompts. Compare total workflow cost, not only list price.