head-to-head
| Metric | Claude Sonnet 5 | Gemini 3.1 Pro |
|---|---|---|
| SWE-bench Verified | 85.2% | 80.6% |
| SWE-bench Pro | 63.2% | 54.2% |
| Terminal-Bench | 80.4% (TB2.1) | — |
| Input $ / 1M | $2 | — |
| Context | 1M | — |
| Open weights | No | No |
| Maker | Anthropic | Google DeepMind |
when to pick each
The best closed-model value — near-Opus scores at ~2.5× less, and the default daily driver for most developers.
Google's strongest coding model today, with deep Workspace/Cloud integration. (A 3.5 Pro is expected but not shipped.)
Full reviewsClaude Sonnet 5, decoded
Ranked on our AI Coding Leaderboard, updated 2026-07-02. Scores are confirmed against primary sources; prices are per 1M input tokens and can change.
- AnthropicGENZ TECH — Claude Sonnet 5, decoded — Anthropic-reported. Intro pricing $2/$10 per 1M through Aug 31, 2026, then $3/$15.
- Google DeepMindGoogle DeepMind — Gemini Pro — DeepMind-reported pass rate; ties DeepSeek V4 on Verified, trails it on Pro.
- BenchmarkSWE-bench — the real-GitHub-issue benchmark