Model comparison
Claude Opus 4.7 vs Gemini 3.1 Pro
Head-to-head evidence from 19 shared benchmark results across 7 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: Claude Opus 4.7 #12 (Supported); Gemini 3.1 Pro #83 (Estimated). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. Claude Opus 4.7 and Gemini 3.1 Pro share 19 comparable benchmark results. 1 of 8 categories are comparable. 2 results are unique to Claude Opus 4.7; 28 to Gemini 3.1 Pro.
Updated July 23, 2026- Shared results
- 19
- Claude Opus 4.7 only
- 2
- Gemini 3.1 Pro only
- 28
- Comparable categories
- 1 / 8
Pick Claude Opus 4.7 if you want the stronger benchmark profile. Gemini 3.1 Pro only becomes the better choice if you want the cheaper token bill.
Confidence note. This is a partial-evidence comparison with 19 shared benchmark results across 7 evidence categories; 1 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.
Why this result
Claude Opus 4.7 is clearly ahead on the BenchAlign aggregate, 71.94 to 55.3. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
Claude Opus 4.7's sharpest advantage is in mathematics, where it averages 38.6 against 31.8. The single biggest benchmark swing on the page is FrontierMath v2 (Tiers 1-3), 43.793% to 36.900%.
Claude Opus 4.7 is also the more expensive model on tokens at $5.00 input / $25.00 output per 1M tokens, versus $2.00 input / $12.00 output per 1M tokens for Gemini 3.1 Pro. That is roughly 2.1x on output cost alone.
Category breakdown
Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.
| Category | Claude Opus 4.7 | Δ | Gemini 3.1 Pro |
|---|---|---|---|
| Math | Claude Opus 4.738.6 | Margin← 6.8 | Gemini 3.1 Pro31.8 |
| Reasoning | Claude Opus 4.7Not measured | MarginNo overlap | Gemini 3.1 Pro77.1 |
| Multimodal | Claude Opus 4.7Not measured | MarginNo overlap | Gemini 3.1 Pro82.6 |
Decisive benchmark drivers
The largest measured benchmark gaps in this matchup, with exact reported values.
More
- Source ↗
FrontierMath v2 (Tiers 1-3)
MathA 43.793%B 36.900%Winner: Claude Opus 4.7Δ 6.9FrontierMath v2 (Tiers 1-3): Claude Opus 4.7 scored 43.793%; Gemini 3.1 Pro scored 36.900%. Claude Opus 4.7 wins this benchmark. - Source ↗
FrontierMath v2 (Tier 4)
MathA 22.917%B 16.700%Winner: Claude Opus 4.7Δ 6.2FrontierMath v2 (Tier 4): Claude Opus 4.7 scored 22.917%; Gemini 3.1 Pro scored 16.700%. Claude Opus 4.7 wins this benchmark.
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | Claude Opus 4.7 | Gemini 3.1 Pro | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Claude Opus 4.7$5 input / $25 output | Gemini 3.1 Pro$2 input / $12 output | Gemini 3.1 Pro has the lower combined listed price. |
| Generation speedtokens per second | Claude Opus 4.7Not available | Gemini 3.1 Pro109 tok/s | A complete speed comparison is not available. |
| First-answer latencyseconds to first token | Claude Opus 4.7Not available | Gemini 3.1 Pro29.71 s | A complete latency comparison is not available. |
| Context windowmaximum listed tokens | Claude Opus 4.71M | Gemini 3.1 Pro1M | Listed context windows are equal. |
Benchmark Deep Dive
Agentic17 benchmarks
| Benchmark | Claude Opus 4.7 | Gemini 3.1 Pro | Result |
|---|---|---|---|
| τ²-bench resultsSource | 74% | 95.6% | Gemini 3.1 Pro leads |
| Gert LabsSource | 65.59% | 56.87% | Claude Opus 4.7 leads |
| ResearchClawBenchSource | 20.7% | 13.3% | Claude Opus 4.7 leads |
| OSWorld 2.0Source | 13.9% | — | Not comparable |
| Claw-EvalSource | — | 57.8% | Not comparable |
| DeepSearchQASource | — | 69.7% | Not comparable |
| AA Agentic IndexSource | — | 21.4% | Not comparable |
| APEX-Agents-AASource | — | 32.0% | Not comparable |
| GDPval-AASource | — | 23.3% | Not comparable |
| GDPval-AASource | — | 965 | Not comparable |
| AA AutomationBenchSource | — | 37.5% | Not comparable |
| AA EnterpriseOps-GymSource | — | 42.2% | Not comparable |
| AA Harvey LABSource | — | 58.9% | Not comparable |
| AA ITBenchSource | — | 30.3% | Not comparable |
| AA Tau3 BankingSource | — | 16.5% | Not comparable |
| terminalBenchHardSource | — | 53.8% | Not comparable |
| aaTerminalBench21Source | — | 73.8% | Not comparable |
Coding6 benchmarks
| Benchmark | Claude Opus 4.7 | Gemini 3.1 Pro | Result |
|---|---|---|---|
| Vibe Code BenchSource | 71.00% | 32.03% | Claude Opus 4.7 leads |
| React Native EvalsSource | 82.8% | 78.9% | Claude Opus 4.7 leads |
| AA-SciCodeSource | 50.1% | 58.9% | Gemini 3.1 Pro leads |
| FrontierCode 1.1 MainSource | 38.5% | — | Not comparable |
| LiveCodeBench ProSource | — | 82.9% | Not comparable |
| AA Coding IndexSource | — | 68.8% | Not comparable |
Reasoning3 benchmarks
Knowledge10 benchmarks
| Benchmark | Claude Opus 4.7 | Gemini 3.1 Pro | Result |
|---|---|---|---|
| Artificial Analysis Intelligence IndexSource | 42.7% | 46.5% | Gemini 3.1 Pro leads |
| AA-GPQA DiamondSource | 88.5% | 94.1% | Gemini 3.1 Pro leads |
| AA-HLESource | 31.2% | 44.7% | Gemini 3.1 Pro leads |
| AA-Omniscience IndexSource | 14.2% | 32.9% | Gemini 3.1 Pro leads |
| AA-Omniscience AccuracySource | 43.5% | 55.3% | Gemini 3.1 Pro leads |
| AA-Omniscience Hallucination RateSource | 51.9% | 49.9% | Gemini 3.1 Pro leads |
| GPQA-DSource | — | 94.3% | Not comparable |
| HLE w/o toolsSource | — | 45.4% | Not comparable |
| HealthBench HardSource | — | 20.6% | Not comparable |
| MedXpertQA (Text)Source | — | 71.5% | Not comparable |
MathClaude Opus 4.7 wins2 benchmarks
Multilingual1 benchmarks
| Benchmark | Claude Opus 4.7 | Gemini 3.1 Pro | Result |
|---|---|---|---|
| AA Global-MMLU-LiteSource | — | 93.2% | Not comparable |
Multimodal9 benchmarks
| Benchmark | Claude Opus 4.7 | Gemini 3.1 Pro | Result |
|---|---|---|---|
| AA-MMMU-ProSource | 76.4% | 82.4% | Gemini 3.1 Pro leads |
| Design Arena WebsiteSource | 1325 | 1281 | Claude Opus 4.7 leads |
| MMMU-ProSource | — | 83.9% | Not comparable |
| CharXivSource | — | 80.2% | Not comparable |
| ERQASource | — | 69.4% | Not comparable |
| SimpleVQASource | — | 72.4% | Not comparable |
| ScreenSpot ProSource | — | 84.4% | Not comparable |
| ZeroBenchSource | — | 29.0% | Not comparable |
| MedXpertQA (MM)Source | — | 81.3% | Not comparable |
Inst. Following1 benchmarks
| Benchmark | Claude Opus 4.7 | Gemini 3.1 Pro | Result |
|---|---|---|---|
| AA-IFBenchSource | 43.6% | 77.1% | Gemini 3.1 Pro leads |
Frequently Asked Questions (2)
Which is better, Claude Opus 4.7 or Gemini 3.1 Pro?
Claude Opus 4.7 is ahead on BenchLM's BenchAlign leaderboard, 71.94 to 55.3. The biggest single separator in this matchup is FrontierMath v2 (Tiers 1-3), where the scores are 43.793% and 36.900%.
Which is better for math, Claude Opus 4.7 or Gemini 3.1 Pro?
Claude Opus 4.7 has the edge for math in this comparison, averaging 38.6 versus 31.8. Inside this category, FrontierMath v2 (Tiers 1-3) is the benchmark that creates the most daylight between them.
Related Comparisons
Choose a model with this week’s evidence
Join 2,000+ readers for ranking moves, pricing changes, and the claims that still need proof.
One email each week. Unsubscribe anytime.