Official source comparison

LLM API Pricing Comparison

How does LLM API pricing work?

LLM API pricing usually depends on the selected model, normal input tokens, cached input where supported, and generated output tokens. Providers publish separate USD rates per one million tokens. The table below compares standard direct-API text rates; actual workload cost also depends on output length, retries, tools, media, regional service, and platform terms.

Verified rows

What are the current LLM input and output token prices?

This LLM API pricing table lists standard direct-API USD prices per one million text tokens for 26 current GPT, Claude, Gemini, and DeepSeek models. Long-context alternatives appear beneath affected rates, and the workload calculator applies them automatically. Each row links to its official provider source and shows the verified date. A missing value is unavailable, never assumed to be zero.

Provider / modelInput / 1MCached / 1MOutput / 1MContextAccuracyVerified
Claude Fable 5Anthropic$10$1$501,000,000Estimate2026-09-30Verified
Pricing notes

Standard direct Claude API rates. Cached input is a cache hit/read; 5-minute and 1-hour cache writes cost more, while partner cloud pricing can differ.

Claude Fable 5.1Anthropic$10$0.25$501,000,000Estimate2026-09-30Verified
Pricing notes

Standard direct Claude API rates across the full 1M context window; maximum output 128K. Cached input means cache reads only. Cache writes, US-only inference, tools, and partner platforms are separate. Local token counts are estimates; Claude 4.7 and later use a newer tokenizer.

Claude Haiku 4.5Anthropic$1$0.1$5200,000Estimate2026-09-30Verified
Pricing notes

Standard direct Claude API rates. Cached input is a cache hit/read; 5-minute and 1-hour cache writes cost more, while partner cloud pricing can differ.

Claude Opus 5Anthropic$5$0.5$251,000,000Estimate2026-09-30Verified
Pricing notes

Standard direct Claude API rates. Cached input is a cache hit/read; Fast mode, cache writes, US-only inference, and partner cloud pricing differ.

Claude Opus 5.5Anthropic$4$0.2$201,000,000Estimate2026-09-30Verified
Pricing notes

Standard direct Claude API rates across the full 1M context window; maximum output 128K. Cached input means cache reads only. Cache writes, US-only inference, tools, and partner platforms are separate. Local token counts are estimates; Claude 4.7 and later use a newer tokenizer.

Claude Sonnet 4.6Anthropic$3$0.3$151,000,000Estimate2026-09-30Verified
Pricing notes

Standard direct Claude API rates. Cached input is a cache hit/read; cache writes cost more, and US-only inference for Claude 4.6 carries a 1.1x multiplier.

Claude Sonnet 5Anthropic$2$0.2$101,000,000Estimate2026-09-30Verified
Pricing notes

Current standard direct Claude API rates: $2 input, $0.20 cache-hit input, and $10 output per MTok. The current official table does not list the previously announced September increase. Cache writes, regional inference, and tools cost extra.

Claude Sonnet 5.5Anthropic$2$0.2$101,000,000Estimate2026-09-30Verified
Pricing notes

Standard direct Claude API rates across the full 1M context window; maximum output 128K. Cached input means cache reads only. Cache writes, US-only inference, tools, and partner platforms are separate. Local token counts are estimates; Claude 4.7 and later use a newer tokenizer.

DeepSeek V4 Pro (0813)DeepSeekAPI: deepseek-v4-proPeak rates$1.32$0.044$3.961,000,000Estimate2026-09-30Verified
Pricing notes

API model deepseek-v4-pro serves DeepSeek-V4-Pro-0813. Listed base rates are peak; off-peak rates are half. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. All other times are off-peak. Select the period for your workload; monthly and annual totals assume that rate for every request.

DeepSeek V4.1 FlashDeepSeekAPI: deepseek-flashPeak rates$0.3$0.006$1.21,000,000Estimate2026-09-30Verified
Pricing notes

Use API model deepseek-flash (DeepSeek-V4.1-Flash). The retired V4 Flash model name remains an alias served by V4.1 Flash. Listed base rates are peak; off-peak rates are half. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. All other times are off-peak. Select the period for your workload; monthly and annual totals assume that rate for every request.

Gemini 2.5 FlashGoogle$0.3$0.03$2.51,048,576Estimate2026-09-30Verified
Pricing notes

Available to previously active Gemini 2.5 users; new projects should use Gemini 3.5 Flash-Lite or 3.8 Flash. Standard paid-tier text rates; audio, cache storage, grounding, and tools cost extra.

