LightCube Data Extractor Add to Chrome ↗

OpenAI vs Claude vs Gemini API Pricing: Complete Cost Comparison (November 2026)

Key Takeaways

  • At the flagship tier, OpenAI GPT-6.2 Astra and Anthropic Claude Fable 5.2 both cost $8/$40 per million tokens, while Google Gemini 4 Neon is $3/$15 (62.5% lower).
  • At the workhorse tier ($2/$10), Claude Sonnet 5.5, OpenAI GPT-6.2 Sol, and Google Gemini 4 Carbon match through November 30, 2026 (Gemini 4 Carbon moves to $4/$20 on December 1).
  • All three providers offer 50% Batch API discounts and 90% to 97.5% cached-input discounts on current models, with important differences in cache-write fees and long-context thresholds.
  • For ultra-budget workloads, OpenAI GPT-5 Nano ($0.05/$0.40) is the lowest-priced model across the three providers.

Comparing LLM API pricing across OpenAI, Anthropic, and Google requires looking past headline input/output rates. Each vendor prices prompt caching, batch queues, and long context windows differently.

This guide places all three providers side by side using official pricing documentation verified as of November 25, 2026.

The Full Pricing Table (as of November 25, 2026)

All rates are USD per 1 million tokens on standard paid tiers (short/base context). Input is what you send; output is what the model generates.

Provider Model Input (per 1M) Cached Input (per 1M) Output (per 1M)
OpenAI (short context up to 272K tokens)
OpenAI GPT-6.2 Astra $8.00 $0.40 $40.00
OpenAI GPT-6.2 Sol $2.00 $0.10 $10.00
OpenAI GPT-6.1 Sol $2.00 $0.10 $10.00
OpenAI GPT-6.1 Terra $1.00 $0.05 $5.00
OpenAI GPT-6 Luna $0.10 $0.01 $0.50
OpenAI GPT-5.6 Sol Promo through Nov 30, 2026 $4.00 $0.40 $20.00
OpenAI GPT-5.6 Luna $0.20 $0.02 $1.20
OpenAI GPT-5 Nano $0.05 $0.005 $0.40
Anthropic Claude (base pricing; 5m cache write = 1.25x input)
Anthropic Claude Fable 5.2 $8.00 $0.20 $40.00
Anthropic Claude Opus 5.5 $4.00 $0.20 $20.00
Anthropic Claude Sonnet 5.5 $2.00 $0.10 $10.00
Anthropic Claude Haiku 5.5 ≤100K tokens; $0.50/$2.50 over 100K $0.10 $0.01 $0.50
Anthropic Claude Haiku 4.5 $1.00 $0.10 $5.00
Google Gemini (Paid Tier)
Google Gemini 4 Carbon $4.00/$20.00 starting Dec 1, 2026 $2.00 $0.10 $10.00
Google Gemini 4 Neon $3.00 $0.15 $15.00
Google Gemini 3.8 Flash $1.50/$7.50 starting Jan 1, 2027 $0.75 $0.075 $3.75
Google Gemini 2.5 Flash-Lite $0.10 $0.01 $0.40

Sources: OpenAI Pricing, Anthropic Pricing, and Google Gemini API Pricing, verified November 25, 2026.

Scheduled Google price changes: Gemini 4 Carbon (and Gemini 4 Argon) are listed at $2.00/$10.00 through November 30, 2026 and move to $4.00/$20.00 starting December 1, 2026. Gemini 3.8 Flash moves from $0.75/$3.75 to $1.50/$7.50 starting January 1, 2027.

Tier-by-Tier Comparison

Matching models by capability tier makes cross-provider tradeoffs clear.

Flagship Tier (Complex Reasoning & Agents)

Top reasoning models for multi-step software engineering, math, and deep analysis.

Price leader: Gemini 4 Neon ($3 / $15)
OpenAI GPT-6.2 Astra
$8 / $40
per 1M tokens
Anthropic Fable 5.2
$8 / $40
per 1M tokens
Google Gemini 4 Neon
$3 / $15
per 1M tokens

OpenAI and Anthropic match at $8/$40, while Google Gemini 4 Neon is 62.5% cheaper on both input and output tokens.

Workhorse Tier (General Production)

Balanced capability and throughput for production SaaS features and RAG pipelines.

Three-way tie at $2 / $10 through Nov 30
OpenAI GPT-6.2 Sol
$2 / $10
per 1M tokens
Anthropic Sonnet 5.5
$2 / $10
per 1M tokens
Google Gemini 4 Carbon
$2 / $10
per 1M tokens

All three match at $2/$10 as of November 25, 2026. On December 1, 2026, Gemini 4 Carbon increases to $4/$20, matching Claude Opus 5.5.

Budget Tier (High-Volume & Classification)

High-throughput extraction, routing, chat, and classification.

Lowest current-gen output: Gemini 2.5 Flash-Lite ($0.10 / $0.40)
OpenAI GPT-6 Luna
$0.10 / $0.50
per 1M tokens
Anthropic Haiku 5.5
$0.10 / $0.50
per 1M tokens (≤100K)
Google Gemini 2.5 Flash-Lite
$0.10 / $0.40
per 1M tokens

