Claude Sonnet 4.5 vs Gemini 2.5 Pro
Benchmarks, API pricing and specs, head to head. Data updated 2026-06-10.
Claude Sonnet 4.5
65.5Anthropic · Sep 2025
The model that made 30-hour autonomous coding sessions real — 77.2% SWE-bench Verified and a 1M-token context beta at $3/$15.
Gemini 2.5 Pro
70.9Google · Mar 2025
Google's 2025 workhorse flagship — first mainstream thinking model with a 1M context, still widely deployed.
The verdict
Gemini 2.5 Pro wins 4 of the 5 benchmarks these models share, against 1 for Claude Sonnet 4.5. Gemini 2.5 Pro is about 1.7x cheaper per blended million tokens (3:1 input:output mix). Gemini 2.5 Pro also takes 1.0M of context versus 200K for Claude Sonnet 4.5.
Benchmark head-to-head 1–4
Specs & pricing
| Claude Sonnet 4.5 | Gemini 2.5 Pro | |
|---|---|---|
| modhub Index | 65.5 | 70.9 |
| Input price / 1M | $3 | $1.25 |
| Output price / 1M | $15 | $10 |
| Context window | 200K | 1.0M |
| Max output | 64K | 66K |
| Open weights | no | no |
| Reasoning model | yes | yes |
| Multimodal input | text, image | text, image, audio, video |
| Knowledge cutoff | Jan 2025 | Jan 2025 |
| Released | Sep 2025 | Mar 2025 |
| Example monthly cost* | $52.50 | $27.50 |
* 10M input + 1.5M output tokens per month at list prices, no caching. Green = better value on that row.
Frequently asked questions
- Which is better, Claude Sonnet 4.5 or Gemini 2.5 Pro?
- Gemini 2.5 Pro wins 4 of the 5 benchmarks these models share, against 1 for Claude Sonnet 4.5. Gemini 2.5 Pro is about 1.7x cheaper per blended million tokens (3:1 input:output mix). Gemini 2.5 Pro also takes 1.0M of context versus 200K for Claude Sonnet 4.5.
- Which is cheaper, Claude Sonnet 4.5 or Gemini 2.5 Pro?
- Claude Sonnet 4.5 costs $3/$15 per million input/output tokens, while Gemini 2.5 Pro costs $1.25/$10. For a typical workload of 10M input and 1.5M output tokens per month, that's $52.50 versus $27.50.
- Which model is better for coding, Claude Sonnet 4.5 or Gemini 2.5 Pro?
- On SWE-bench Verified — the standard agentic-coding benchmark — Claude Sonnet 4.5 scores 77.2% versus 63.8% for Gemini 2.5 Pro, making Claude Sonnet 4.5 the stronger pick for coding agents.
More comparisons
Claude Sonnet 4.5 vs GPT-5.5Gemini 2.5 Pro vs GPT-5.5Claude Sonnet 4.5 vs GPT-5.2Gemini 2.5 Pro vs GPT-5.2Claude Sonnet 4.5 vs GPT-5.1Gemini 2.5 Pro vs GPT-5.1Claude Sonnet 4.5 vs GPT-5Gemini 2.5 Pro vs GPT-5Claude Sonnet 4.5 vs GPT-5 miniGemini 2.5 Pro vs GPT-5 miniClaude Sonnet 4.5 vs OpenAI o3Gemini 2.5 Pro vs OpenAI o3