Gemini 3.1 Pro PreviewGoogle$2Over 200K: $4$0.2Over 200K: $0.4$12Over 200K: $181,048,576Estimate2026-09-30Verified
Pricing notes

Preview-model standard paid-tier text rates. Prompts above 200K tokens use the listed higher input, cache, and output rates; preview terms can change.

Gemini 3.5 FlashGoogle$1.5$0.15$91,048,576Estimate2026-09-30Verified
Pricing notes

Standard paid-tier text rates. Cache storage, Batch, Flex, Priority, grounding, media, and tool charges differ.

Gemini 3.5 Flash-LiteGoogle$0.3$0.03$2.51,048,576Estimate2026-09-30Verified
Pricing notes

Standard paid-tier text rates. Cache storage, Batch, Flex, Priority, grounding, media, and tool charges differ.

Gemini 3.6 FlashGoogle$0.75$0.075$3.751,048,576Estimate2026-09-30VerifiedPromotional rates through 2026-12-31Rates change on 2027-01-01
Pricing notes

Standard paid-tier promotional rates through December 31, 2026. From January 1, 2027: $1.50 input, $0.15 cached input, $7.50 output per MTok. Output includes thinking tokens. Cache storage and tools cost extra.

Gemini 3.7 FlashGoogle$0.75$0.075$3.751,048,576Estimate2026-09-30VerifiedPromotional rates through 2026-12-31Rates change on 2027-01-01
Pricing notes

Standard paid-tier promotional rates through December 31, 2026. From January 1, 2027: $1.50 input, $0.15 cached input, $7.50 output per MTok. Output includes thinking tokens. Cache storage and tools cost extra.

Gemini 3.8 FlashGoogle$0.75$0.075$3.751,048,576Estimate2026-09-30VerifiedPromotional rates through 2026-12-31Rates change on 2027-01-01
Pricing notes

Standard paid-tier promotional rates through December 31, 2026. From January 1, 2027: $1.50 input, $0.15 cached input, $7.50 output per MTok. Output includes thinking tokens. Cache storage and tools cost extra.

GPT-5.4 miniOpenAI$0.75$0.075$4.5400,000Compatible2026-09-30Verified
Pricing notes

Standard direct OpenAI API text rates. Batch, Flex, Fast mode, regional processing, tools, and Amazon Bedrock pricing can differ.

GPT-5.4 nanoOpenAI$0.2$0.02$1.25400,000Compatible2026-09-30Verified
Pricing notes

Standard direct OpenAI API text rates. Batch, Flex, regional processing, tools, and Amazon Bedrock pricing can differ.

GPT-5.6 LunaOpenAI$0.2Over 272K: $0.4$0.02Over 272K: $0.04$1.2Over 272K: $1.81,050,000Compatible2026-09-30Verified
Pricing notes

Standard direct OpenAI API text rates. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request.

GPT-5.6 SolOpenAI$4Over 272K: $8$0.4Over 272K: $0.8$20Over 272K: $301,050,000Compatible2026-09-30Verified
Pricing notes

Promotional direct OpenAI API rates available at least through November 21, 2026; no later rate is confirmed. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request. Cache writes are separate.

GPT-5.6 TerraOpenAI$2Over 272K: $4$0.2Over 272K: $0.4$12Over 272K: $181,050,000Compatible2026-09-30Verified
Pricing notes

Standard direct OpenAI API text rates. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request.

GPT-6 AstraOpenAI$10Over 272K: $20$1Over 272K: $2$50Over 272K: $751,050,000Estimate2026-09-30Verified
Pricing notes

Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.

GPT-6 LunaOpenAI$0.1Over 272K: $0.2$0.01Over 272K: $0.02$0.5Over 272K: $0.751,050,000Estimate2026-09-30Verified
Pricing notes

Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.

GPT-6 SolOpenAI$2Over 272K: $4$0.2Over 272K: $0.4$10Over 272K: $151,050,000Estimate2026-09-30Verified
Pricing notes

Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.

GPT-6.1 SolOpenAI$2Over 272K: $4$0.1Over 272K: $0.2$10Over 272K: $151,050,000Estimate2026-09-30Verified
Pricing notes

Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.

The 26 model rows use USD list prices per one million text tokens, checked against the linked official provider pages. OpenAI and Gemini long-context tiers are applied automatically from the entered input count. Batch, audio, image, video, tools, storage, regional, and platform fees may differ.