All three charge $0.10/1M input, with Gemini 2.5 Flash-Lite slightly lower on output ($0.40 vs $0.50). For ultra-budget tasks, OpenAI GPT-5 Nano is $0.05/$0.40 per 1M tokens.

Calculate Your Exact Costs Across All Providers

Enter your token counts, prompt cache hit rate, and Batch API preference to compare every model live.

Open the AI API Cost Calculator ↗

Beyond Per-Token Rates: Batching, Caching, and Long Context

Batch Processing

Batch API Discounts

OpenAI
50% off
Standard text models, 24h window
Anthropic
50% off
All Claude models, stacks with caching
Google
50% off
Paid Tier Batch API on supported models

All three providers offer a 50% Batch API discount for asynchronous workloads where 24-hour turnaround is acceptable.

Prompt Caching

Cached Input Token Discounts

OpenAI
90% to 95% off
GPT-5/GPT-6 reads (no write fee on standard auto caching)
Anthropic
90% to 97.5% off
Cache reads (writes billed at 1.25x 5m / 2x 1h)
Google
90% to 95% off
Implicit on Gemini 4; explicit storage billed/hr on Flash

Anthropic offers the steepest read discount on flagship models: 97.5% off (0.025x) on Claude Fable 5.2 and 95% off (0.05x) on Claude Opus 5.5 and Sonnet 5.5, with 90% off (0.1x) on Haiku 5.5 and earlier models. Cache writes cost 1.25x input for a 5-minute TTL or 2x for a 1-hour TTL.

OpenAI discounts cached reads by 95% on GPT-6.2 Astra/Sol and GPT-6.1 Terra, and 90% on GPT-6 Luna and GPT-5 models (older GPT-4o models are 50% off and GPT-4.1 is 75% off). Standard automatic caching has no extra write fee.

Google provides implicit context caching at 95% off (5% of input) on Gemini 4 Carbon, Argon, Neon, and Hydrogen, and 90% off on Gemini 3.8 Flash and Gemini 2.5 Flash-Lite (explicit caching also carries a per-hour storage charge).

Long-Context Pricing Rules

Real-World Cost Comparison: 1 Million Requests

For a standard chatbot workload of 800 input tokens + 200 output tokens per request across 1,000,000 requests (800M input tokens + 200M output tokens total, uncached and non-batch):

Tier OpenAI Anthropic Google
Flagship $14,400 GPT-6.2 Astra $14,400 Claude Fable 5.2 $5,400 Gemini 4 Neon
Workhorse $3,600 GPT-6.2 Sol $3,600 Claude Sonnet 5.5 $3,600 Gemini 4 Carbon ($7,200 Dec 1)
Budget $180 GPT-6 Luna $180 Claude Haiku 5.5 $160 Gemini 2.5 Flash-Lite
Ultra-budget $120 GPT-5 Nano N/A N/A

Formula: (800 × input_rate + 200 × output_rate) × 1,000,000 ÷ 1,000,000. Standard tier, no caching or batch applied.

When Each Provider Wins

Choose OpenAI when...

Choose Anthropic (Claude) when...

Choose Google (Gemini) when...

Model Your Exact Scenario

Plug in your actual request volume, token sizes, cache hit %, and batch setting to find the cheapest model for your workload.

Try the AI API Cost Calculator ↗

Cost Optimization Tips (Any Provider)

Frequently Asked Questions

Is Claude cheaper than GPT?
At the workhorse tier, Sonnet 5.5 and GPT-6.2 Sol both cost $2/$10 per million tokens. Anthropic offers up to 97.5% off cache reads on Fable 5.2 and 95% off on Opus 5.5 and Sonnet 5.5 (with cache-write fees), while OpenAI offers 90% to 95% automatic cache discounts on GPT-5/GPT-6 models and GPT-5 Nano at $0.05/$0.40.
Is Gemini cheaper than ChatGPT?
At the flagship tier, yes: Gemini 4 Neon costs $3/$15 vs GPT-6.2 Astra at $8/$40. At the budget tier, Gemini 2.5 Flash-Lite ($0.10/$0.40) beats GPT-6 Luna ($0.10/$0.50) on output cost. Note that Gemini 4 Carbon rises from $2/$10 to $4/$20 on December 1, 2026.
Which AI API is cheapest overall?
OpenAI's GPT-5 Nano ($0.05/$0.40 per million tokens) is the lowest-priced option among major providers. For current-generation budget models, all three providers start at $0.10 input per million tokens.
Do these prices include the free tier?
No. Google offers a free tier with rate limits on select Gemini models, while OpenAI and Anthropic are pay-as-you-go (aside from starter credits for new accounts). This guide covers paid production API pricing.
How often do AI API prices change?
Frequently, and upcoming changes are already scheduled on official pricing pages (including Gemini 4 Carbon on December 1, 2026 and Gemini 3.8 Flash on January 1, 2027). All rates in this article were verified November 25, 2026.