ZMIME
Comparison · 2 models · Updated Nov 24, 2026

Gemini 2.5 Flash Preview 05-20 vs Claude Opus 4

Gemini 2.5 Flash Preview 05-20 comes out ahead, 63 to 46 on our weighted score, and it is the cheaper option too.Gemini 2.5 Flash Preview 05-20 comes out ahead, 69 to 66 on our weighted score, and it is the cheaper option too.

  1. Our pick

    Google

    Gemini 2.5 Flash Preview 05-20

    Released May 20, 2025

    63/100
    • ECI141.6
    • Price$0.142 / $3.33
    • Context1.05M
  2. Anthropic

    Claude Opus 4

    Released May 22, 2025

    46/100
    • ECI142.9
    • Price$15.00 / $75.00
    • Context200K
  3. Our pick

    Google

    Gemini 2.5 Flash Preview 05-20

    Released May 20, 2025

    69/100
    • ECI141.6
    • Price$0.142 / $3.33
    • Context1.05M
  4. Anthropic

    Claude Opus 4

    Released May 22, 2025

    66/100
    • ECI142.9
    • Price$15.00 / $75.00
    • Context200K
  5. Add a model

    Make it a three-way comparison.

01 — Verdict

Gemini 2.5 Flash Preview 05-20 is our pick

Gemini 2.5 Flash Preview 05-20 is the better all-round choice, scoring 63/100 against Claude Opus 4 (46). It leads on price and context window. The score weighs capability 59%, price 29%, context window 12%.Gemini 2.5 Flash Preview 05-20 is the better all-round choice, scoring 69/100 against Claude Opus 4 (66). It leads on context window. The score weighs capability 83%, context window 17%.

  • CapabilityClaude Opus 4Capabilities Index (ECI): Claude Opus 4 142.9 · Gemini 2.5 Flash Preview 05-20 141.6
  • Lowest priceGemini 2.5 Flash Preview 05-20Gemini 2.5 Flash Preview 05-20 $0.938 · Claude Opus 4 $30.00 per 1M tokens (3:1 blend)
  • Longest contextGemini 2.5 Flash Preview 05-20Gemini 2.5 Flash Preview 05-20 1,048,576 · Claude Opus 4 200,000 tokens
  • Widest inputsGemini 2.5 Flash Preview 05-20Gemini 2.5 Flash Preview 05-20: Text, Images, PDFs, Audio, Video · Claude Opus 4: Text, Images, PDFs
  • Self-hostingNo confirmed open weightsBoth are available only through APIs
How the score is built
MeasureWeightGemini 2.5 Flash Preview 05-20Claude Opus 4
CapabilityCapabilities Index (ECI)59%7071
Price29%490
Context window12%6539
Overall100%63/10046/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

How the score is built
MeasureWeightGemini 2.5 Flash Preview 05-20Claude Opus 4
CapabilityCapabilities Index (ECI)83%7071
Context window17%6539
Overall100%69/10066/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

