Model pricing database

AI Models Pricing Comparison

Input, cached input, output and batch prices per 1M tokens for OpenAI, Claude, Gemini and other models, each linked to the official source. Search, sort, or tick up to four models to compare them.

USD per 1M tokens, standard rates. Models without a listed price sort last.

CompareProvider / modelInput / 1M tokensOutput / 1M tokensBatch in / outContextVerified How we verify
GPT-5.5 ProlatestProvider: OpenAIModel ID: gpt-5.5-pro
DetailsAvailability: PremiumPrice shown: Standard · Short context · ≤272k input tokens · whole requestStandard list 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.
Input · USD per 1M input tokens$30.00Output · USD per 1M output tokens$180.00$15.00 / $90.00Short / longDec 2, 2026Official source ↗
GPT-5.4 minilatestProvider: OpenAIModel ID: gpt-5.4-mini
DetailsAvailability: StandardPrice shown: StandardStandard list 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.
Input · USD per 1M input tokens$0.75Cached input · USD per 1M cached input tokens$0.075Output · USD per 1M output tokens$4.50$0.375 / $2.25ShortDec 2, 2026Official source ↗
GPT-5.4latestProvider: OpenAIModel ID: gpt-5.4
DetailsAvailability: StandardPrice shown: Standard · Short context · ≤272k input tokens · whole requestStandard list 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.
Input · USD per 1M input tokens$2.50Cached input · USD per 1M cached input tokens$0.25Output · USD per 1M output tokens$15.00$1.25 / $7.50Short / longDec 2, 2026Official source ↗
GPT-5.4 ProlatestProvider: OpenAIModel ID: gpt-5.4-pro
DetailsAvailability: PremiumPrice shown: Standard · Short context · ≤272k input tokens · whole requestStandard list 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.
Input · USD per 1M input tokens$30.00Output · USD per 1M output tokens$180.00$15.00 / $90.00Short / longDec 2, 2026Official source ↗
Claude Fable 5.2latestProvider: AnthropicModel ID: claude-fable-5-2
DetailsAvailability: StandardPrice shown: StandardStandard list price. Input $8.00 / cached $0.20 / output $40.00 per 1M tokens. Anthropic also lists 5-minute and 1-hour cache write prices. This calculator uses base input, cache hit, and output prices.
Input · USD per 1M input tokens$8.00Cached input · USD per 1M cached input tokens$0.20Output · USD per 1M output tokens$40.00$4.00 / $20.001MNov 10, 2026Official source ↗
Claude Haiku 5.5latestProvider: AnthropicModel ID: claude-haiku-5-5
DetailsAvailability: activePrice shown: Standard · Short context · ≤100k prompt tokens · whole requestStandard list price. Input $0.10 / cached $0.01 / output $0.50 per 1M tokens.
Input · USD per 1M input tokens$0.10Cached input · USD per 1M cached input tokens$0.01Output · USD per 1M output tokens$0.50$0.05 / $0.251MNov 23, 2026Official source ↗
Claude Sonnet 5.5latestProvider: AnthropicModel ID: claude-sonnet-5-5
DetailsAvailability: activePrice shown: StandardStandard list price. Input $2.00 / cached $0.10 / output $10.00 per 1M tokens.
Input · USD per 1M input tokens$2.00Cached input · USD per 1M cached input tokens$0.10Output · USD per 1M output tokens$10.00$1.00 / $5.001MNov 9, 2026Official source ↗
Claude Opus 5.5latestProvider: AnthropicModel ID: claude-opus-5-5
DetailsAvailability: activePrice shown: StandardStandard list price. Input $4.00 / cached $0.20 / output $20.00 per 1M tokens.
Input · USD per 1M input tokens$4.00Cached input · USD per 1M cached input tokens$0.20Output · USD per 1M output tokens$20.00$2.00 / $10.001MNov 23, 2026Official source ↗
Claude Fable 5.1activeProvider: AnthropicModel ID: claude-fable-5-1
DetailsAvailability: StandardPrice shown: StandardStandard list price. Input $10.00 / cached $0.25 / output $50.00 per 1M tokens. Anthropic also lists 5-minute and 1-hour cache write prices. This calculator uses base input, cache hit, and output prices.
Input · USD per 1M input tokens$10.00Cached input · USD per 1M cached input tokens$0.25Output · USD per 1M output tokens$50.00$5.00 / $25.001MNov 10, 2026Official source ↗
Claude Opus 5latestProvider: AnthropicModel ID: claude-opus-5
DetailsAvailability: StandardPrice shown: StandardStandard list price. Input $5.00 / cached $0.50 / output $25.00 per 1M tokens.
Input · USD per 1M input tokens$5.00Cached input · USD per 1M cached input tokens$0.50Output · USD per 1M output tokens$25.00$2.50 / $12.50Not listedNov 23, 2026Official source ↗
Claude Sonnet 5latestProvider: AnthropicModel ID: claude-sonnet-5
DetailsAvailability: StandardPrice shown: StandardStandard list 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.
Input · USD per 1M input tokens$2.00Cached input · USD per 1M cached input tokens$0.20Output · USD per 1M output tokens$10.00$1.00 / $5.001MNov 23, 2026Official source ↗
Claude Fable 5activeProvider: AnthropicModel ID: claude-fable-5
DetailsAvailability: StandardPrice shown: StandardStandard list price. Input $10.00 / cached $1.00 / output $50.00 per 1M tokens. Anthropic also lists 5-minute and 1-hour cache write prices. This calculator uses base input, cache hit, and output prices.
Input · USD per 1M input tokens$10.00Cached input · USD per 1M cached input tokens$1.00Output · USD per 1M output tokens$50.00$5.00 / $25.001MNov 23, 2026Official source ↗

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

Check the margin before you price an AI feature.

If model choice changes what a free or paid tier of your product can include, run the numbers through the AI SaaS margin calculator first.

Open Margin Calculator
Important pricing note

Estimates for planning only, not financial or legal advice. Prices can change, so verify on the provider's pricing page; your provider bill is the final source of truth. Full terms

Where these prices come from

Pricing records are maintained and verified against official provider sources. This comparison uses the same verified pricing dataset as every other AICostBudget page. It is not a live billing feed.

Download the data

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.