🔥 Limited time: Pro lifetime access $19 — price goes up July 12 →

Gemini vs Claude — API Pricing Comparison

Compare all Gemini and Claude models side by side. Gemini Flash Lite starts at $0.075/M — 92% cheaper than Claude Haiku.

Pricing data verified: Jul 8, 2026

⚠️ Note: Claude 4 Opus and Claude Sonnet 4 were retired on June 15, 2026. Prices shown for reference only — see migration alternatives →
Cheapest Model
Gemini
Flash Lite at $0.075/M input
Best Context Window
Tie
Both have 1M token models
Best Value Mid-Tier
Gemini
2.5 Pro at $1.25/M vs Sonnet 4 at $3/M

All Models Compared

Every Gemini and Claude model, ranked by input price.

Model Provider Tier Input (per 1M) Output (per 1M) Context
Gemini 2.5 Flash-Lite Google Budget $0.075 $0.30 1M
Gemini 2.5 Flash-Lite Google Budget $0.10 $0.40 1M
Gemini 2.5 Pro Google Mid $1.25 $10.00 1M
Claude Haiku 4.5 Anthropic Budget $1.00 $5.00 200K
Gemini 3.1 Pro Google Mid $2.00 $12.00 1M
Claude Sonnet 4 (Retired) Anthropic Mid $3.00 $15.00 200K
Claude Sonnet 4.6 Anthropic Mid $3.00 $15.00 1M
Claude Opus 4.7 Anthropic Premium $5.00 $25.00 1M
Claude 4 Opus (Retired) Anthropic Premium $15.00 $75.00 200K

Calculate Your Exact Costs

Pick your Gemini and Claude models, enter your usage, see the savings.

vs
Google
Gemini 2.5 Flash-Lite
$0.00
per month
Input cost $0.00
Output cost $0.00
Per request $0.00
Anthropic
Claude Sonnet 4.6
$0.00
per month
Input cost $0.00
Output cost $0.00
Per request $0.00
Enter your usage above to see savings.

Which Should You Choose?

Chatbot / Customer Support

High volume, short responses. Cost per message matters most. Budget models handle most customer queries well.

Pick Gemini: Flash Lite at $0.075/M is 92% cheaper than Claude Haiku. At 1M requests/month: $2.25 vs $60.

Code Generation

Complex reasoning, longer outputs. Quality and accuracy matter. Both providers excel here.

Pick Gemini: 2.5 Pro at $1.25/$10 is 58% cheaper on input than Claude Sonnet 4.6, with 1M context for large codebases.

Long Document Analysis

Processing large documents, legal contracts, or codebases. Context window is critical.

Pick Gemini: All Gemini models have 1M context. Flash at $0.10/M is 90% cheaper than Claude Sonnet 4.6 for long docs.

High-Volume Data Processing

Classification, extraction, summarization at scale. Budget is tight, volume is high.

Pick Gemini: Flash Lite at $0.075/$0.30 is the cheapest option. At 10M requests/month: $750 vs $6,000 for Claude Haiku.

Enterprise / Safety-Critical

Regulated industries, strict compliance, Anthropic's safety guarantees required.

Pick Claude: Anthropic's safety-first approach and enterprise compliance. The price premium is justified for regulated workloads.

Startup MVP / Side Project

Minimize costs while building. Need reliable API at the lowest price point.

Pick Gemini: Flash Lite at $0.075/M with 1M context is unbeatable for bootstrapping. Scale up to 2.5 Pro as you grow.

Save More with APIpulse Pro

Get personalized cost optimization recommendations for your specific workload.

Save scenarios — compare up to 10 configs
Export reports — PDF cost analysis
Optimization tips — save up to 40%
Get Pro — $19

Frequently Asked Questions

Is Gemini cheaper than Claude for API usage?

Yes, Gemini is significantly cheaper than Claude across all tiers. Gemini 2.5 Flash-Lite ($0.075/$0.30 per 1M tokens) is 92% cheaper on input and 94% cheaper on output than Claude Haiku 4.5 ($1/$5). Gemini 2.5 Pro ($1.25/$10) is 58% cheaper on input and 33% cheaper on output than Claude Sonnet 4.6 ($3/$15). For budget-conscious developers, Gemini offers excellent value with 1M context windows on all models.

What is the cheapest Gemini model vs the cheapest Claude model?

GPT-oss 20B at $0.08/$0.35 is the cheapest. Gemini Flash Lite is 92% cheaper on input and 94% cheaper on output. At 1M tokens/month, Gemini Flash Lite costs $0.75+$3=$3.75 vs Claude Haiku's $10+$50=$60 — saving $56.25/month.

Which has a bigger context window: Gemini or Claude?

Both offer 1M token context windows. All four Gemini models (Flash Lite, Flash, 2.5 Pro, 3.1 Pro) support 1M tokens. Claude Sonnet 4.6 and Opus 4.7 also support 1M tokens. However, Gemini's budget models (Flash Lite at $0.075/M) include 1M context, while Claude's budget model (Haiku 4.5 at $1/M) only has 200K context.

Claude Sonnet 4.6 vs Gemini 2.5 Pro: which should I choose?

Gemini 2.5 Pro is 58% cheaper on input ($1.25 vs $3) and 33% cheaper on output ($10 vs $15), with a larger 1M context window vs Claude Sonnet 4.6's 200K. Choose Gemini 2.5 Pro for cost-sensitive workloads, long-context tasks, and startups. Choose Claude Sonnet 4.6 when you need Anthropic's safety guarantees or specific Claude capabilities.

Is Gemini Flash good enough for production use?

Yes, Gemini 2.5 Flash-Lite is excellent for production use at $0.10/$0.40 per 1M tokens with 1M context. It handles chatbots, content generation, summarization, and most NLP tasks well. Gemini Flash Lite ($0.075/$0.30) is even cheaper for simpler tasks. For complex reasoning, upgrade to Gemini 2.5 Pro or Claude Sonnet 4.6.

Share This Comparison

📊 Live Pricing

Real-time prices for all 60 models

💰 Pricing Hub

All 60 models compared — find the cheapest

🔥 Flash Sale: Get Pro for $19 (reg $49)

Lifetime access to 58-model comparison, migration code snippets, PDF reports, price alerts, and cost monitoring. Sale ends Jul 12.

⚡ Flash Sale — Get Pro for $19 →

⏰ Flash sale ends Jul 12 — price goes to $49

This was a snapshot. What about next month?
Prices change. New models launch. Pro catches what a one-time calculation can't — and saves you money every month.
⚡ Get Pro — $19 lifetime 🔍 Free audit first