ZMIME
Comparison · 3 models · Updated Nov 18, 2026

Gemini 2.5 Flash vs Gemini 2.5 Pro vs Claude Sonnet 4

Too close to call on our weighted score (Gemini 2.5 Pro 77, Gemini 2.5 Flash 74, Claude Sonnet 4 66). The right pick depends on what you value most.

Price in rating: Excluded · Include price

  1. Google

    Gemini 2.5 Flash

    Released Jun 17, 2025

    74/100
    • ECI140.8
    • Price$0.30 / $2.50
    • Context1.05M
  2. Google

    Gemini 2.5 Pro

    Released Jun 17, 2025

    77/100
    • ECI144.9
    • Price$1.25 / $10.00
    • Context1.05M
  3. Anthropic

    Claude Sonnet 4

    Released May 22, 2025

    66/100
    • ECI141.9
    • Price$3.00 / $15.00
    • Context200K
01 — Verdict

Too close to call

It is close. Our weighted score puts them within 3 points (Gemini 2.5 Pro 77/100, Gemini 2.5 Flash 74/100, Claude Sonnet 4 66/100), so choose by what matters most for your work: Gemini 2.5 Pro for raw capability and Gemini 2.5 Flash on price. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGemini 2.5 ProCapabilities Index (ECI): Gemini 2.5 Pro 144.9 · Claude Sonnet 4 141.9 · Gemini 2.5 Flash 140.8
  • Lowest priceGemini 2.5 FlashGemini 2.5 Flash $0.85 · Gemini 2.5 Pro $3.44 · Claude Sonnet 4 $6.00 per 1M tokens (3:1 blend)
  • Longest contextGemini 2.5 Flash and Gemini 2.5 ProGemini 2.5 Flash 1,048,576 · Gemini 2.5 Pro 1,048,576 · Claude Sonnet 4 200,000 tokens
  • Widest inputsGemini 2.5 Flash and Gemini 2.5 ProGemini 2.5 Flash: Text, Images, PDFs, Audio, Video · Gemini 2.5 Pro: Text, Images, PDFs, Audio, Video · Claude Sonnet 4: Text, Images, PDFs
  • Self-hostingNo confirmed open weightsAll three are available only through APIs
How the score is built
MeasureWeightGemini 2.5 FlashGemini 2.5 ProClaude Sonnet 4
CapabilityCapabilities Index (ECI)67%697370
Inputs & features20%10010070
Context window13%656539
Overall100%74/10077/10066/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

Gemini 2.5 Flash vs Gemini 2.5 Pro vs Claude Sonnet 4 specifications side by side
SpecificationGemini 2.5 FlashGoogleGemini 2.5 ProGoogleClaude Sonnet 4Anthropic
Capability
Capabilities Index (ECI)140.8144.9 (best)141.9
ECI rank#111 of 158#92 of 158 (best)#104 of 158
GPQA DiamondGraduate-level science questions—85.3% (best)79.2%
FrontierMath Tiers 1–3Research-level mathematics—24.6%—
OTIS Mock AIME 2024–2025Competition mathematics—84.7% (best)71.1%
SWE-bench VerifiedFixing real GitHub issues—57.6%—
Price per million tokens
Input$0.30 (best)$1.25$3.00
Output$2.50 (best)$10.00$15.00
Cached input$0.03 (best)$0.125—
Blended (3:1)$0.85 (best)$3.44$6.00
Long-context rateSame rateOver 200K: $2.50 / $15.00Same rate
Price sourceOfficial Google APIOfficial Google APIMedian of 10 providers
Limits
Context window1,048,576 tokens (best)1,048,576 tokens (best)200,000 tokens
Max output65,536 tokens (best)65,536 tokens (best)64,000 tokens
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsYesYesYes
AudioYesYesNo
VideoYesYesNo
ReasoningYesYesYes
Tool callingYesYesYes
Structured outputYesYesNo
Availability
WeightsProprietaryProprietaryProprietary
API model IDgemini-2.5-flashgemini-2.5-pro—
API providers31 (best)31 (best)11
ReleasedJun 17, 2025Jun 17, 2025May 22, 2025
Knowledge cutoffJan 2025Jan 2025Mar 31, 2025
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • Gemini 2.5 Flash$8.00
  • Gemini 2.5 Pro$32.50
  • Claude Sonnet 4$60.00
04 — Questions

Which should you choose?

Which is better: Gemini 2.5 Flash, Gemini 2.5 Pro or Claude Sonnet 4?

It is close. Our weighted score puts them within 3 points (Gemini 2.5 Pro 77/100, Gemini 2.5 Flash 74/100, Claude Sonnet 4 66/100), so choose by what matters most for your work: Gemini 2.5 Pro for raw capability and Gemini 2.5 Flash on price. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, Gemini 2.5 Flash, Gemini 2.5 Pro or Claude Sonnet 4?

Gemini 2.5 Flash is cheaper at $0.30 input / $2.50 output per million tokens (official Google API price). Gemini 2.5 Pro costs $1.25 input / $10.00 output per million tokens (official Google API price); Claude Sonnet 4 costs $3.00 input / $15.00 output per million tokens (median across 10 API providers). At a typical mix of three input tokens to one output token, that is $0.85 per million tokens for Gemini 2.5 Flash versus $3.44 for Gemini 2.5 Pro (4× as much) and $6.00 for Claude Sonnet 4 (7.1× as much).

Which scores higher on benchmarks?

Gemini 2.5 Pro scores higher on the Capabilities Index (ECI): Gemini 2.5 Pro 144.9 (#92 of 158), Claude Sonnet 4 141.9 (#104 of 158) and Gemini 2.5 Flash 140.8 (#111 of 158). Their confidence ranges do not overlap (143.5–146.3 vs 140.3–143.4), so the gap is a real one.

Which is better for coding?

There are no published SWE-bench Verified results for Gemini 2.5 Flash and Claude Sonnet 4 yet, so there is no like-for-like coding score. On overall capability, Gemini 2.5 Pro leads, which tends to carry over to coding, but test on your own codebase. All three support tool calling for agent workflows.

Which has the bigger context window?

Gemini 2.5 Flash and Gemini 2.5 Pro have the largest context windows (1,048,576 and 1,048,576 tokens), against 200,000 for Claude Sonnet 4. Maximum output per response: Gemini 2.5 Flash up to 65,536, Gemini 2.5 Pro up to 65,536, Claude Sonnet 4 up to 64,000 tokens.

Which can read images, PDFs, audio or video?

Gemini 2.5 Flash accepts text, images, PDFs, audio and video; Gemini 2.5 Pro accepts text, images, PDFs, audio and video; Claude Sonnet 4 accepts text, images and PDFs. Gemini 2.5 Flash handles the widest range of inputs.

Are any of these open source?

No. Gemini 2.5 Flash, Gemini 2.5 Pro and Claude Sonnet 4 are proprietary and only available through APIs and apps.

Which is newer?

Gemini 2.5 Flash is the newest, released Jun 17, 2025. Gemini 2.5 Pro came out Jun 17, 2025; Claude Sonnet 4 came out May 22, 2025. Knowledge cutoff: Gemini 2.5 Flash Jan 2025, Gemini 2.5 Pro Jan 2025, Claude Sonnet 4 Mar 31, 2025.

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 18, 2026.