# Claude Sonnet 5 vs Gemini 3.1 Pro

> Side-by-side benchmark comparison for Claude Sonnet 5 and Gemini 3.1 Pro across agentic, coding, multimodal, knowledge, reasoning, multilingual, and math tasks.

- Canonical page: https://benchlm.ai/compare/claude-sonnet-5-vs-gemini-3-1-pro
- Last updated: September 29, 2026

- Shared sourced benchmarks: 7
- HTML indexing: indexable
- Ranking lane: BenchAlign v5.7

## Quick Verdict

Pick Claude Sonnet 5 if you want the stronger benchmark profile. Gemini 3.1 Pro only makes more sense when its price, context window, or workload-specific category wins matter more than the overall score.

## Summary

- Claude Sonnet 5 leads overall 66.99 to 64.48.
- The clearest category separation is in agentic, where the averages are 64.6 for Claude Sonnet 5 and 40.3 for Gemini 3.1 Pro.
- The biggest single benchmark swing is CharXiv in Multimodal & Grounded, with scores of 88.3% and 80.2%.
- Claude Sonnet 5 is the cheaper option on output tokens, which matters if you expect large responses or heavy interactive use.

## Model Snapshot

| Property | Claude Sonnet 5 | Gemini 3.1 Pro |
|----------|----------|----------|
| Creator | Anthropic | Google |
| Type | Proprietary | Proprietary |
| Reasoning | Reasoning | Reasoning |
| Context | 1M | 1M |
| Overall Score | 66.99 | 64.48 |
| Benchmarks Covered | 26 | 28 |
| Pricing (input/output) | $2.00 / $10.00 | $2.00 / $12.00 |

## Category Breakdown

### Agentic

