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
GPT-4.1 miniModel ID: gpt-4.1-miniProvider: OpenAI
Pricing last checked: Jul 7, 2026Verification review requiredOfficial source ↗
legacyLegacyInput · USD per 1M input tokens$0.40Output · USD per 1M output tokens$1.601M
Pricing last checked: Jul 7, 2026Verification review requiredOfficial source ↗
Legacy support copilots and older cost forecastsLegacy reference. Input $0.40 / output $1.60 per 1M tokens. Review required: current GPT-4.1 mini pricing was not found on the current OpenAI pricing page during the 2026-07-06 official-source check. GPT-5.4 mini should usually be tested for new forecasts. V2 has no default-safe current price for this row (review_required); displayed price is a legacy fallback and must not be treated as V2 verified pricing.
GPT-4.1 nanoModel ID: gpt-4.1-nanoProvider: OpenAI
Pricing last checked: Jul 7, 2026Verification review requiredOfficial source ↗
legacyLegacyInput · USD per 1M input tokens$0.10Output · USD per 1M output tokens$0.401M
Pricing last checked: Jul 7, 2026Verification review requiredOfficial source ↗
Legacy low-cost classification, extraction, summarization, and batch processingLegacy reference. Input $0.10 / output $0.40 per 1M tokens. Review required: current GPT-4.1 nano pricing was not found on the current OpenAI pricing page during the 2026-07-06 official-source check. OpenAI lists gpt-4.1-nano for shutdown on 2026-10-23 with gpt-5.4-nano as replacement. V2 has no default-safe current price for this row (review_required); displayed price is a legacy fallback and must not be treated as V2 verified pricing.
GPT-5.3 CodexModel ID: gpt-5.3-codexProvider: OpenAI
Pricing last verified: Oct 4, 2026VerifiedOfficial source ↗
specializedCodexInput · USD per 1M input tokens$1.75Cached input · USD per 1M cached input tokens$0.175Output · USD per 1M output tokens$14.00Varies
Pricing last verified: Oct 4, 2026VerifiedOfficial source ↗
Coding agents, repository automation, developer tools, and code-heavy workflowsSpecialized Codex category. Input $1.75 / cached $0.175 / output $14.00 per 1M tokens. Specialized coding model. Use for code-agent budgeting rather than general chat budgeting. 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.
GPT-5.4Model ID: gpt-5.4Provider: OpenAIDisplayed pricing: Standard
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$2.50Cached input · USD per 1M cached input tokens$0.25Output · USD per 1M output tokens$15.00Short / long
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
Balanced frontier quality for assistants, coding, product features, and agent workflowsV2 projection default price. Input $2.50 / cached $0.25 / output $15.00 per 1M tokens. Long-context standard pricing is higher: $5 input, $0.50 cached input, $22.50 output per 1M tokens.
GPT-5.4 miniModel ID: gpt-5.4-miniProvider: OpenAIDisplayed pricing: Standard
Pricing last verified: Sep 22, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$0.75Cached input · USD per 1M cached input tokens$0.075Output · USD per 1M output tokens$4.50Short
Pricing last verified: Sep 22, 2026VerifiedOfficial source ↗
High-volume SaaS features, support assistants, routing, coding helpers, and everyday AI workflowsV2 projection default price. Input $0.75 / cached $0.075 / output $4.50 per 1M tokens. Priority pricing is higher. Batch and Flex pricing are lower than Standard for eligible workloads.
GPT-5.4 nanoModel ID: gpt-5.4-nanoProvider: OpenAI
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$0.20Cached input · USD per 1M cached input tokens$0.02Output · USD per 1M output tokens$1.25Short
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
Very low-cost classification, extraction, lightweight summaries, and large-volume utility tasksStandard short context. Input $0.20 / cached $0.02 / output $1.25 per 1M tokens. Lowest-cost current OpenAI text tier in this model set; use for routing, extraction, classification, and simple transformations. 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.
GPT-5.4 ProModel ID: gpt-5.4-proProvider: OpenAIDisplayed pricing: Standard
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
latestPremiumInput · USD per 1M input tokens$30.00Output · USD per 1M output tokens$180.00Short / long
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
Premium quality planning, coding, enterprise assistants, and high-stakes AI product workflowsV2 projection default price. Input $30.00 / output $180.00 per 1M tokens. Long-context standard pricing is higher: $60 input and $270 output per 1M tokens. Cached input is not listed for this tier.
GPT-5.5Model ID: gpt-5.5Provider: OpenAIDisplayed pricing: Standard · Short context · ≤272k prompt tokens · whole request
Pricing last verified: Sep 20, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$5.00Cached input · USD per 1M cached input tokens$0.50Output · USD per 1M output tokens$30.00Short / long
Pricing last verified: Sep 20, 2026VerifiedOfficial source ↗
Frontier agents, advanced product workflows, high-quality reasoning, and premium user experiencesV2 projection default price. Input $5.00 / cached $0.50 / output $30.00 per 1M tokens. Long-context standard pricing is higher: $10 input, $1 cached input, $45 output per 1M tokens.
GPT-5.5 ProModel ID: gpt-5.5-proProvider: OpenAIDisplayed pricing: Standard
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
latestPremiumInput · USD per 1M input tokens$30.00Output · USD per 1M output tokens$180.00Short / long
Pricing last verified: Aug 24, 2026VerifiedOfficial source ↗
Premium reasoning, complex agent execution, deep analysis, and high-value enterprise workflowsV2 projection default price. Input $30.00 / output $180.00 per 1M tokens. Long-context standard pricing is higher: $60 input and $270 output per 1M tokens. Cached input is not listed for this tier.
GPT-5.6 LunaModel ID: gpt-5.6-lunaProvider: OpenAIDisplayed pricing: Standard · Short context · ≤272k prompt tokens · whole request
Pricing last verified: Oct 21, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$0.20Cached input · USD per 1M cached input tokens$0.02Output · USD per 1M output tokens$1.20Short / long
Pricing last verified: Oct 21, 2026VerifiedOfficial source ↗
Cost-aware GPT-5.6 features, support assistants, routing, summarization, and high-volume product workflowsV2 projection default price. Input $0.20 / cached $0.02 / output $1.20 per 1M tokens. Long-context standard pricing is higher: $0.40 input, $0.04 cached input, $0.50 cache writes, $1.80 output per 1M tokens. Batch and Flex are lower; Priority is higher.
GPT-5.6 SolModel ID: gpt-5.6-solProvider: OpenAIDisplayed pricing: Standard · Short context · ≤272k prompt tokens · whole request
Pricing last verified: Oct 21, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$4.00Cached input · USD per 1M cached input tokens$0.40Output · USD per 1M output tokens$20.00Short / long
Pricing last verified: Oct 21, 2026VerifiedOfficial source ↗
Premium GPT-5.6 quality, frontier product workflows, complex agents, and high-value user experiencesV2 projection default price. Input $4.00 / cached $0.40 / output $20.00 per 1M tokens. Promotional pricing is available at least through 2026-11-21. Long-context Standard pricing is $8 input, $0.80 cached input, $10 cache write, and $30 output per 1M tokens; Batch, Flex, and Fast rates are published separately.
GPT-5.6 TerraModel ID: gpt-5.6-terraProvider: OpenAIDisplayed pricing: Standard · Short context · ≤272k prompt tokens · whole request
Pricing last verified: Oct 21, 2026VerifiedOfficial source ↗
latestStandardInput · USD per 1M input tokens$2.00Cached input · USD per 1M cached input tokens$0.20Output · USD per 1M output tokens$12.00Short / long
Pricing last verified: Oct 21, 2026VerifiedOfficial source ↗
Balanced GPT-5.6 quality for assistants, SaaS features, agents, coding, and production routingV2 projection default price. Input $2.00 / cached $0.20 / output $12.00 per 1M tokens. Long-context standard pricing is higher: $4 input, $0.40 cached input, $5 cache writes, $18 output per 1M tokens. Batch and Flex are lower; Priority is higher.

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.