ZMIME
Comparison · 3 models · Updated Nov 18, 2026

Claude Sonnet 4 vs Gemini 2.5 Pro vs o3

Gemini 2.5 Pro comes out ahead, 64 to 59 and 52 on our weighted score, and it is the cheaper option too.

Price in rating: Included · Exclude price

  1. Anthropic

    Claude Sonnet 4

    Released May 22, 2025

    52/100
    • ECI141.9
    • Price$3.00 / $15.00
    • Context200K
  2. Our pick

    Google

    Gemini 2.5 Pro

    Released Jun 17, 2025

    64/100
    • ECI144.9
    • Price$1.25 / $10.00
    • Context1.05M
  3. OpenAI

    o3

    Released Apr 16, 2025

    59/100
    • ECI147.1
    • Price$2.00 / $8.00
    • Context200K
01 — Verdict

Gemini 2.5 Pro is our pick

Gemini 2.5 Pro is the better all-round choice, scoring 64/100 against o3 (59) and Claude Sonnet 4 (52). It leads on inputs & features and context window. o3 wins on capability. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • Capabilityo3Capabilities Index (ECI): o3 147.1 · Gemini 2.5 Pro 144.9 · Claude Sonnet 4 141.9
  • Lowest priceGemini 2.5 ProGemini 2.5 Pro $3.44 · o3 $3.50 · Claude Sonnet 4 $6.00 per 1M tokens (3:1 blend)
  • Longest contextGemini 2.5 ProGemini 2.5 Pro 1,048,576 · Claude Sonnet 4 200,000 · o3 200,000 tokens
  • Widest inputsGemini 2.5 ProClaude Sonnet 4: Text, Images, PDFs · Gemini 2.5 Pro: Text, Images, PDFs, Audio, Video · o3: Text, Images, PDFs
  • Self-hostingNo confirmed open weightsAll three are available only through APIs
How the score is built
MeasureWeightClaude Sonnet 4Gemini 2.5 Proo3
CapabilityCapabilities Index (ECI)50%707375
Price25%122323
Inputs & features15%7010080
Context window10%396539
Overall100%52/10064/10059/100
02 — Side by side

Every spec in one table

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

Claude Sonnet 4 vs Gemini 2.5 Pro vs o3 specifications side by side
SpecificationClaude Sonnet 4AnthropicGemini 2.5 ProGoogleo3OpenAI
Capability
Capabilities Index (ECI)141.9144.9147.1 (best)
ECI rank#104 of 158#92 of 158#81 of 158 (best)
GPQA DiamondGraduate-level science questions79.2%85.3% (best)81.8%
FrontierMath Tiers 1–3Research-level mathematics—24.6%33.3% (best)
OTIS Mock AIME 2024–2025Competition mathematics71.1%84.7% (best)84.4%
SWE-bench VerifiedFixing real GitHub issues—57.6%62.3% (best)
SimpleQA VerifiedShort factual questions——49.4%
Price per million tokens
Input$3.00$1.25 (best)$2.00
Output$15.00$10.00$8.00 (best)
Cached input—$0.125 (best)$0.50
Blended (3:1)$6.00$3.44 (best)$3.50
Long-context rateSame rateOver 200K: $2.50 / $15.00Same rate
Price sourceMedian of 10 providersOfficial Google APIOfficial OpenAI API
Limits
Context window200,000 tokens1,048,576 tokens (best)200,000 tokens
Max output64,000 tokens65,536 tokens100,000 tokens (best)
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsYesYesYes
AudioNoYesNo
VideoNoYesNo
ReasoningYesYesYeslow · medium · high
Tool callingYesYesYes
Structured outputNoYesYes
Availability
WeightsProprietaryProprietaryProprietary
API model ID—gemini-2.5-proo3
API providers1131 (best)23
ReleasedMay 22, 2025Jun 17, 2025Apr 16, 2025
Knowledge cutoffMar 31, 2025Jan 2025May 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.

  • Claude Sonnet 4$60.00
  • Gemini 2.5 Pro$32.50
  • o3$36.00
04 — Questions

Which should you choose?

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

Gemini 2.5 Pro is the better all-round choice, scoring 64/100 against o3 (59) and Claude Sonnet 4 (52). It leads on inputs & features and context window. o3 wins on capability. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

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

Gemini 2.5 Pro is cheaper at $1.25 input / $10.00 output per million tokens (official Google API price). o3 costs $2.00 input / $8.00 output per million tokens (official OpenAI 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 $3.44 per million tokens for Gemini 2.5 Pro versus $3.50 for o3 (1× as much) and $6.00 for Claude Sonnet 4 (1.7× as much).

Which scores higher on benchmarks?

o3 scores higher on the Capabilities Index (ECI): o3 147.1 (#81 of 158), Gemini 2.5 Pro 144.9 (#92 of 158) and Claude Sonnet 4 141.9 (#104 of 158). The confidence ranges of the top two overlap (145.6–148.6 vs 143.5–146.3), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemini 2.5 Pro 85.3%, o3 81.8%, Claude Sonnet 4 79.2%; OTIS Mock AIME 2024–2025 — Gemini 2.5 Pro 84.7%, o3 84.4%, Claude Sonnet 4 71.1%.

Which is better for coding?

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

Which can read images, PDFs, audio or video?

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

Are any of these open source?

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

Which is newer?

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

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.