Gemini 2.5 Pro vs Claude 4 Cost Calculator

Gemini 2.5 Pro doubles its input rate once a prompt crosses 200K tokens, while Claude Sonnet 4 keeps a flat rate up to 200K with 90% cache read discounts. Slide your prompt size, thinking multiplier, and cache hit rate below to see which model wins.

Interactive calculator

Model TierInput $/1MOutput $/1MCost / 1K ReqsMonthly Cost

How to route between Gemini 2.5 Pro and Claude 4

  1. Watch the 200K prompt cliff on Gemini 2.5 Pro. Prompts under 200K bill $1.25 per 1M input and $10 per 1M output. Crossing 200K doubles input to $2.50 and lifts output to $15 across the entire prompt.
  2. Use Claude 90% cache reads for repeated tool loops. When an agent replays the same 80K repo context 30 times in a row, Anthropic 0.10x cache reads cut effective input cost to $0.30/1M on Sonnet 4.
  3. Budget for hidden thinking tokens on both models. Extended thinking and Gemini reasoning tokens bill at output rates. A 2x thinking multiplier often makes output tokens the biggest line item.

Common questions

Is Gemini 2.5 Pro always cheaper than Claude Sonnet 4?

On uncached prompts under 200K tokens, Gemini 2.5 Pro ($1.25/$10) undercuts Sonnet 4 ($3/$15) by roughly 40% to 55%. At 90% cache hit rates, Sonnet 4 narrows the input gap sharply.

What happens when a Gemini 2.5 Pro prompt exceeds 200K tokens?

Google switches the entire request to the >200K tier ($2.50/1M input, $15/1M output), while Claude Sonnet 4 standard context caps at 200K tokens.

How should I route a hybrid Gemini plus Claude coding workflow?

Send one-shot 300K codebase audits to Gemini 2.5 Pro, then hand the narrow file list to Claude Code on Sonnet 4 for cached iterative edits.

All calculations run 100% locally in your browser with zero external API calls. Pricing and rate limits reflect published 2026 provider rate cards.