ZMIME
Comparison · 2 models · Updated Nov 18, 2026

Claude Sonnet 5 vs Gemini 3.5 Flash

Gemini 3.5 Flash comes out ahead, 69 to 65 on our weighted score, and it is the cheaper option too.

Price in rating: Included · Exclude price

  1. Anthropic

    Claude Sonnet 5

    Released Jun 30, 2026

    65/100
    • ECI156.9
    • Price$2.00 / $10.00
    • Context1M
  2. Our pick

    Google

    Gemini 3.5 Flash

    Released May 19, 2026

    69/100
    • ECI155.4
    • Price$1.50 / $9.00
    • Context1.05M
  3. Add a model

    Make it a three-way comparison.

01 — Verdict

Gemini 3.5 Flash is our pick

Gemini 3.5 Flash is the better all-round choice, scoring 69/100 against Claude Sonnet 5 (65). It leads on price and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • CapabilityClaude Sonnet 5Capabilities Index (ECI): Claude Sonnet 5 156.9 · Gemini 3.5 Flash 155.4
  • Lowest priceGemini 3.5 FlashGemini 3.5 Flash $3.38 · Claude Sonnet 5 $4.00 per 1M tokens (3:1 blend)
  • Longest contextGemini 3.5 FlashGemini 3.5 Flash 1,048,576 · Claude Sonnet 5 1,000,000 tokens
  • Widest inputsGemini 3.5 FlashClaude Sonnet 5: Text, Images, PDFs · Gemini 3.5 Flash: Text, Images, PDFs, Audio, Video
  • Self-hostingNo confirmed open weightsBoth are available only through APIs
How the score is built
MeasureWeightClaude Sonnet 5Gemini 3.5 Flash
CapabilityCapabilities Index (ECI)50%8482
Price25%2024
Inputs & features15%80100
Context window10%6465
Overall100%65/10069/100
02 — Side by side

Every spec in one table

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

Claude Sonnet 5 vs Gemini 3.5 Flash specifications side by side
SpecificationClaude Sonnet 5AnthropicGemini 3.5 FlashGoogle
Capability
Capabilities Index (ECI)156.9 (best)155.4
ECI rank#35 of 158 (best)#44 of 158
GPQA DiamondGraduate-level science questions90.5%92.8% (best)
FrontierMath Tiers 1–3Research-level mathematics65.6% (best)62.8%
OTIS Mock AIME 2024–2025Competition mathematics94.7%95.6% (best)
SWE-bench VerifiedFixing real GitHub issues—79.3%
SimpleQA VerifiedShort factual questions33.7%66.2% (best)
Price per million tokens
Input$2.00$1.50 (best)
Output$10.00$9.00 (best)
Cached input$0.20$0.15 (best)
Blended (3:1)$4.00$3.38 (best)
Long-context rateSame rateSame rate
Price sourceOfficial Anthropic APIOfficial Google API
Limits
Context window1,000,000 tokens1,048,576 tokens (best)
Max output128,000 tokens (best)65,536 tokens
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesYes
AudioNoYes
VideoNoYes
ReasoningYeslow · medium · high · xhigh · maxYesminimal · low · medium · high
Tool callingYesYes
Structured outputYesYes
Availability
WeightsProprietaryProprietary
API model IDclaude-sonnet-5gemini-3.5-flash
API providers55 (best)34
ReleasedJun 30, 2026May 19, 2026
Knowledge cutoffJan 31, 2026Jan 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.

  • Claude Sonnet 5$40.00
  • Gemini 3.5 Flash$33.00
04 — Questions

Which should you choose?

Which is better: Claude Sonnet 5 or Gemini 3.5 Flash?

Gemini 3.5 Flash is the better all-round choice, scoring 69/100 against Claude Sonnet 5 (65). It leads on price and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, Claude Sonnet 5 or Gemini 3.5 Flash?

Gemini 3.5 Flash is cheaper at $1.50 input / $9.00 output per million tokens (official Google API price). Claude Sonnet 5 costs $2.00 input / $10.00 output per million tokens (official Anthropic API price). At a typical mix of three input tokens to one output token, that is $3.38 per million tokens for Gemini 3.5 Flash versus $4.00 for Claude Sonnet 5 (1.2× as much).

Which scores higher on benchmarks?

Claude Sonnet 5 scores higher on the Capabilities Index (ECI): Claude Sonnet 5 156.9 (#35 of 158) and Gemini 3.5 Flash 155.4 (#44 of 158). The confidence ranges of the top two overlap (154.9–159.1 vs 153.5–157.4), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemini 3.5 Flash 92.8%, Claude Sonnet 5 90.5%; FrontierMath Tiers 1–3 — Claude Sonnet 5 65.6%, Gemini 3.5 Flash 62.8%; OTIS Mock AIME 2024–2025 — Gemini 3.5 Flash 95.6%, Claude Sonnet 5 94.7%; SimpleQA Verified — Gemini 3.5 Flash 66.2%, Claude Sonnet 5 33.7%.

Which is better for coding?

There are no published SWE-bench Verified results for Claude Sonnet 5 yet, so there is no like-for-like coding score. On overall capability, Claude Sonnet 5 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 3.5 Flash has the largest context window at 1,048,576 tokens, against 1,000,000 for Claude Sonnet 5. Maximum output per response: Claude Sonnet 5 up to 128,000, Gemini 3.5 Flash up to 65,536 tokens.

Which can read images, PDFs, audio or video?

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

Are any of these open source?

No. Claude Sonnet 5 and Gemini 3.5 Flash are proprietary and only available through APIs and apps.

Which is newer?

Claude Sonnet 5 is the newest, released Jun 30, 2026. Gemini 3.5 Flash came out May 19, 2026. Knowledge cutoff: Claude Sonnet 5 Jan 31, 2026, Gemini 3.5 Flash Jan 2025.

How do you decide the winner?

This rating uses 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 Nov 18, 2026.