Rates as of 2026-09-30 (UTC); published scheduled changes apply automatically. Monthly totals assume those rates throughout the month. Cache writes are excluded; output should include billed thinking tokens. DeepSeek: peak rates. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. All other times are off-peak. Select the period for your workload; monthly and annual totals assume that rate for every request.

Workload model

What does one selected model cost for this workload?

Start with the 5 million input and 1 million output token reference workload, then replace those values with your own input, cached input, output, and request volume. Switch the selected model to test another row from the complete comparison above; the result is conditional on those assumptions and the currently verified rates.

Applies to 0 input tokens.
Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. All other times are off-peak. Select the period for your workload; monthly and annual totals assume that rate for every request. Applies only to DeepSeek rows.
Cost estimateEstimated cost
Input tokens5,000,000
Cached input tokens0
Cost per request$35.0000
Cost per 1,000 requests$35,000.0000
Daily cost$35.0000
Monthly cost$1,050.0000
Annual cost$12,600.0000
Applied rate tierOver 272K input tokens
Context window usage100.00%

Official OpenAI pricing · Checked 2026-09-30 · Verified. Rates as of 2026-09-30 (UTC).

Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.

Monthly and annual totals project the selected rates unchanged; they do not forecast scheduled price changes. Include billed thinking tokens in output. Cache writes, tool calls, media, storage, taxes, regional pricing, platform fees, and provider-side token differences are excluded.

When was the LLM API pricing verified?

Every LLM API pricing row was checked on against the linked OpenAI, Anthropic, Google, or DeepSeek pricing page. GPT-5.6 Sol promotional pricing is available at least through November 21, 2026. Gemini 3.6, 3.7, and 3.8 Flash prices double on January 1, 2027 under the published schedule. DeepSeek LLM API pricing defaults to peak rates with an off-peak selector. Recheck the official source before a purchasing decision.

Why are output tokens important in LLM API pricing?

Output often uses a higher per-million rate than input. A model with a low input price can produce a higher total when answers are long, retries are common, or a workflow generates large structured results.

Compare typical and high-output cases before choosing a model from the LLM API pricing table.

How does cached input change LLM API pricing?

LLM API pricing for cached input applies only when a provider recognizes an eligible cache hit. Writes, storage, retention, minimum prefix size, and invalidation can change the economics. The calculator models reads, not automatic eligibility.

Does the lowest LLM API pricing mean the best API?

No. In LLM API pricing, “Lowest estimated cost” describes one selected workload. Quality, latency, context, tool support, data handling, availability, and engineering fit can outweigh the token line item.

Source and method

Which sources and measured checks support this LLM API pricing comparison?

The LLM API pricing comparison checked 26 active model rows against current OpenAI, Anthropic Claude, Google Gemini, and DeepSeek first-party pages, then measured identical token workloads with one cost formula and applicable long-context rate tiers. Its limitation is commercial scope: batch, media, tools, storage, regional service, taxes, credits, and partner-platform pricing are excluded. OpenAI official pricing. Last verified: .

Which sources and measured checks support this LLM API pricing comparison? Evidence and limitations for the current page.
EvidenceObserved result or boundary
Verified model rows26 models across OpenAI, Anthropic Claude, Google Gemini, and DeepSeek.
Measured workloadNormal input, cached input, output, request volume, monthly and annual cost.
Answers

LLM API pricing questions

How current is this LLM API pricing comparison?

This LLM API pricing table was checked against each linked official provider page on 2026-09-30. It includes GPT-6, Claude 5.5, Gemini 3.8 Flash, and DeepSeek V4.1 Flash. DeepSeek offers peak and off-peak prices; scheduled Gemini changes apply by UTC date.

Does LLM API pricing include free tiers?

No. This LLM API pricing table compares standard paid direct-API text rates. Free quota, promotional credits, batch discounts, enterprise contracts, and platform fees are separate.

Which model has the lowest LLM API pricing?

The lowest LLM API pricing estimate depends on the selected models, input, cache, output, and request volume. The sorted result applies only to that workload and current published rates.

Does LLM API pricing include unified API partners?

No verified unified affiliate provider is active in the LLM API pricing table. Any future partner must have a real URL, rights review, disclosure, and independently checked terms.

Choose LLM API pricing from workload evidence, not one rate cell

This LLM API pricing comparison is suitable for screening a defined text workload, but it is not for creating a universal model ranking. Use realistic input, output, cache, and retry data, then recheck the official source before a purchase or deployment decision.