Claude vs Gemini API pricing, compared model by model
On 25 September 2026 the cheapest Claude model costs $0.25 per million input tokens against $0.05 for the cheapest Gemini model, and the typical Gemini model is the cheaper of the two.
| Claude (Anthropic) | Gemini (Google) | |
|---|---|---|
| Models listed | 15 | 26 |
| Cheapest model | Claude 3 Haiku, $0.25 in, $1.25 out | Gemma 3 4B, $0.05 in, $0.10 out |
| Most expensive model | Claude Opus 4.1, $15.00 in, $75.00 out | Nano Banana Pro (Gemini 3 Pro Image), $2.00 in, $12.00 out |
| Median input price | $5.00 | $0.50 |
| Median output price | $25.00 | $2.75 |
| Largest context | 1M, Claude Opus 5.5 | 1.04858M, Gemini 3.8 Flash |
| Newest model | Claude Opus 5.5, 2026-09-22 | Gemini 3.8 Flash, 2026-09-02 |
| Models with a batch price | 13 | 11 |
Every model, with your monthly cost
| Model | Provider | Input | Output | Cached input | Batch in / out | Context | Your month | Listed |
|---|---|---|---|---|---|---|---|---|
| Claude Opus 5.5 | Anthropic | $4.00 | $20.00 | $0.20 | $2.00 / $10.00 | 1M | $540.00 | 2026-09-22 |
| Gemini 3.8 Flash | $0.75 | $3.75 | $0.075 | $0.375 / $1.88 | 1.04858M | $101.25 | 2026-09-02 | |
| Claude Fable 5.1 | Anthropic | $10.00 | $50.00 | $0.25 | $5.00 / $25.00 | 1M | $1,350.00 | 2026-09-01 |
| Gemini 3.7 Flash | $0.75 | $3.75 | $0.075 | $0.375 / $1.88 | 1.04858M | $101.25 | 2026-08-13 | |
| Claude Opus 5 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 1M | $675.00 | 2026-07-24 |
| Gemini 3.6 Flash | $0.75 | $3.75 | $0.075 | $0.375 / $1.88 | 1.04858M | $101.25 | 2026-07-21 | |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | $0.03 | $0.15 / $1.25 | 1.04858M | $55.50 | 2026-07-21 | |
| Claude Sonnet 5 | Anthropic | $2.00 | $10.00 | $0.20 | $1.00 / $5.00 | 1M | $270.00 | 2026-06-30 |
| Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) | $0.25 | $1.50 | 66K | $37.50 | 2026-06-30 | |||
| Nano Banana 2 (Gemini 3.1 Flash Image) | $0.50 | $3.00 | 131K | $75.00 | 2026-06-18 | |||
| Nano Banana Pro (Gemini 3 Pro Image) | $2.00 | $12.00 | $0.20 | 131K | $300.00 | 2026-06-18 | ||
| Claude Fable 5 | Anthropic | $10.00 | $50.00 | $1.00 | $5.00 / $25.00 | 1M | $1,350.00 | 2026-06-09 |
| Claude Opus 4.8 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 1M | $675.00 | 2026-05-27 |
| Gemini 3.5 Flash | $1.50 | $9.00 | $0.15 | $0.75 / $4.50 | 1.04858M | $225.00 | 2026-05-19 | |
| Gemini 3.1 Flash Lite | $0.25 | $1.50 | $0.025 | $0.125 / $0.75 | 1.04858M | $37.50 | 2026-05-07 | |
| Claude Opus 4.7 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 1M | $675.00 | 2026-04-16 |
| Gemma 4 26B A4B free tier on OpenRouter | $0.0675 | $0.225 | $0.0375 | 262K | $7.42 | 2026-04-03 | ||
| Gemma 4 31B free tier on OpenRouter | $0.09 | $0.34 | $0.05 | 262K | $10.50 | 2026-04-02 | ||
| Gemini 3.1 Flash Lite Preview | $0.25 | $1.50 | $0.025 | 1.04858M | $37.50 | 2026-03-03 | ||
| Nano Banana 2 (Gemini 3.1 Flash Image Preview) | $0.50 | $3.00 | 66K | $75.00 | 2026-02-26 | |||
| Gemini 3.1 Pro Preview Custom Tools | $2.00 | $12.00 | $0.20 | 1.04858M | $300.00 | 2026-02-25 | ||
| Gemini 3.1 Pro Preview | $2.00 | $12.00 | $0.20 | $1.00 / $6.00 | 1.04858M | $300.00 | 2026-02-19 | |
| Claude Sonnet 4.6 | Anthropic | $3.00 | $15.00 | $0.30 | $1.50 / $7.50 | 1M | $405.00 | 2026-02-17 |
| Claude Opus 4.6 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 1M | $675.00 | 2026-02-04 |
| Gemini 3 Flash Preview | $0.50 | $3.00 | $0.05 | $0.25 / $1.50 | 1.04858M | $75.00 | 2025-12-17 | |
| Claude Opus 4.5 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 200K | $675.00 | 2025-11-24 |
| Nano Banana Pro (Gemini 3 Pro Image Preview) | $2.00 | $12.00 | $0.20 | 66K | $300.00 | 2025-11-20 | ||
| Claude Haiku 4.5 | Anthropic | $1.00 | $5.00 | $0.10 | $0.50 / $2.50 | 200K | $135.00 | 2025-10-15 |
| Nano Banana (Gemini 2.5 Flash Image) | $0.30 | $2.50 | $0.03 | 33K | $55.50 | 2025-10-07 | ||
| Claude Sonnet 4.5 | Anthropic | $3.00 | $15.00 | $0.30 | $1.50 / $7.50 | 1M | $405.00 | 2025-09-29 |
| Claude Opus 4.1 | Anthropic | $15.00 | $75.00 | $1.50 | $7.50 / $37.50 | 200K | $2,025.00 | 2025-08-05 |
| Gemini 2.5 Flash Lite retiring 2026-10-20 | $0.10 | $0.40 | $0.01 | $0.05 / $0.20 | 1.04858M | $12.00 | 2025-07-22 | |
| Gemini 2.5 Flash retiring 2026-10-20 | $0.30 | $2.50 | $0.03 | $0.15 / $1.25 | 1.04858M | $55.50 | 2025-06-17 | |
| Gemini 2.5 Pro retiring 2026-10-20 | $1.25 | $10.00 | $0.125 | $0.625 / $5.00 | 1.04858M | $225.00 | 2025-06-17 | |
| Gemini 2.5 Pro Preview 06-05 | $1.25 | $10.00 | $0.125 | 1.04858M | $225.00 | 2025-06-05 | ||
| Claude Sonnet 4 | Anthropic | $3.00 | $15.00 | $0.30 | 200K | $405.00 | 2025-05-22 | |
| Gemma 3 4B | $0.05 | $0.10 | 131K | $4.50 | 2025-03-13 | |||
| Gemma 3 12B | $0.05 | $0.15 | 131K | $5.25 | 2025-03-13 | |||
| Gemma 3 27B | $0.08 | $0.45 | $0.04 | 131K | $11.55 | 2025-03-12 | ||
| Gemma 2 27B | $0.65 | $0.65 | 8K | $48.75 | 2024-07-13 | |||
| Claude 3 Haiku | Anthropic | $0.25 | $1.25 | $0.03 | 200K | $33.75 | 2024-03-13 |
All Claude prices . All Gemini prices . Every provider
Common questions
Is Claude cheaper than Gemini?
On 25 September 2026, the median Claude model on this list costs $5.00 per million input tokens and $25.00 per million output tokens, against $0.50 and $2.75 for Gemini. By that measure Gemini is cheaper, but compare the specific models you would use, since both providers sell models at very different price points.
What is the cheapest Claude model compared with the cheapest Gemini model?
The cheapest Claude model is Claude 3 Haiku at $0.25 in and $1.25 out per million tokens. The cheapest Gemini model is Gemma 3 4B at $0.05 in and $0.10 out.
Which has the larger context window, Claude or Gemini?
The largest Claude context on this list is 1M tokens (Claude Opus 5.5) and the largest Gemini context is 1.04858M tokens (Gemini 3.8 Flash).
How should I choose between Claude and Gemini for a production agent?
Price per token is one input. Run both on a set of your own real cases, count how often each needs a retry or a human check, and compare the total cost of a correct answer rather than the cost of a token.
Choosing a model for a production agent
Price is one input. Quality on your own cases, latency and the cost of retries decide the rest. Tell me what you are building.