Compare / head-to-head
Claude Opus 4.7vsGemini 3.1 Pro Preview
Claude Opus 4.7 leads 5 of 8 shared benchmarks. Gemini 3.1 Pro Preview is 2.1x cheaper per token. Gemini 3.1 Pro Preview has the larger context window (1.0M tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
5 – 3
Claude Opus 4.7 leads
Cheaper per token
Gemini 3.1 Pro Preview
2.1x cheaper, input + output
Larger context
Gemini 3.1 Pro Preview
1.0M tokens
Provider uptime (30d)
100% · 100%
Anthropic · Google
Claude Opus 4.7
Anthropic · released 2026-04-16
textvision
Gemini 3.1 Pro Preview
Google · released 2026-02-19
textvisionaudio
Quality
Benchmark matrix
8 shared · 9 only Claude Opus 4.7 · 1 only Gemini 3.1 Pro Preview| Benchmark | Claude Opus 4.7 | Gemini 3.1 Pro Preview | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 8 | ||||
| GPQA Diamond | 94.2% ↗ | 94.3% ↗ | -0.1 pt | Gemini 3.1 Pro Preview |
| AIME 2026 | 95.8% ↗matharena ⚠ | 98.3% ↗matharena ⚠ | -2.5 pt | Gemini 3.1 Pro Preview |
| LMArena Elo | 1483.4 ↗ | 1480.1 ↗ | +3.3 | Claude Opus 4.7 |
| FrontierMath Tier 4 v2 (Epoch AI run) | 31.7% ↗epoch | 26.8% ↗epoch | +4.9 pt | Claude Opus 4.7 |
| FrontierMath Tiers 1-3 v2 (Epoch AI run) | 70.2% ↗epoch | 59.6% ↗epoch | +10.6 pt | Claude Opus 4.7 |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 97.8% ↗epoch | 95.6% ↗epoch | +2.2 pt | Claude Opus 4.7 |
| SimpleQA Verified | 51.7% ↗epoch | 73.5% ↗epoch | -21.8 pt | Gemini 3.1 Pro Preview |
| SWE-Bench Pro | 64.3% ↗ | 54.2% ↗ | +10.1 pt | Claude Opus 4.7 |
| Only Claude Opus 4.7 reports · 9 | ||||
| SWE-bench Verified | 87.6% ↗ | not reported | — | — |
| Humanity's Last Exam (no tools) | 46.9% ↗ | not reported | — | — |
| BrowseComp | 79.8% ↗ | not reported | — | — |
| Humanity's Last Exam (with tools) | 54.7% ↗ | not reported | — | — |
| OSWorld-Verified | 82.8% ↗ | not reported | — | — |
| SWE-bench Multilingual | 80.5% ↗ | not reported | — | — |
| SWE-bench Multimodal | 34.5% ↗ | not reported | — | — |
| SWE-bench Verified (Epoch AI run) | 83.5% ↗epoch | not reported | — | — |
| Terminal-Bench 2.1 | 66.1% ↗ | not reported | — | — |
| Only Gemini 3.1 Pro Preview reports · 1 | ||||
| ARC-AGI-2 | not reported | 77.1% ↗ | — | — |
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Claude Opus 4.7 minus Gemini 3.1 Pro Preview in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing
Side by side
Official pricing pages and model cards| Spec | Claude Opus 4.7 | Gemini 3.1 Pro Preview | Edge |
|---|---|---|---|
| Context window | 1M tokens | 1.0M tokens | Gemini 3.1 Pro Preview |
| Max output | 128K tokens | 66K tokens | Claude Opus 4.7 |
| Input price / 1M | $5 ↗ | $2 ↗ | Gemini 3.1 Pro Preview |
| Output price / 1M | $25 ↗ | $12 ↗ | Gemini 3.1 Pro Preview |
| Cached input / 1M | $0.5 ↗ | $0.2 ↗ | Gemini 3.1 Pro Preview |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $30 | $14 | Gemini 3.1 Pro Preview |
| Modalities | text · vision | text · vision · audio | Gemini 3.1 Pro Preview |
| Released | 2026-04-16 | 2026-02-19 | — |
| Cited benchmark scores | 18 | 10 | — |
Reliability
Provider status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
Claude Opus 4.7 vs …
Models sharing the most benchmarksMore matchups
Gemini 3.1 Pro Preview vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run Claude Opus 4.7 and Gemini 3.1 Pro Preview on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.