Claude Sonnet 4 vs Claude Haiku 4.5 vs Gemini 2.5 Pro
Gemini 2.5 Pro comes out ahead, 63 to 58 and 51 on our weighted score, though Claude Haiku 4.5 is 42% cheaper per token.
Anthropic
Claude Sonnet 4
51/100- ECI141.7
- Price$3.00 / $15.00
- Context200K
Anthropic
Claude Haiku 4.5
58/100- ECI142.4
- Price$1.00 / $5.00
- Context200K
- Our pick
Google
Gemini 2.5 Pro
63/100- ECI145.3
- Price$1.25 / $10.00
- Context1.05M
Gemini 2.5 Pro is our pick
Gemini 2.5 Pro is the better all-round choice, scoring 63/100 against Claude Haiku 4.5 (58) and Claude Sonnet 4 (51). It leads on capability, inputs & features and context window. Claude Haiku 4.5 wins on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
- CapabilityGemini 2.5 ProCapabilities Index (ECI): Gemini 2.5 Pro 145.3 · Claude Haiku 4.5 142.4 · Claude Sonnet 4 141.7
- Lowest priceClaude Haiku 4.5Claude Haiku 4.5 $2.00 · Gemini 2.5 Pro $3.44 · 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 · Claude Haiku 4.5 200,000 tokens
- Widest inputsGemini 2.5 ProClaude Sonnet 4: Text, Images, PDFs · Claude Haiku 4.5: Text, Images, PDFs · Gemini 2.5 Pro: Text, Images, PDFs, Audio, Video
- Self-hostingNo open weightsAll three are available only through APIs
| Measure | Weight | Claude Sonnet 4 | Claude Haiku 4.5 | Gemini 2.5 Pro |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 68 | 69 | 72 |
| Price | 25% | 13 | 36 | 24 |
| Inputs & features | 15% | 70 | 80 | 100 |
| Context window | 10% | 32 | 32 | 61 |
| Overall | 100% | 51/100 | 58/100 | 63/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 141.7 | 142.4 | 145.3 (best) |
| ECI rank | #94 of 148 | #90 of 148 | #78 of 148 (best) |
| GPQA DiamondGraduate-level science questions | 79.2% | 71.2% | 85.3% (best) |
| FrontierMath Tiers 1–3Research-level mathematics | — | — | 24.6% |
| OTIS Mock AIME 2024–2025Competition mathematics | 71.1% | 66.7% | 84.7% (best) |
| SWE-bench VerifiedFixing real GitHub issues | — | — | 57.6% |
| SimpleQA VerifiedShort factual questions | — | 13.2% | — |
| Price per million tokens | |||
| Input | $3.00 | $1.00 (best) | $1.25 |
| Output | $15.00 | $5.00 (best) | $10.00 |
| Cached input | — | $0.10 (best) | $0.125 |
| Blended (3:1) | $6.00 | $2.00 (best) | $3.44 |
| Long-context rate | Same rate | Same rate | Over 200K: $2.50 / $15.00 |
| Price source | Median of 9 providers | Official Anthropic API | Official Google API |
| Limits | |||
| Context window | 200,000 tokens | 200,000 tokens | 1,048,576 tokens (best) |
| Max output | 64,000 tokens | 64,000 tokens | 65,536 tokens (best) |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | Yes |
| PDFs | Yes | Yes | Yes |
| Audio | No | No | Yes |
| Video | No | No | Yes |
| Reasoning | Yes | Yes | Yes |
| Tool calling | Yes | Yes | Yes |
| Structured output | No | Yes | Yes |
| Availability | |||
| Weights | Proprietary | Proprietary | Proprietary |
| API model ID | — | claude-haiku-4-5 | gemini-2.5-pro |
| API providers | 9 | 34 (best) | 22 |
| Released | May 22, 2025 | Oct 15, 2025 | Jun 17, 2025 |
| Knowledge cutoff | Mar 31, 2025 | Feb 28, 2025 | Jan 2025 |
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
Claude Haiku 4.5$20.00
Gemini 2.5 Pro$32.50
Which should you choose?
Which is better: Claude Sonnet 4, Claude Haiku 4.5 or Gemini 2.5 Pro?
Gemini 2.5 Pro is the better all-round choice, scoring 63/100 against Claude Haiku 4.5 (58) and Claude Sonnet 4 (51). It leads on capability, inputs & features and context window. Claude Haiku 4.5 wins on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
Which is cheaper, Claude Sonnet 4, Claude Haiku 4.5 or Gemini 2.5 Pro?
Claude Haiku 4.5 is cheaper at $1.00 input / $5.00 output per million tokens (official Anthropic API price). Gemini 2.5 Pro costs $1.25 input / $10.00 output per million tokens (official Google API price); Claude Sonnet 4 costs $3.00 input / $15.00 output per million tokens (median across 9 API providers). At a typical mix of three input tokens to one output token, that is $2.00 per million tokens for Claude Haiku 4.5 versus $3.44 for Gemini 2.5 Pro (1.7× as much) and $6.00 for Claude Sonnet 4 (3× as much).
Which scores higher on benchmarks?
Gemini 2.5 Pro scores higher on the Capabilities Index (ECI): Gemini 2.5 Pro 145.3 (#78 of 148), Claude Haiku 4.5 142.4 (#90 of 148) and Claude Sonnet 4 141.7 (#94 of 148). The confidence ranges of the top two overlap (143.6–146.9 vs 139.5–144.3), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemini 2.5 Pro 85.3%, Claude Sonnet 4 79.2%, Claude Haiku 4.5 71.2%; OTIS Mock AIME 2024–2025 — Gemini 2.5 Pro 84.7%, Claude Sonnet 4 71.1%, Claude Haiku 4.5 66.7%.
Which is better for coding?
There are no published SWE-bench Verified results for Claude Sonnet 4 and Claude Haiku 4.5 yet, so there is no like-for-like coding score. On overall capability, Gemini 2.5 Pro 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 Claude Haiku 4.5. Maximum output per response: Claude Sonnet 4 up to 64,000, Claude Haiku 4.5 up to 64,000, Gemini 2.5 Pro up to 65,536 tokens.
Which can read images, PDFs, audio or video?
Claude Sonnet 4 accepts text, images and PDFs; Claude Haiku 4.5 accepts text, images and PDFs; Gemini 2.5 Pro accepts text, images, PDFs, audio and video. Gemini 2.5 Pro handles the widest range of inputs.
Are any of these open source?
No. Claude Sonnet 4, Claude Haiku 4.5 and Gemini 2.5 Pro are proprietary and only available through APIs and apps.
Which is newer?
Claude Haiku 4.5 is the newest, released Oct 15, 2025. Gemini 2.5 Pro came out Jun 17, 2025; Claude Sonnet 4 came out May 22, 2025. Knowledge cutoff: Claude Sonnet 4 Mar 31, 2025, Claude Haiku 4.5 Feb 28, 2025, Gemini 2.5 Pro Jan 2025.
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.