Gemini 2.5 Flash Preview 05-20 vs Claude Opus 4 specifications side by side
SpecificationGemini 2.5 Flash Preview 05-20GoogleClaude Opus 4Anthropic
Capability
Capabilities Index (ECI)141.6142.9 (best)
ECI rank#106 of 158#101 of 158 (best)
ECI confidence interval139.4–143.6141.3–144.4
ECI evaluation dateMay 20, 2025May 22, 2025
Documented capabilitiesPreview snapshot of Gemini 2.5 Flash with controllable thinking budgetsFlagship Claude model for deep reasoning, coding, and long-horizon agents
Model parametersNot publishedNot published
Output modalitiesTextText
GPQA DiamondGraduate-level science questionsNot published76.3%16K
OTIS Mock AIME 2024–2025Competition mathematics70.8% (best)64.4%27K
SWE-bench VerifiedFixing real GitHub issuesNot published70.7%
Publisher-reported benchmarks
Aider PolyglotPublisher-reported resultNot published72percent correctReported resultMay 25, 2025
Price per million tokens
Input$0.142 (best)$15.00
Output$3.33 (best)$75.00
Cached inputNot publishedNot published
Blended (3:1)$0.938 (best)$30.00
Long-context rateSame rateSame rate
Price sourceMedian of 1 providersMedian of 7 providers
Limits
Context window1,048,576 tokens (best)200,000 tokens
Max inputNot publishedNot published
Max output65,536 tokens (best)32,000 tokens
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesYes
AudioYesNo
VideoYesNo
ReasoningYesYes
Tool callingYesYes
Structured outputNot publishedNot published
File attachmentsYesYes
Temperature controlYesYes
Reasoning controlalwaysalways
Availability
WeightsProprietaryProprietary
API model IDNot publishedNot published
API providers18 (best)
ReleasedMay 20, 2025May 22, 2025
Knowledge cutoffJan 2025Mar 31, 2025
Publisher documentationNot publishedNot published
Source metadata updatedMay 20, 2025May 22, 2025
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 24, 2026Nov 24, 2026
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 Preview 05-20$8.07
  • Claude Opus 4$300.00
04 — Questions

Which should you choose?

Which is better: Gemini 2.5 Flash Preview 05-20 or Claude Opus 4?

Gemini 2.5 Flash Preview 05-20 is the better all-round choice, scoring 63/100 against Claude Opus 4 (46). It leads on price and context window. The score weighs capability 59%, price 29%, context window 12%.Gemini 2.5 Flash Preview 05-20 is the better all-round choice, scoring 69/100 against Claude Opus 4 (66). It leads on context window. The score weighs capability 83%, context window 17%.

Which is cheaper, Gemini 2.5 Flash Preview 05-20 or Claude Opus 4?

Gemini 2.5 Flash Preview 05-20 is cheaper at $0.142 input / $3.33 output per million tokens (median across 1 API provider). Claude Opus 4 costs $15.00 input / $75.00 output per million tokens (median across 7 API providers). At a typical mix of three input tokens to one output token, that is $0.938 per million tokens for Gemini 2.5 Flash Preview 05-20 versus $30.00 for Claude Opus 4 (32× as much).

Which scores higher on benchmarks?

Claude Opus 4 scores higher on the Capabilities Index (ECI): Claude Opus 4 142.9 (#101 of 158) and Gemini 2.5 Flash Preview 05-20 141.6 (#106 of 158). The confidence ranges of the top two overlap (141.3–144.4 vs 139.4–143.6), so treat the gap as small. On individual benchmarks: OTIS Mock AIME 2024–2025 — Gemini 2.5 Flash Preview 05-20 70.8%, Claude Opus 4 64.4%.

Which is better for coding?

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

Which has the bigger context window?

Gemini 2.5 Flash Preview 05-20 has the largest context window at 1,048,576 tokens, against 200,000 for Claude Opus 4. Maximum output per response: Gemini 2.5 Flash Preview 05-20 up to 65,536, Claude Opus 4 up to 32,000 tokens.

Which can read images, PDFs, audio or video?

Gemini 2.5 Flash Preview 05-20 accepts text, images, PDFs, audio and video; Claude Opus 4 accepts text, images and PDFs. Gemini 2.5 Flash Preview 05-20 handles the widest range of inputs.

Are any of these open source?

No. Gemini 2.5 Flash Preview 05-20 and Claude Opus 4 are proprietary and only available through APIs and apps.

Which is newer?

Claude Opus 4 is the newest, released May 22, 2025. Gemini 2.5 Flash Preview 05-20 came out May 20, 2025. Knowledge cutoff: Gemini 2.5 Flash Preview 05-20 Jan 2025, Claude Opus 4 Mar 31, 2025.

How do you decide the winner?

This rating uses capability (59%, independent benchmark results); price (29%, blended price per million tokens (3 input : 1 output), log scale); context window (12%, 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 24, 2026.This rating uses capability (83%, independent benchmark results); context window (17%, 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 24, 2026.