- Winner: Claude Sonnet 5
- Claude Sonnet 5 public-lane score: 64.6 (Supported · #12/117)
- Gemini 3.1 Pro public-lane score: 40.3 (Supported · #55/117)

| Benchmark | Claude Sonnet 5 | Gemini 3.1 Pro | Winner |
|-----------|-----------|-----------|--------|
| Terminal-Bench 3.0 | 14.6% | Coming soon | Coming soon |
| Terminal-Bench 2.1 | 80.4% | Coming soon | Coming soon |
| BrowseComp | 84.7% | Coming soon | Coming soon |
| HLE w/ tools | 57.4% | Coming soon | Coming soon |
| OSWorld-Verified | 81.2% | Coming soon | Coming soon |
| Terminal-Bench 2.1 (Vals) | 74.5% | 70.8% | Claude Sonnet 5 |
| ApprenticeBench | 16% | Coming soon | Coming soon |
| Claw-Eval | Coming soon | 57.8% | Coming soon |
| DeepSearchQA | Coming soon | 69.7% | Coming soon |
| τ²-bench results | Coming soon | 95.6% | Coming soon |
| Gert Labs | Coming soon | 56.87% | Coming soon |
| ResearchClawBench | Coming soon | 13.3% | Coming soon |

### Coding

- Winner: Claude Sonnet 5
- Claude Sonnet 5 public-lane score: 59.8 (Supported · #19/142)
- Gemini 3.1 Pro public-lane score: 42.3 (Supported · #57/142)

| Benchmark | Claude Sonnet 5 | Gemini 3.1 Pro | Winner |
|-----------|-----------|-----------|--------|
| SWE-bench Verified | 85.2% | Coming soon | Coming soon |
| SWE-bench Pro | 63.2% | Coming soon | Coming soon |
| SWE Multilingual | 78.3% | Coming soon | Coming soon |
| SWE Multimodal | 28.1% | Coming soon | Coming soon |
| Terminal-Bench 2.1 | 80.4% | Coming soon | Coming soon |
| FrontierCode 1.1 Main | 42.7% | Coming soon | Coming soon |
| cursorBench32 | 61.5% | Coming soon | Coming soon |
| VulcanBench CII v1 | 89.2% | Coming soon | Coming soon |
| LiveCodeBench (Vals) | 82.4% | 88.5% | Gemini 3.1 Pro |
| SWE-bench (Vals) | 79.6% | 78.8% | Claude Sonnet 5 |
| cursorBench40 | 34.1% | Coming soon | Coming soon |
| LiveCodeBench Pro | Coming soon | 82.9% | Coming soon |
| React Native Evals | Coming soon | 78.9% | Coming soon |
| Vibe Code Bench | Coming soon | 32.03% | Coming soon |

### Reasoning

- Winner: Not comparable
- Claude Sonnet 5 public-lane score: 78.7 (Unranked · 2 rankable rows)
- Gemini 3.1 Pro public-lane score: 54.5 (Unranked · 2 rankable rows)

| Benchmark | Claude Sonnet 5 | Gemini 3.1 Pro | Winner |
|-----------|-----------|-----------|--------|
| ARC-AGI-2 | Coming soon | 77.1% | Coming soon |
| ARC-AGI-3 | Coming soon | 0.4% | Coming soon |

### Multimodal & Grounded

- Winner: Directional only
- Claude Sonnet 5 public-lane score: 78.4 (#15/50)
- Gemini 3.1 Pro public-lane score: 80.1 (#13/50)

| Benchmark | Claude Sonnet 5 | Gemini 3.1 Pro | Winner |
|-----------|-----------|-----------|--------|
| CharXiv | 88.3% | 80.2% | Claude Sonnet 5 |
| CharXiv w/o tools | 77% | Coming soon | Coming soon |
| MMMU-Pro | Coming soon | 83.9% | Coming soon |
| ERQA | Coming soon | 69.4% | Coming soon |
| SimpleVQA | Coming soon | 72.4% | Coming soon |
| ScreenSpot Pro | Coming soon | 84.4% | Coming soon |
| ZeroBench | Coming soon | 29.0% | Coming soon |
| MedXpertQA (MM) | Coming soon | 81.3% | Coming soon |

### Knowledge

- Winner: Gemini 3.1 Pro
- Claude Sonnet 5 public-lane score: 64.5 (Supported · #26/168)
- Gemini 3.1 Pro public-lane score: 66.6 (Supported · #21/168)

| Benchmark | Claude Sonnet 5 | Gemini 3.1 Pro | Winner |
|-----------|-----------|-----------|--------|
| HLE | 57.4% | Coming soon | Coming soon |
| HLE w/o tools | 43.2% | 45.4% | Gemini 3.1 Pro |
| HLE-Verified | 31.0% | Coming soon | Coming soon |
| LABBench2 | 80.1% | Coming soon | Coming soon |
| GPQA Diamond (Vals) | 88.9% | 95.5% | Gemini 3.1 Pro |
| MMLU-Pro (Vals) | 87.5% | 91.0% | Gemini 3.1 Pro |
| GPQA-D | Coming soon | 94.3% | Coming soon |
| HealthBench Hard | Coming soon | 20.6% | Coming soon |
| MedXpertQA (Text) | Coming soon | 71.5% | Coming soon |

### Mathematics

- Winner: Not comparable
- Claude Sonnet 5 public-lane score: Coming soon
- Gemini 3.1 Pro public-lane score: 54.2 (Unranked · 2 rankable rows)

| Benchmark | Claude Sonnet 5 | Gemini 3.1 Pro | Winner |
|-----------|-----------|-----------|--------|
| FrontierMath v2 (Tiers 1-3) | Coming soon | 36.900% | Coming soon |
| FrontierMath v2 (Tier 4) | Coming soon | 16.700% | Coming soon |

## FAQ

### Which is better overall, Claude Sonnet 5 or Gemini 3.1 Pro?

Claude Sonnet 5 is ahead overall on BenchLM right now.

### Where is the biggest gap between Claude Sonnet 5 and Gemini 3.1 Pro?

The widest category gap is in agentic, where the averages are 64.6 for Claude Sonnet 5 and 40.3 for Gemini 3.1 Pro.

### How many benchmarks does Claude Sonnet 5 cover on BenchLM?

Claude Sonnet 5 currently has 26 sourced benchmark scores on BenchLM.

### How many benchmarks does Gemini 3.1 Pro cover on BenchLM?

Gemini 3.1 Pro currently has 28 sourced benchmark scores on BenchLM.

## Related Comparisons

- [Claude Sonnet 5 vs GPT-6 Astra](/compare/claude-sonnet-5-vs-gpt-6-astra)
- [Gemini 3.1 Pro vs GPT-6 Astra](/compare/gemini-3-1-pro-vs-gpt-6-astra)
- [Claude Sonnet 5 vs Claude Opus 5.5](/compare/claude-opus-5-5-vs-claude-sonnet-5)
- [Gemini 3.1 Pro vs Claude Opus 5.5](/compare/claude-opus-5-5-vs-gemini-3-1-pro)

## Explore More

- [Claude Sonnet 5 profile](/models/claude-sonnet-5)
- [Gemini 3.1 Pro profile](/models/gemini-3-1-pro)
- [Compare Pricing](/llm-pricing)
- [Alternative Finder](/tools/alternative-finder)
- [LLM Selector](/tools/llm-selector)
- [Overall Rankings](/best/overall)
