ZMIME
Comparison · 3 models · Updated Oct 4, 2026

Gemini 2.0 Flash vs Claude Opus 4 vs Claude Sonnet 3.5 v2

Too close to call on our weighted score (Gemini 2.0 Flash 65, Claude Opus 4 64, Claude Sonnet 3.5 v2 54). The right pick depends on what you value most.

  1. Google

    Gemini 2.0 Flash

    Released Dec 11, 2024

    65/100
    • ECI134.7
    • Price—
    • Context1.05M
  2. Anthropic

    Claude Opus 4

    Released May 22, 2025

    64/100
    • ECI142.7
    • Price$15.00 / $75.00
    • Context200K
  3. Anthropic

    Claude Sonnet 3.5 v2

    Released Oct 22, 2024

    54/100
    • ECI133.5
    • Price$3.00 / $15.00
    • Context200K
01 — Verdict

Too close to call

It is close. Our weighted score puts them within 1 points (Gemini 2.0 Flash 65/100, Claude Opus 4 64/100, Claude Sonnet 3.5 v2 54/100), so choose by what matters most for your work: Claude Opus 4 for raw capability, Claude Sonnet 3.5 v2 on price and Gemini 2.0 Flash for long inputs. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityClaude Opus 4Capabilities Index (ECI): Claude Opus 4 142.7 · Gemini 2.0 Flash 134.7 · Claude Sonnet 3.5 v2 133.5
  • Lowest priceClaude Sonnet 3.5 v2Claude Sonnet 3.5 v2 $6.00 · Claude Opus 4 $30.00 per 1M tokens (3:1 blend) · Gemini 2.0 Flash unpriced
  • Longest contextGemini 2.0 FlashGemini 2.0 Flash 1,048,576 · Claude Opus 4 200,000 · Claude Sonnet 3.5 v2 200,000 tokens
  • Widest inputsGemini 2.0 FlashGemini 2.0 Flash: Text, Images, PDFs, Audio, Video · Claude Opus 4: Text, Images, PDFs · Claude Sonnet 3.5 v2: Text, Images, PDFs
  • Self-hostingNo open weightsAll three are available only through APIs
How the score is built
MeasureWeightGemini 2.0 FlashClaude Opus 4Claude Sonnet 3.5 v2
CapabilityCapabilities Index (ECI)67%596957
Inputs & features20%907060
Context window13%613232
Overall100%65/10064/10054/100

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

02 — Side by side

Every spec in one table

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

Gemini 2.0 Flash vs Claude Opus 4 vs Claude Sonnet 3.5 v2 specifications side by side
SpecificationGemini 2.0 FlashGoogleClaude Opus 4AnthropicClaude Sonnet 3.5 v2Anthropic
Capability
Capabilities Index (ECI)134.7142.7 (best)133.5
ECI rank#116 of 148#87 of 148 (best)#119 of 148
GPQA DiamondGraduate-level science questions—76.3% (best)55.3%
OTIS Mock AIME 2024–2025Competition mathematics—64.4% (best)8.5%
SWE-bench VerifiedFixing real GitHub issues—70.7%—
Price per million tokens
Input—$15.00$3.00 (best)
Output—$75.00$15.00 (best)
Cached input———
Blended (3:1)—$30.00$6.00 (best)
Long-context rate—Same rateSame rate
Price source—Median of 5 providersMedian of 1 providers
Limits
Context window1,048,576 tokens (best)200,000 tokens200,000 tokens
Max output8,192 tokens32,000 tokens (best)8,192 tokens
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsYesYesYes
AudioYesNoNo
VideoYesNoNo
ReasoningNoYesNo
Tool callingYesYesYes
Structured outputYesNoNo
Availability
WeightsProprietaryProprietaryProprietary
API model ID———
API providers—5 (best)1
ReleasedDec 11, 2024May 22, 2025Oct 22, 2024
Knowledge cutoffJun 2024Mar 31, 2025Apr 30, 2024
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.0 Flash—
  • Claude Opus 4$300.00
  • Claude Sonnet 3.5 v2$60.00
04 — Questions

Which should you choose?

Which is better: Gemini 2.0 Flash, Claude Opus 4 or Claude Sonnet 3.5 v2?

It is close. Our weighted score puts them within 1 points (Gemini 2.0 Flash 65/100, Claude Opus 4 64/100, Claude Sonnet 3.5 v2 54/100), so choose by what matters most for your work: Claude Opus 4 for raw capability, Claude Sonnet 3.5 v2 on price and Gemini 2.0 Flash for long inputs. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, Gemini 2.0 Flash, Claude Opus 4 or Claude Sonnet 3.5 v2?

Claude Sonnet 3.5 v2 is cheaper at $3.00 input / $15.00 output per million tokens (median across 1 API provider). Claude Opus 4 costs $15.00 input / $75.00 output per million tokens (median across 5 API providers). At a typical mix of three input tokens to one output token, that is $6.00 per million tokens for Claude Sonnet 3.5 v2 versus $30.00 for Claude Opus 4 (5× as much). Gemini 2.0 Flash has no published per-token price.

Which scores higher on benchmarks?

Claude Opus 4 scores higher on the Capabilities Index (ECI): Claude Opus 4 142.7 (#87 of 148), Gemini 2.0 Flash 134.7 (#116 of 148) and Claude Sonnet 3.5 v2 133.5 (#119 of 148). Their confidence ranges do not overlap (140.2–144.2 vs 124.3–136.7), so the gap is a real one.

Which is better for coding?

There are no published SWE-bench Verified results for Gemini 2.0 Flash and Claude Sonnet 3.5 v2 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. All three support tool calling for agent workflows.

Which has the bigger context window?

Gemini 2.0 Flash has the largest context window at 1,048,576 tokens, against 200,000 for Claude Opus 4 and 200,000 for Claude Sonnet 3.5 v2. Maximum output per response: Gemini 2.0 Flash up to 8,192, Claude Opus 4 up to 32,000, Claude Sonnet 3.5 v2 up to 8,192 tokens.

Which can read images, PDFs, audio or video?

Gemini 2.0 Flash accepts text, images, PDFs, audio and video; Claude Opus 4 accepts text, images and PDFs; Claude Sonnet 3.5 v2 accepts text, images and PDFs. Gemini 2.0 Flash handles the widest range of inputs.

Are any of these open source?

No. Gemini 2.0 Flash, Claude Opus 4 and Claude Sonnet 3.5 v2 are proprietary and only available through APIs and apps.

Which is newer?

Claude Opus 4 is the newest, released May 22, 2025. Gemini 2.0 Flash came out Dec 11, 2024; Claude Sonnet 3.5 v2 came out Oct 22, 2024. Knowledge cutoff: Gemini 2.0 Flash Jun 2024, Claude Opus 4 Mar 31, 2025, Claude Sonnet 3.5 v2 Apr 30, 2024.

How do you decide the winner?

Each model gets a 0–100 score on capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, 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 Oct 4, 2026.