Compare · ModelsLive · 3 picked · head to head
Claude Opus 4.7 vs Claude Sonnet 4.6 vs Gemini 3.1 Pro Preview
Side by side · benchmarks, pricing, and signals you can act on.
Winner summary
Claude Opus 4.7 wins on 19/35 benchmarks
Claude Opus 4.7 wins 19 of 35 shared benchmarks. Leads in agentic · arena · general.
Category leads
agentic·Claude Opus 4.7reasoning·Gemini 3.1 Pro Previewarena·Claude Opus 4.7knowledge·Gemini 3.1 Pro Previewgeneral·Claude Opus 4.7math·Claude Opus 4.7coding·Claude Opus 4.7speed·Claude Sonnet 4.6
Hype vs Reality
Attention vs performance
Claude Opus 4.7
#119 by perf·#9 by attention
Claude Sonnet 4.6
#149 by perf·#10 by attention
Gemini 3.1 Pro Preview
#137 by perf·#5 by attention
Best value
Gemini 3.1 Pro Preview
1.3x better value than Claude Sonnet 4.6
Claude Opus 4.7
3.4 pts/$
$15.00/M
Claude Sonnet 4.6
5.1 pts/$
$9.00/M
Gemini 3.1 Pro Preview
6.9 pts/$
$7.00/M
Vendor risk
Who is behind the model
Anthropic
$965.0B·Tier 1
Anthropic
$965.0B·Tier 1
Google DeepMind
$4.20T·Tier 1
Head to head
35 benchmarks · 3 models
Claude Opus 4.7Claude Sonnet 4.6Gemini 3.1 Pro Preview
APEX-Agents
Claude Opus 4.7 leads by +6.2
APEX-Agents · evaluates AI agents on complex, multi-step tasks requiring planning, tool use, and autonomous decision-making in realistic environments.
Claude Opus 4.7
49.2
Claude Sonnet 4.6
43.0
Gemini 3.1 Pro Preview
35.3
ARC-AGI
Gemini 3.1 Pro Preview leads by +4.5
ARC-AGI · the original Abstraction and Reasoning Corpus, testing whether AI can solve novel visual pattern recognition tasks without memorization.
Claude Opus 4.7
93.5
Claude Sonnet 4.6
86.5
Gemini 3.1 Pro Preview
98.0
ARC-AGI-2
Gemini 3.1 Pro Preview leads by +1.3
ARC-AGI-2 · the second iteration of the Abstraction and Reasoning Corpus, testing novel pattern recognition and abstract reasoning without prior training data.
Claude Opus 4.7
75.8
Claude Sonnet 4.6
60.4
Gemini 3.1 Pro Preview
77.1
Chatbot Arena Elo · Coding
Claude Opus 4.7 leads by +33.8
Claude Opus 4.7
1555.3
Claude Sonnet 4.6
1521.4
Gemini 3.1 Pro Preview
1446.2
Chatbot Arena Elo · Overall
Claude Opus 4.7 leads by +7.1
Claude Opus 4.7
1494.1
Claude Sonnet 4.6
1472.2
Gemini 3.1 Pro Preview
1487.0
Chess Puzzles
Gemini 3.1 Pro Preview leads by +26.3
Chess Puzzles · tests strategic and tactical reasoning by having models solve chess puzzle positions, evaluating lookahead and pattern recognition abilities.
Claude Opus 4.7
26.4
Claude Sonnet 4.6
8.5
Gemini 3.1 Pro Preview
52.6
Dtbench
Gemini 3.1 Pro Preview leads by +4.0
Claude Opus 4.7
91.1
Claude Sonnet 4.6
83.1
Gemini 3.1 Pro Preview
95.1
Exploitbench
Claude Opus 4.7 leads by +0.4
Claude Opus 4.7
26.5
Claude Sonnet 4.6
23.6
Gemini 3.1 Pro Preview
26.1
FrontierMath-2025-02-28-Private
Claude Sonnet 4.6 leads by +13.1
FrontierMath (Feb 2025) · original research-level math problems created by mathematicians, testing capabilities at the boundary of current AI mathematical reasoning.
Claude Opus 4.7
43.8
Claude Sonnet 4.6
56.8
Gemini 3.1 Pro Preview
36.9
FrontierMath-Tier-4-2025-07-01-Private
Claude Opus 4.7 leads by +6.2
FrontierMath Tier 4 (Jul 2025) · the most challenging tier of frontier mathematics, containing problems that push the absolute limits of AI mathematical reasoning.
Claude Opus 4.7
22.9
Claude Sonnet 4.6
13.8
Gemini 3.1 Pro Preview
16.7
GPQA diamond
Gemini 3.1 Pro Preview leads by +5.7
Graduate-Level Google-Proof QA (Diamond set) · expert-crafted questions in physics, biology, and chemistry that are difficult even for domain PhDs.
Claude Opus 4.7
86.9
Claude Sonnet 4.6
83.2
Gemini 3.1 Pro Preview
92.6
Lmca
Gemini 3.1 Pro Preview leads by +1.9
Claude Opus 4.7
61.4
Claude Sonnet 4.6
54.7
Gemini 3.1 Pro Preview
63.3
Mystery Game Puzzles
Gemini 3.1 Pro Preview leads by +6.6
Claude Opus 4.7
20.7
Claude Sonnet 4.6
7.5
Gemini 3.1 Pro Preview
27.3
OTIS Mock AIME 2024-2025
Claude Opus 4.7 leads by +2.2
OTIS Mock AIME 2024-2025 · simulated American Invitational Mathematics Examination problems testing advanced problem-solving skills.
Claude Opus 4.7
97.8
Claude Sonnet 4.6
85.8
Gemini 3.1 Pro Preview
95.6
PostTrainBench
Claude Opus 4.7 leads by +6.6
Claude Opus 4.7
28.6
Claude Sonnet 4.6
16.4
Gemini 3.1 Pro Preview
22.0
Proofbench
Claude Opus 4.7 leads by +9.0
Claude Opus 4.7
54.0
Claude Sonnet 4.6
45.0
Gemini 3.1 Pro Preview
26.0
SimpleQA Verified
Gemini 3.1 Pro Preview leads by +21.8
SimpleQA Verified · short factual questions with verified answers, measuring factual accuracy and the tendency to hallucinate or provide incorrect information.
Claude Opus 4.7
51.7
Claude Sonnet 4.6
35.5
Gemini 3.1 Pro Preview
73.5
SWE-Bench verified
Claude Opus 4.7 leads by +7.8
SWE-bench Verified · 500 human-validated tasks from 12 real Python repositories (Django, Flask, scikit-learn, sympy, and others). Each task requires the model to produce a git patch that resolves a real GitHub issue and passes the test suite. The verified subset eliminates ambiguous tasks from the original SWE-bench. Claude Mythos Preview leads at 93.9%, crossing 90% for the first time in 2026. Opus 4.6 scores 80.8%. The benchmark remains the most-cited evaluation for code-generation capability.
Claude Opus 4.7
83.5
Claude Sonnet 4.6
75.2
Gemini 3.1 Pro Preview
75.6
Terminal Bench
Terminal-Bench 2.0 · evaluates AI agents on real terminal-based coding tasks · writing scripts, debugging, running tests, and managing projects entirely through command-line interaction. Tests both code quality and terminal fluency. Claude Opus 4.7 scores 69.4%, demonstrating significant agentic terminal competence.
Claude Opus 4.7
80.2
Claude Sonnet 4.6
53.4
Gemini 3.1 Pro Preview
80.2
WeirdML
Claude Opus 4.7 leads by +4.4
WeirdML · tests models on unusual and adversarial machine learning tasks that require creative problem-solving beyond standard patterns.
Claude Opus 4.7
76.4
Claude Sonnet 4.6
66.1
Gemini 3.1 Pro Preview
72.1
Artificial Analysis · Agentic Index
Claude Sonnet 4.6 leads by +19.4
Artificial Analysis Agentic Index · a composite score measuring how well a model performs in agentic workflows · multi-step tool use, planning, error recovery, and autonomous task completion. Aggregates results from multiple agentic benchmarks including SWE-bench, tool-use tests, and planning evaluations. The canonical single-number metric for "how good is this model as an agent?"
Claude Sonnet 4.6
40.8
Gemini 3.1 Pro Preview
21.4
Artificial Analysis · Coding Index
Gemini 3.1 Pro Preview leads by +5.8
Artificial Analysis Coding Index · a composite score that aggregates performance across multiple coding benchmarks into a single index. Tracks code generation quality, debugging ability, multi-language competence, and real-world software engineering tasks. Used by Artificial Analysis to rank model coding capability in a normalized, comparable format. Useful for developers choosing between models for coding-heavy workloads.
Claude Sonnet 4.6
63.0
Gemini 3.1 Pro Preview
68.8
Artificial Analysis · Quality Index
Claude Sonnet 4.6 leads by +17.5
Claude Sonnet 4.6
47.2
Gemini 3.1 Pro Preview
29.7
DeepResearch Bench
Claude Sonnet 4.6 leads by +7.1
DeepResearch Bench · evaluates AI on complex multi-step research tasks requiring information gathering, synthesis, and producing comprehensive analyses.
Claude Sonnet 4.6
54.9
Gemini 3.1 Pro Preview
47.8
Deepswe
Claude Sonnet 4.6 leads by +18.2
Claude Sonnet 4.6
29.9
Gemini 3.1 Pro Preview
11.7
Ebr Bench
Claude Opus 4.7 leads by +4.8
Claude Opus 4.7
19.1
Gemini 3.1 Pro Preview
14.3
Frontiercode
Claude Opus 4.7 leads by +14.2
Claude Opus 4.7
38.5
Claude Sonnet 4.6
24.3
FrontierMath-Tier-4-v2-Private
Claude Opus 4.7 leads by +4.9
Claude Opus 4.7
31.7
Gemini 3.1 Pro Preview
26.8
FrontierMath-Tiers-1-3-v2-Private
Claude Opus 4.7 leads by +10.5
Claude Opus 4.7
70.2
Gemini 3.1 Pro Preview
59.6
Furniture Assembly
Claude Opus 4.7 leads by +4.8
Claude Opus 4.7
4.8
Gemini 3.1 Pro Preview
0.0
GSO-Bench
Claude Opus 4.7 leads by +21.6
GSO-Bench · evaluates AI models on real-world open-source software engineering tasks, testing the ability to understand and resolve actual GitHub issues.
Claude Opus 4.7
44.1
Gemini 3.1 Pro Preview
22.6
HLE
Gemini 3.1 Pro Preview leads by +10.8
HLE (Humanity's Last Exam) · a reasoning benchmark designed to be the hardest public evaluation of AI. Questions span mathematics, physics, philosophy, and logic · curated to be at or beyond the frontier of human expert capability. Tested with and without tool augmentation. Claude Opus 4.7 scores 46.9% without tools and 54.7% with tools · making it one of the few benchmarks where the top score is below 60%.
Claude Opus 4.7
33.0
Gemini 3.1 Pro Preview
43.7
Mirrorcode
Claude Opus 4.7 leads by +22.2
Claude Opus 4.7
31.1
Gemini 3.1 Pro Preview
8.9
Osworld 2 0
Claude Opus 4.7 leads by +8.9
Claude Opus 4.7
18.2
Claude Sonnet 4.6
9.3
SimpleBench
Gemini 3.1 Pro Preview leads by +21.5
SimpleBench · tests fundamental reasoning capabilities with straightforward problems designed to expose gaps in basic logical and spatial thinking.
Claude Opus 4.7
54.0
Gemini 3.1 Pro Preview
75.5
Full benchmark table
| Benchmark | Claude Opus 4.7 | Claude Sonnet 4.6 | Gemini 3.1 Pro Preview |
|---|---|---|---|
APEX-Agents APEX-Agents · evaluates AI agents on complex, multi-step tasks requiring planning, tool use, and autonomous decision-making in realistic environments. | 49.2 | 43.0 | 35.3 |
ARC-AGI ARC-AGI · the original Abstraction and Reasoning Corpus, testing whether AI can solve novel visual pattern recognition tasks without memorization. | 93.5 | 86.5 | 98.0 |
ARC-AGI-2 ARC-AGI-2 · the second iteration of the Abstraction and Reasoning Corpus, testing novel pattern recognition and abstract reasoning without prior training data. | 75.8 | 60.4 | 77.1 |
Chatbot Arena Elo · Coding | 1555.3 | 1521.4 | 1446.2 |
Chatbot Arena Elo · Overall | 1494.1 | 1472.2 | 1487.0 |
Chess Puzzles Chess Puzzles · tests strategic and tactical reasoning by having models solve chess puzzle positions, evaluating lookahead and pattern recognition abilities. | 26.4 | 8.5 | 52.6 |
Dtbench | 91.1 | 83.1 | 95.1 |
Exploitbench | 26.5 | 23.6 | 26.1 |
FrontierMath-2025-02-28-Private FrontierMath (Feb 2025) · original research-level math problems created by mathematicians, testing capabilities at the boundary of current AI mathematical reasoning. | 43.8 | 56.8 | 36.9 |
FrontierMath-Tier-4-2025-07-01-Private FrontierMath Tier 4 (Jul 2025) · the most challenging tier of frontier mathematics, containing problems that push the absolute limits of AI mathematical reasoning. | 22.9 | 13.8 | 16.7 |
GPQA diamond Graduate-Level Google-Proof QA (Diamond set) · expert-crafted questions in physics, biology, and chemistry that are difficult even for domain PhDs. | 86.9 | 83.2 | 92.6 |
Lmca | 61.4 | 54.7 | 63.3 |
Mystery Game Puzzles | 20.7 | 7.5 | 27.3 |
OTIS Mock AIME 2024-2025 OTIS Mock AIME 2024-2025 · simulated American Invitational Mathematics Examination problems testing advanced problem-solving skills. | 97.8 | 85.8 | 95.6 |
PostTrainBench | 28.6 | 16.4 | 22.0 |
Proofbench | 54.0 | 45.0 | 26.0 |
SimpleQA Verified SimpleQA Verified · short factual questions with verified answers, measuring factual accuracy and the tendency to hallucinate or provide incorrect information. | 51.7 | 35.5 | 73.5 |
SWE-Bench verified SWE-bench Verified · 500 human-validated tasks from 12 real Python repositories (Django, Flask, scikit-learn, sympy, and others). Each task requires the model to produce a git patch that resolves a real GitHub issue and passes the test suite. The verified subset eliminates ambiguous tasks from the original SWE-bench. Claude Mythos Preview leads at 93.9%, crossing 90% for the first time in 2026. Opus 4.6 scores 80.8%. The benchmark remains the most-cited evaluation for code-generation capability. | 83.5 | 75.2 | 75.6 |
Terminal Bench Terminal-Bench 2.0 · evaluates AI agents on real terminal-based coding tasks · writing scripts, debugging, running tests, and managing projects entirely through command-line interaction. Tests both code quality and terminal fluency. Claude Opus 4.7 scores 69.4%, demonstrating significant agentic terminal competence. | 80.2 | 53.4 | 80.2 |
WeirdML WeirdML · tests models on unusual and adversarial machine learning tasks that require creative problem-solving beyond standard patterns. | 76.4 | 66.1 | 72.1 |
Artificial Analysis · Agentic Index Artificial Analysis Agentic Index · a composite score measuring how well a model performs in agentic workflows · multi-step tool use, planning, error recovery, and autonomous task completion. Aggregates results from multiple agentic benchmarks including SWE-bench, tool-use tests, and planning evaluations. The canonical single-number metric for "how good is this model as an agent?" | — | 40.8 | 21.4 |
Artificial Analysis · Coding Index Artificial Analysis Coding Index · a composite score that aggregates performance across multiple coding benchmarks into a single index. Tracks code generation quality, debugging ability, multi-language competence, and real-world software engineering tasks. Used by Artificial Analysis to rank model coding capability in a normalized, comparable format. Useful for developers choosing between models for coding-heavy workloads. | — | 63.0 | 68.8 |
Artificial Analysis · Quality Index | — | 47.2 | 29.7 |
DeepResearch Bench DeepResearch Bench · evaluates AI on complex multi-step research tasks requiring information gathering, synthesis, and producing comprehensive analyses. | — | 54.9 | 47.8 |
Deepswe | — | 29.9 | 11.7 |
Ebr Bench | 19.1 | — | 14.3 |
Frontiercode | 38.5 | 24.3 | — |
FrontierMath-Tier-4-v2-Private | 31.7 | — | 26.8 |
FrontierMath-Tiers-1-3-v2-Private | 70.2 | — | 59.6 |
Furniture Assembly | 4.8 | — | 0.0 |
GSO-Bench GSO-Bench · evaluates AI models on real-world open-source software engineering tasks, testing the ability to understand and resolve actual GitHub issues. | 44.1 | — | 22.6 |
HLE HLE (Humanity's Last Exam) · a reasoning benchmark designed to be the hardest public evaluation of AI. Questions span mathematics, physics, philosophy, and logic · curated to be at or beyond the frontier of human expert capability. Tested with and without tool augmentation. Claude Opus 4.7 scores 46.9% without tools and 54.7% with tools · making it one of the few benchmarks where the top score is below 60%. | 33.0 | — | 43.7 |
Mirrorcode | 31.1 | — | 8.9 |
Osworld 2 0 | 18.2 | 9.3 | — |
SimpleBench SimpleBench · tests fundamental reasoning capabilities with straightforward problems designed to expose gaps in basic logical and spatial thinking. | 54.0 | — | 75.5 |
Pricing · per 1M tokens · projected $/mo at 10M tokens
| Model | Input | Output | Context | Projected $/mo |
|---|---|---|---|---|
| $5.00 | $25.00 | 1.0M tokens (~500 books) | $100.00 | |
| $3.00 | $15.00 | 1.0M tokens (~500 books) | $60.00 | |
| $2.00 | $12.00 | 1.0M tokens (~524 books) | $45.00 |