Across 52 comparable benchmarks, Claude Opus 4.8 has better reported results on 46 and worse on 6. 3 further shared results are listed below, each with the reason it is not counted.
Moderate evidence52 of 55 shared results countedHow we compare
Price basis: Listed rates vs standard rates. The price section below shows the applicable periods.
| Fact | Gemini 3.1 Pro Preview | Claude Opus 4.8 |
|---|---|---|
| Context window | 1M tokens | 1M tokens |
| Input / 1M | $2.00 | $5.00 |
| Output / 1M | $12.00 | $25.00 |
| Blended (4:1) | $2.70 | $5.76 |
| Status | Preview | Available |
| Released | February 20, 2026 | May 28, 2026 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 36 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Claude Opus 4.8 ahead on 13 of 13 counted
Gemini 3.1 Pro Preview ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
Claude Opus 4.8 ahead on 4 of 4 counted
Gemini 3.1 Pro Preview ahead on 3 of 5 counted
Claude Opus 4.8 ahead on 6 of 6 counted
Gemini 3.1 Pro Preview ahead on 1 of 1 counted
Claude Opus 4.8 ahead on 2 of 2 counted
Split 1–1 of 2 counted
Claude Opus 4.8 ahead on 12 of 12 counted
No shared comparable results for Cybersecurity.
Published scores, with matching modes where available. Gaps show Gemini 3.1 Pro Preview relative to Claude Opus 4.8. Reading the results
| Benchmark | Gemini 3.1 Pro Preview | Claude Opus 4.8 | Gap |
|---|---|---|---|
| APEX-SWERepository Engineering · Pass@1 | 33.9Thinking High · tools | 47.3Thinking High · tools | −13.4 pts#45 vs #20 of 61 |
| Code MigrationMaintenance & Optimization · Hidden-test pass rate (%) | 17.3Thinking High · tools | 47.3≠Max · tools | −29.9 pts#55 vs #17 of 79 |
| DeepSWERepository Engineering · Pass@1 (DeepSWE v1.1) | 11.7Thinking High · tools | 59.0≠Max · tools | −47.2 pts#71 vs #51 of 73 |
| FrontierSWE v1Repository Engineering · Mean@5 dominance score (%) | 34.4Historical | 66.5Historical | −32.2 pts#11 vs #6 of 17 |
| GSOMaintenance & Optimization · OPT@1 (%) | 22.6Normal · tools | 47.1≠Extra-High · tools | −24.5 pts#13 vs #5 of 24 |
| PostTrain BenchML Engineering · Score | 22.0Reported best | 33.8≠Thinking High · tools | 0.65×#14 vs #10 of 15 |
| SWE-Bench Pro - PublicRepository Engineering · Accuracy | 54.2Thinking High · tools | 69.2≠Extended · tools | −15.0 pts#38 vs #8 of 66 |
| SWE-bench VerifiedRepository Engineering · Accuracy | 80.6Thinking High · tools | 88.6≠Extended · tools | −8.0 pts#12 vs #4 of 108 |
| Terminal Bench HardAgentic Development · Accuracy | 53.8Thinking · tools | 58.3≠Max · tools | −4.5 pts#8 vs #5 of 157 |
| Terminal-Bench 2.1Agentic Development · Accuracy | 65.8Thinking High · tools | 78.9Thinking High · tools | −13.0 pts#53 vs #41 of 68 |
| Terminal-Bench 4.0Agentic Development · Resolution rate (%) | 4.0Thinking · tools | 23.6≠Max · tools | −19.6 pts#69 vs #44 of 90 |
| Vibe Code Bench v1.1Code Generation & Editing · Pass rate (%) | 32.0Thinking High · tools | 82.7≠Max · tools | −50.7 pts#77 vs #27 of 121 |
| WeirdML v2ML Engineering · Average accuracy across 17 tasks (%) | 72.1Normal · tools | 82.9≠Extra-High · tools | −10.8 pts#12 vs #5 of 39 |
| ARC-AGI-2Abstract Generalization · Score (% solved); cost per task (USD)Not counted · Speed and cost telemetry is reported, not scored | 77.1Thinking High · no tools | 72.1≠Thinking High · tools | 1.07×#23 vs #27 of 80 |
| ARC-AGI-3Abstract GeneralizationNot counted · Different or unrecorded test environments — excluded from the tally | 0.42Thinking High · no tools· legacy-default | 1.5Thinking High · no tools· arc3-semi-private-standard | —— vs #14 of 26 |
| SimpleBenchCommonsense · Score (AVG@5) | 79.6Normal · no tools | 64.8Normal · no tools | 1.23×#15 vs #35 of 106 |
| AIME 2026Mathematics · Accuracy | 98.3Thinking High · no tools | 100.0≠Max · no tools | −1.7 pts#5 vs #1 of 46 |
| FrontierMath Tier 4 v2Mathematics · Accuracy (verification_code) | 26.8Reported best | 56.1≠Max · tools | −29.3 pts#40 vs #21 of 73 |
| FrontierMath v2Mathematics · Accuracy (verification_code) | 59.6Reported best | 80.0≠Max · tools | −20.4 pts#43 vs #20 of 85 |
| Riemann-benchMathematics · Accuracy (%) | 33.6Thinking High · tools + web | 47.2≠Max · tools + web | −13.6 pts#20 vs #12 of 42 |
| CritPtScientific Reasoning · Score | 17.7Thinking · no tools | 20.9≠Max · no tools | 0.85×#34 vs #25 of 134 |
| GPQA DiamondScientific Reasoning · Accuracy | 94.4Reported best | 93.6≠Thinking High · no tools | +0.8 pts#12 vs #26 of 200 |
| SciCodeScientific Computing · Score | 58.7Thinking · no tools | 54.4≠Max · no tools | 1.08×#18 vs #33 of 98 |
| MedCodeClinical Workflows · Accuracy (%) | 59.1Thinking High · tools | 53.2≠Max · tools | +5.8 pts#2 vs #10 of 97 |
| MedScribeClinical Workflows · Rubric pass rate (%) | 76.1Thinking High · tools | 85.8≠Max · tools | −9.6 pts#70 vs #25 of 99 |
| Agents' Last Exam v1.0Tool Orchestration · Pass rate | 16.4Unspecified Reasoning · tools· pass-rate | 27.0≠Max · tools· pass-rate | −10.6 pts#27 vs #14 of 34 |
| APEX-AgentsTool Orchestration · Score | 35.1Reported best | 48.9≠Max · tools | 0.72×#52 vs #35 of 61 |
| MCP-AtlasTool Orchestration · Pass rate / claim coverage | 78.2Thinking High · tools | 82.2≠Deep Thinking · tools | −4.0 pts#23 vs #16 of 55 |
| OSWorld-VerifiedDesktop Workflows · Accuracy | 76.2Thinking · tools | 83.4≠Extended · tools | −7.2 pts#16 vs #4 of 36 |
| PinchBench v2Tool Orchestration · Average score (%) | 81.0Reported best | 90.5Reported best | −9.5 pts#13 vs #2 of 51 |
| Toolathlon-VerifiedTool Orchestration · Score | 61.1Thinking High · tools | 76.2≠Max · tools | 0.80×#25 vs #7 of 39 |
| BrowseCompFact Finding · Accuracy | 85.9Thinking High · tools + web | 84.3Thinking High · tools + web | +1.6 pts#12 vs #15 of 61 |
| Context ArenaMemory & Persistence · Accuracy (8 needles, 4K-128K context) | 84.7Thinking High · no tools | 90.0≠Max · no tools | −5.3 pts#15 vs #8 of 61 |
| EBR-benchMemory & Persistence · Score (% of 21 objectives, best of the two scored playthroughs) | 14.3Thinking · tools | 28.6≠Max · tools | −14.3 pts#21 vs #17 of 30 |
| GDP.pdfDocuments & Charts · Task pass rate (%) | 17.8Thinking · no tools | 22.8≠Max · no tools | −5.0 pts#33 vs #22 of 96 |
| GeoBench ACWVisual Understanding · ACW country accuracy (%) | 84.0Normal · no tools | 81.0≠Thinking · no tools | +3.0 pts#7 vs #10 of 32 |
| Creative WritingWriting | 1491Normal · no tools | 1840Normal · no tools | 0.81×#61 vs #21 of 121 |
| AA-AnalystAgentData Analysis · pass^5 (%) | 41.3Thinking · tools + web | 45.0≠Max · tools + web | −3.8 pts#22 vs #19 of 39 |
| AutomationBenchOffice & Business · Pass Rate | 8.7Thinking High · tools· zapier-private-heldout | 16.9≠Extra-High · tools· zapier-private-heldout | −8.2 pts#51 vs #43 of 64 |
| EMB (Excel Modeling)Finance · Accuracy (%) | 52.6Thinking High · tools | 69.4≠Max · tools | −16.8 pts#56 vs #17 of 78 |
| Finance Agent v2Finance · Score | 43.0Thinking High · tools | 53.9≠Max · tools | 0.80×#57 vs #28 of 75 |
| Harvey Lab-AALegal · Criterion pass rate (some entries report all-pass rate) | 58.9Thinking · tools | 91.1≠Max · tools | −32.2 pts#33 vs #7 of 39 |
| Harvey's Legal Agent BenchmarkLegal · Accuracy (%) | 0.0Thinking High · tools | 9.6≠Max · tools | −9.6 pts#44 vs #14 of 52 |
| Legal Research BenchLegal · Score | 20.7Thinking High · tools | 43.8≠Max · tools | 0.47×#68 vs #26 of 91 |
| Public Benefits Bench v1.1Service Workflows · Criterion pass rate (%) | 53.8Thinking High · tools | 68.1≠Max · tools | −14.3 pts#43 vs #13 of 50 |
| SAGEService Workflows · Accuracy (%) | 48.7Thinking High · tools | 54.8≠Max · tools | −6.1 pts#26 vs #3 of 82 |
| Tax Agent BenchFinance · Accuracy (%, rubric × citation quality) | 9.3Thinking High · tools | 30.0≠Unspecified Reasoning · tools | −20.7 pts#66 vs #42 of 74 |
| τ³-BankingService Workflows · Score | 26.0Thinking High · tools | 39.7≠Max · tools | 0.66×#46 vs #23 of 120 |
| HLEKnowledge Exams · Accuracy | 51.4Thinking High · tools | 57.9≠Extended · tools | −6.5 pts#44 vs #20 of 151 |
| ECICapability Indices · ECI score (capability index, higher is better) | 155Reported best | 158Reported best | 0.98×#31 vs #12 of 168 |
| LiveBenchCross-capability Suites · Accuracy | 77.0Thinking High · no tools | 78.9≠Deep Thinking · no tools | −2.0 pts#24 vs #14 of 106 |
| LiveBench 2.0Cross-capability Suites · Overall score (equal-weight mean of 7 suite scores, 0-100) | 54.9Thinking High · tools | 76.8≠Max · task tools | 0.72×#44 vs #13 of 51 |
| Text Arena (Coding)Preference Arenas · Arena Score | 1461Normal · no tools | 1545Normal · no tools | 0.95×#20 vs #8 of 28 |
| Vals IndexCapability IndicesNot counted · This metric has no better direction | 41.9Thinking High · tools | 60.9≠Max · tools | — |
| Vals Index v2.1Capability Indices · GDP-weighted accuracy (%) | 33.4Thinking High · tools | 55.1≠Max · task tools | −21.7 pts#36 vs #13 of 38 |
Repository Engineering · Pass@1
Maintenance & Optimization · Hidden-test pass rate (%)
Repository Engineering · Pass@1 (DeepSWE v1.1)
Repository Engineering · Mean@5 dominance score (%)
Maintenance & Optimization · OPT@1 (%)
ML Engineering · Score
Repository Engineering · Accuracy
Repository Engineering · Accuracy
Agentic Development · Accuracy
Agentic Development · Accuracy
Agentic Development · Resolution rate (%)
Code Generation & Editing · Pass rate (%)
ML Engineering · Average accuracy across 17 tasks (%)
Abstract Generalization · Score (% solved); cost per task (USD)
Not counted · Speed and cost telemetry is reported, not scored
Abstract Generalization
Not counted · Different or unrecorded test environments — excluded from the tally
Commonsense · Score (AVG@5)
Mathematics · Accuracy
Mathematics · Accuracy (verification_code)
Mathematics · Accuracy (verification_code)
Mathematics · Accuracy (%)
Scientific Reasoning · Score
Scientific Reasoning · Accuracy
Scientific Computing · Score
Clinical Workflows · Accuracy (%)
Clinical Workflows · Rubric pass rate (%)
Tool Orchestration · Pass rate
Tool Orchestration · Score
Tool Orchestration · Pass rate / claim coverage
Desktop Workflows · Accuracy
Tool Orchestration · Average score (%)
Tool Orchestration · Score
Fact Finding · Accuracy
Memory & Persistence · Accuracy (8 needles, 4K-128K context)
Memory & Persistence · Score (% of 21 objectives, best of the two scored playthroughs)
Documents & Charts · Task pass rate (%)
Visual Understanding · ACW country accuracy (%)
Writing
Data Analysis · pass^5 (%)
Office & Business · Pass Rate
Finance · Accuracy (%)
Finance · Score
Legal · Criterion pass rate (some entries report all-pass rate)
Legal · Accuracy (%)
Legal · Score
Service Workflows · Criterion pass rate (%)
Service Workflows · Accuracy (%)
Finance · Accuracy (%, rubric × citation quality)
Service Workflows · Score
Knowledge Exams · Accuracy
Capability Indices · ECI score (capability index, higher is better)
Cross-capability Suites · Accuracy
Cross-capability Suites · Overall score (equal-weight mean of 7 suite scores, 0-100)
Preference Arenas · Arena Score
Capability Indices
Not counted · This metric has no better direction
Capability Indices · GDP-weighted accuracy (%)
A dash means no result is available.
| Benchmark | Gemini 3.1 Pro Preview | Claude Opus 4.8 |
|---|---|---|
| FrontierMath | 36.9 | — |
| FrontierMath - Tier 4 | 16.7 | — |
| HMMT Feb 2026 | — | 95.5 |
| IMO-ProofBench Advanced | 49.0 | — |
| MathArena Apex | — | 81.3 |
| MysteryMechanism | 20.7 | — |
| ProofBench v1.1 (Lean 4) | 26.0 | — |
| Terminal-Bench-Science 0.1 | — | 10.5 |
| FrontierCode 1.1 | — | 59.6 |
| FrontierCode 2.0 | — | 14.7 |
| IOI (Vals v2) | 51.8 | — |
| Kimi Code Bench 2.0 | — | 71.7 |
| LiveCodeBench | 91.7 | — |
| MLE-Bench | 42.6 | — |
| SWE-Atlas-QnA | — | 57.3 |
| SWE-Bench Pro - Commercial | 32.2 | — |
| Terminal Bench 2.0 | 68.5 | — |
| Terminal-Bench 4.1 | — | 23.6 |
| Vibe Code Bench 1-100 | 6.7 | — |
| MCPMark-Verified | — | 76.4 |
| OSWorld 2.0 | — | 54.8 |
| Pinch Bench | 86.7 | — |
| CWE-bench v0 | — | 42.0 |
| ExploitBench | 26.1 | — |
| METR Time Horizons v1.1 | 384 | — |
| Hypercritica Model Bench | 65.3 | — |
| GDM-MRCR v2 (8-needle, 128K) | 84.9 | — |
| GDM-MRCR v2 (8-needle, 1M) | 26.3 | — |
| CharXiv RQ | 83.3 | — |
| MMMU-Pro | 82.4 | — |
| PerceptionBench | — | 47.2 |
| DECK-Bench | — | 66.9 |
| τ²-Bench | 90.8 | — |
| τ²-Bench - Telecom | 99.3 | — |
| ARC-AGI-1 | — | 92.5 |
| BALROG | 57 | — |
| GoBench | 1797 | — |
| Vending-Bench 2 | — | 5787 |
| BioMysteryBench | 60.0 | — |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
Gemini 3.1 Pro Preview costs53%lessthan Claude Opus 4.8 per million tokens — 2.1× cheaper.Using listed rates vs standard rates at this token mix.
Gemini 3.1 Pro Preview: Standard pricing. context_length <= 200K Google Gemini API official pricing (ai.google.dev/gemini-api/docs/pricing) verified 2026-10-21; paid tier; standard tier; prompts <= 200k tokens context_length > 200K Google Gemini API official pricing (ai.google.dev/gemini-api/docs/pricing) verified 2026-10-21; paid tier; standard tier; prompts > 200k tokens
Claude Opus 4.8: Standard pricing. Anthropic official pricing (platform.claude.com/docs/en/about-claude/pricing) verified 2026-10-21; full 1M context at standard price
| Price / 1M tokens | Gemini 3.1 Pro Preview | Claude Opus 4.8 | Ratio |
|---|---|---|---|
| Input | $2.00 | $5.00 | 0.40× |
| Output | $12.00 | $25.00 | 0.48× |
| Cached input | $0.20 | $0.50 | 0.40× |
| Cache write | — | — | — |
| Blended | $2.70 | $5.76 | 0.47× |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
Gemini 3.1 Pro Preview relative to Claude Opus 4.8
Summary: 2 of 7 shared benchmarks have matching recorded settings and sources. The average is a geometric mean of 2 positive-cost ratios, one equal weight per benchmark. This benchmark set can include related tests and indexes; it is not a workload cost estimate.
Gemini 3.1 Pro Preview 4.9× cheaper
Gemini 3.1 Pro Preview 2× cheaper
Settings or sources differ
Settings or sources differ
Settings or sources differ
Settings or sources differ
Settings or sources differ
Gemini 3.1 Pro Preview 4.9× cheaper
Gemini 3.1 Pro Preview 2× cheaper
Settings or sources differ
Settings or sources differ
Settings or sources differ
Settings or sources differ
Settings or sources differ
Settings or sources differ or are not recorded; interpret the comparison with care.
Gemini 3.1 Pro Preview
Claude Opus 4.8
Settings or sources differ or are not recorded; interpret the comparison with care.
Gemini 3.1 Pro Preview
Claude Opus 4.8
Effort, protocol, aggregation and source match; other run conditions may differ.
Gemini 3.1 Pro Preview
Claude Opus 4.8
Effort, protocol, aggregation and source match; other run conditions may differ.
Gemini 3.1 Pro Preview
Claude Opus 4.8
Settings or sources differ or are not recorded; interpret the comparison with care.
Gemini 3.1 Pro Preview
Claude Opus 4.8
Settings or sources differ or are not recorded; interpret the comparison with care.
Gemini 3.1 Pro Preview
Claude Opus 4.8
Settings or sources differ or are not recorded; interpret the comparison with care.
Gemini 3.1 Pro Preview
Claude Opus 4.8
| Benchmark | Gemini 3.1 Pro Preview | Claude Opus 4.8 |
|---|---|---|
| ARC-AGI-1 | Not reported | 1 more settings |
| ARC-AGI-2 | Not reported | $2.7425 / task Average · ARC-AGI-2 Score: 72.1 Thinking High (With Tools) $1.6818 / task Average · ARC-AGI-2 Score: 62.2 Thinking Low (With Tools) $2.3896 / task Average · ARC-AGI-2 Score: 71.7 Thinking Medium (With Tools) |
| CWE-bench v0 | Not reported | |
| FrontierCode 1.1 | Not reported | $9.6225 / task Average · Weighted rubric score: 46.5 Max (With Tools) · frontiercode-1-1-main $8.0501 / task Average · Weighted rubric score: 59.6 Max (With Tools) · frontiercode-1-1-extended $3.5377 / task Average · Weighted rubric score: 55.6 Thinking High (With Tools) · frontiercode-1-1-extended 7 more settings$4.2799 / task Average · Weighted rubric score: 41.0 Thinking High (With Tools) · frontiercode-1-1-main $2.2736 / task Average · Weighted rubric score: 50.8 Thinking Low (With Tools) · frontiercode-1-1-extended $2.6827 / task Average · Weighted rubric score: 35.1 Thinking Low (With Tools) · frontiercode-1-1-main $3.062 / task Average · Weighted rubric score: 55.4 Thinking Medium (With Tools) · frontiercode-1-1-extended $3.7029 / task Average · Weighted rubric score: 40.5 Thinking Medium (With Tools) · frontiercode-1-1-main $5.5793 / task Average · Weighted rubric score: 59.5 Extra-High (With Tools) · frontiercode-1-1-extended $6.7803 / task Average · Weighted rubric score: 45.5 Extra-High (With Tools) · frontiercode-1-1-main |
| FrontierCode 2.0 | Not reported | $6.316 / task Average · Weighted rubric score: 10.9 Thinking High (With Tools + Internet) 2 more settings$5.588 / task Average · Weighted rubric score: 11.0 Thinking Medium (With Tools + Internet) |
| IOI (Vals v2) | Not reported | |
| MysteryMechanism | Not reported | |
| Terminal-Bench 4.0 | Not reported | $17.14 / task Average · Resolution rate (%): 23.2 Unspecified Reasoning (With Tools) · vals-mini-swe |
| Terminal-Bench 4.1 | Not reported | |
| Vibe Code Bench 1-100 | Not reported |
| Attribute | Gemini 3.1 Pro Preview | Claude Opus 4.8 |
|---|---|---|
| Availability | Preview | Available |
| Provider | Google Deep Mind | Anthropic |
| Model type | Multimodal model | Reasoning model |
| First release | February 20, 2026 | May 28, 2026 |
| Context window | 1M tokens | 1M tokens |
| Max output | 64K tokens | 128K tokens |
| Architecture | Undisclosed | Undisclosed |
| Documented capabilities | Reasoning, Multilingual | Reasoning, Multilingual, Coding, Tool use, Function calling, Computer use, Web search, Long context |
| Knowledge cutoff | 2025-01 | 2026-01 |
| Input modalities | Text, Image, Audio, Video | Text, Image |
| Output modalities | Text | Text |
| Weights | Closed / API only | Closed / API only |
| Commercial use | Proprietary | Proprietary |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Gemini 3.1 Pro Preview vs Claude Opus 4.8.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.