ZMIME
Comparison · 2 models · Updated Nov 24, 2026

Claude Opus 4 vs Gemini 2.5 Flash Preview 05-20

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. Anthropic

    Claude Opus 4

    Released May 22, 2025

    46/100
    • ECI142.9
    • Price$15.00 / $75.00
    • Context200K
  2. 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
  3. Anthropic

    Claude Opus 4

    Released May 22, 2025

    66/100
    • ECI142.9
    • Price$15.00 / $75.00
    • Context200K
  4. 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
  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-20Claude Opus 4: Text, Images, PDFs · Gemini 2.5 Flash Preview 05-20: Text, Images, PDFs, Audio, Video
  • Self-hostingNo confirmed open weightsBoth are available only through APIs
How the score is built
MeasureWeightClaude Opus 4Gemini 2.5 Flash Preview 05-20
CapabilityCapabilities Index (ECI)59%7170
Price29%049
Context window12%3965
Overall100%46/10063/100

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

How the score is built
MeasureWeightClaude Opus 4Gemini 2.5 Flash Preview 05-20
CapabilityCapabilities Index (ECI)83%7170
Context window17%3965
Overall100%66/10069/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.

Claude Opus 4 vs Gemini 2.5 Flash Preview 05-20 specifications side by side
SpecificationClaude Opus 4AnthropicGemini 2.5 Flash Preview 05-20Google
Capability
Capabilities Index (ECI)142.9 (best)141.6
ECI rank#101 of 158 (best)#106 of 158
ECI confidence interval141.3–144.4139.4–143.6
ECI evaluation dateMay 22, 2025May 20, 2025
Documented capabilitiesFlagship Claude model for deep reasoning, coding, and long-horizon agentsPreview snapshot of Gemini 2.5 Flash with controllable thinking budgets
Model parametersNot publishedNot published
Output modalitiesTextText
GPQA DiamondGraduate-level science questions76.3%16KNot published
OTIS Mock AIME 2024–2025Competition mathematics64.4%27K70.8% (best)
SWE-bench VerifiedFixing real GitHub issues70.7%Not published
Publisher-reported benchmarks
Aider PolyglotPublisher-reported result72percent correctReported resultMay 25, 2025Not published
Price per million tokens
Input$15.00$0.142 (best)
Output$75.00$3.33 (best)
Cached inputNot publishedNot published
Blended (3:1)$30.00$0.938 (best)
Long-context rateSame rateSame rate
Price sourceMedian of 7 providersMedian of 1 providers
Limits
Context window200,000 tokens1,048,576 tokens (best)
Max inputNot publishedNot published
Max output32,000 tokens65,536 tokens (best)
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesYes
AudioNoYes
VideoNoYes
ReasoningYesYes
Tool callingYesYes
Structured outputNot publishedNot published
File attachmentsYesYes
Temperature controlYesYes
Reasoning controlalwaysalways
Availability
WeightsProprietaryProprietary
API model IDNot publishedNot published
API providers8 (best)1
ReleasedMay 22, 2025May 20, 2025
Knowledge cutoffMar 31, 2025Jan 2025
Publisher documentationNot publishedNot published
Source metadata updatedMay 22, 2025May 20, 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.

  • Claude Opus 4$300.00
  • Gemini 2.5 Flash Preview 05-20$8.07
04 — Questions

Which should you choose?

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

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, Claude Opus 4 or Gemini 2.5 Flash Preview 05-20?

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: Claude Opus 4 up to 32,000, Gemini 2.5 Flash Preview 05-20 up to 65,536 tokens.

Which can read images, PDFs, audio or video?

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

Are any of these open source?

No. Claude Opus 4 and Gemini 2.5 Flash Preview 05-20 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: Claude Opus 4 Mar 31, 2025, Gemini 2.5 Flash Preview 05-20 Jan 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.