Enter opens the highlighted result. Esc closes.

Claude Opus 4.6 vs Gemini 3.1 Pro Preview

Claude Opus 4.6 leads Gemini 3.1 Pro Preview on coding, 57.2 to 32.3 on the Vibe Coding Index, and Gemini 3.1 Pro Preview costs 2.1x less per output token ($12.00 vs $25.00 per million). Updated October 22, 2026; 103 benchmarks have a result for both.

Claude Opus 4.6Anthropic
Coding
57.2
Overall
66.0
Output $/M
$25.00
66
Gemini 3.1 Pro PreviewGoogle
Coding
32.3
Overall
54.0
Output $/M
$12.00
36
vs boards won of 103 shared, 1 tied

Claude Opus 4.6 or Gemini 3.1 Pro Preview: which to pick

Pick Claude Opus 4.6 for coding: it scores 57.2 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview for output tokens 2.1x cheaper ($12.00 vs $25.00 per million) and a lower cost per solved task ($0.99 against $1.56).

Shared results
103
Claude Opus 4.6 only
7
Gemini 3.1 Pro Preview only
30
Like-for-like categories
8 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Claude Opus 4.6 57.2 from 4 benchmarks, Gemini 3.1 Pro Preview 32.3 from 4 benchmarks.
Widest category
Agentic work, 14.3 points apart on average over 10 shared benchmarks.
Widest single gap
Vending-Bench 2: Claude Opus 4.6 $8,018 against Gemini 3.1 Pro Preview $911, 44.4 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.6 $25.00 against Gemini 3.1 Pro Preview $12.00 per million output tokens, 2.1x apart.
Context window
Claude Opus 4.6 takes 1M tokens, Gemini 3.1 Pro Preview 1.05M.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryClaude Opus 4.6BarsGemini 3.1 Pro PreviewTies
Coding94
Intelligence10
Agentic work91
Reasoning511
Math421 tie
Knowledge68
Web design62
General268
All shared boards66361 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index94
Coding benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
SWE-bench Verified75.6%Not measuredOnly Claude Opus 4.6 measured
SWE-bench Multilingual72.0%Not measuredOnly Claude Opus 4.6 measured
LMArena WebDev15471447Claude Opus 4.6
AA Coding IndexNot measured68.8Only Gemini 3.1 Pro Preview measured
LiveCodeBench (Vals AI)84.7%88.5%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)78.2%78.8%Gemini 3.1 Pro Preview
Terminal-Bench 4 (Vals AI)Not measured2.5%Only Gemini 3.1 Pro Preview measured
Vibe Code Bench (Vals AI)57.6%32.0%Claude Opus 4.6
Code migration (Vals AI)Not measured17.3%Only Gemini 3.1 Pro Preview measured
ProgramBench (Vals AI)Not measured0.0%Only Gemini 3.1 Pro Preview measured
IOI (Vals AI)Not measured51.8%Only Gemini 3.1 Pro Preview measured
Terminal-Bench 2.1 (Vals AI)Not measured70.8%Only Gemini 3.1 Pro Preview measured
Vibe Code Bench 1-100 (Vals AI)Not measured6.7%Only Gemini 3.1 Pro Preview measured
SciCodeNot measured58.7%Only Gemini 3.1 Pro Preview measured
Terminal-Bench Hard (Artificial Analysis run)48.5%53.8%Gemini 3.1 Pro Preview
Terminal-Bench79.8%80.2%Gemini 3.1 Pro Preview
FrontierCode26.6%Not measuredOnly Claude Opus 4.6 measured
GSO-Bench41.2%22.6%Claude Opus 4.6
WeirdML78.0%72.1%Claude Opus 4.6
MirrorCodeNot measured8.9%Only Gemini 3.1 Pro Preview measured
Cybench93.0%Not measuredOnly Claude Opus 4.6 measured
ALE-BenchNot measured1160.6Only Gemini 3.1 Pro Preview measured
LMArena Text: coding15341484Claude Opus 4.6
LMArena Text: software and IT15271487Claude Opus 4.6
LMArena WebDev: React15391438Claude Opus 4.6
LMArena WebDev: HTML15591490Claude Opus 4.6
LMArena WebDev: from an image15431481Claude Opus 4.6
SciCodeNot measured14.3%Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 11 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
AA Intelligence Index31.929.7Claude Opus 4.6
Epoch Capabilities Index155.7Not measuredOnly Claude Opus 4.6 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index91
Agentic work benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
AA Agentic IndexNot measured8.2Only Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps12061125Claude Opus 4.6
Design Arena: agents building full-stack apps12201068Claude Opus 4.6
Design Arena: agents building mobile apps12071094Claude Opus 4.6
Design Arena: agents building Android apps11971049Claude Opus 4.6
Design Arena: agents building Godot gamesNot measured1236Only Gemini 3.1 Pro Preview measured
Design Arena: agents building games12121113Claude Opus 4.6
Design Arena: HTML slidesNot measured1103Only Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slidesNot measured1041Only Gemini 3.1 Pro Preview measured
SREBench (Vals AI)Not measured0.0%Only Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)Not measured43.0%Only Gemini 3.1 Pro Preview measured
Tax Agent Bench (Vals AI)Not measured9.3%Only Gemini 3.1 Pro Preview measured
Legal Research Bench (Vals AI)Not measured20.7%Only Gemini 3.1 Pro Preview measured
Excel Modeling Benchmark (Vals AI)Not measured52.6%Only Gemini 3.1 Pro Preview measured
BioMysteryBench (Vals AI)Not measured60.0%Only Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)Not measured1.4%Only Gemini 3.1 Pro Preview measured
Vals Science IndexNot measured27.4%Only Gemini 3.1 Pro Preview measured
τ²-Bench Telecom92.1%95.6%Gemini 3.1 Pro Preview
APEX-Agents46.3%35.1%Claude Opus 4.6
METR time horizons78.9%77.0%Claude Opus 4.6
Remote Labor Index4.2%Not measuredOnly Claude Opus 4.6 measured
BALROGNot measured57.0%Only Gemini 3.1 Pro Preview measured
DeepResearch Bench55.3%47.8%Claude Opus 4.6
PostTrainBenchNot measured22.0%Only Gemini 3.1 Pro Preview measured
Vending-Bench 2$8,018$911Claude Opus 4.6
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index511
Reasoning benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
GPQA Diamond89.7%95.5%Gemini 3.1 Pro Preview
MysteryMechanism (Vals AI)Not measured20.7%Only Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)83.9%88.2%Gemini 3.1 Pro Preview
GPQA Diamond (Artificial Analysis run)89.6%94.1%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)39.9%47.0%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)90.5%94.4%Gemini 3.1 Pro Preview
ARC-AGI94.0%98.0%Gemini 3.1 Pro Preview
ARC-AGI-269.2%77.1%Gemini 3.1 Pro Preview
SimpleBench67.6%79.6%Gemini 3.1 Pro Preview
Chess puzzles21.0%51.0%Gemini 3.1 Pro Preview
Mystery game puzzles25.0%34.0%Gemini 3.1 Pro Preview
EBR-bench12.7%14.3%Gemini 3.1 Pro Preview
LMArena Text: hard prompts15251485Claude Opus 4.6
LMArena Text: expert15441483Claude Opus 4.6
LMArena Text: hard prompts in English15301480Claude Opus 4.6
LMArena Vision: diagrams13401311Claude Opus 4.6
LMArena Vision: homework13371316Claude Opus 4.6
Kagi LLM Benchmark83.6%Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index42
Math benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
AIME95.6%98.1%Gemini 3.1 Pro Preview
OTIS Mock AIME94.4%95.6%Gemini 3.1 Pro Preview
FrontierMath, tiers 1 to 366.0%59.6%Claude Opus 4.6
FrontierMath, tier 426.8%26.8%Tie
ProofBench50.0%26.0%Claude Opus 4.6
LMArena Text: math15181486Claude Opus 4.6
LMArena Text: mathematical work15251478Claude Opus 4.6
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index68
Knowledge benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
MMLU Pro89.1%91.0%Gemini 3.1 Pro Preview
LegalBench (Vals AI)85.3%87.4%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)62.1%64.8%Gemini 3.1 Pro Preview
CorpFin (Vals AI)67.0%64.5%Claude Opus 4.6
TaxEval (Vals AI)76.0%72.9%Claude Opus 4.6
MortgageTax (Vals AI)68.5%69.4%Gemini 3.1 Pro Preview
MedQA (Vals AI)95.4%96.4%Gemini 3.1 Pro Preview
MedCode (Vals AI)49.1%59.1%Gemini 3.1 Pro Preview
SimpleQA Verified47.0%73.5%Gemini 3.1 Pro Preview
LMArena Text: science15191497Claude Opus 4.6
LMArena Text: medicine and healthcare15041486Claude Opus 4.6
LMArena Text: legal and government15121487Claude Opus 4.6
LMArena Text: business and finance14971459Claude Opus 4.6
FACTS Benchmark Suite41.5%67.4%Gemini 3.1 Pro Preview
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index62
Web design benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
Design Arena: websites12911233Claude Opus 4.6
Design Arena: UI components12811224Claude Opus 4.6
Design Arena: game dev12771202Claude Opus 4.6
Design Arena: data viz12791209Claude Opus 4.6
Design Arena: 3D12731234Claude Opus 4.6
Design Arena: all code categories12881231Claude Opus 4.6
Design Arena: SVG12271285Gemini 3.1 Pro Preview
Design Arena: ASCII art12551270Gemini 3.1 Pro Preview
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index268
General benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
Public Benefits Bench (Vals AI)Not measured53.8%Only Gemini 3.1 Pro Preview measured
SAGE (Vals AI)51.6%48.7%Claude Opus 4.6
MedScribe (Vals AI)86.7%76.1%Claude Opus 4.6
Vals Multimodal IndexNot measured56.1%Only Gemini 3.1 Pro Preview measured
IFBench53.1%77.1%Gemini 3.1 Pro Preview
Long context reasoning (AA-LCR)78.0%82.0%Gemini 3.1 Pro Preview
DTBench91.2%97.1%Gemini 3.1 Pro Preview
LMCA55.8%53.8%Claude Opus 4.6
CL-bench20.7%20.8%Gemini 3.1 Pro Preview
Furniture assembly28.3%26.7%Claude Opus 4.6
ExploitBenchNot measured26.1%Only Gemini 3.1 Pro Preview measured
CL-bench Life17.0%16.9%Claude Opus 4.6
LMArena Text15011480Claude Opus 4.6
LMArena Text: instruction following15211466Claude Opus 4.6
LMArena Text: creative writing15051482Claude Opus 4.6
LMArena Vision13161296Claude Opus 4.6
LMArena Text: English15111478Claude Opus 4.6
LMArena Text: non-English14881476Claude Opus 4.6
LMArena Text: Chinese15511527Claude Opus 4.6
LMArena Text: German15001490Claude Opus 4.6
LMArena Text: Japanese14881491Gemini 3.1 Pro Preview
LMArena Text: Korean14641455Claude Opus 4.6
LMArena Text: French15121487Claude Opus 4.6
LMArena Text: Spanish15101481Claude Opus 4.6
LMArena Text: Russian14971497Gemini 3.1 Pro Preview
LMArena Text: Polish14991498Claude Opus 4.6
LMArena Text: multi-turn15111487Claude Opus 4.6
LMArena Text: longer queries15181482Claude Opus 4.6
LMArena Text: writing and language15021481Claude Opus 4.6
LMArena Text: entertainment and media14921465Claude Opus 4.6
LMArena Vision: English13241287Claude Opus 4.6
LMArena Vision: Chinese13701364Claude Opus 4.6
LMArena Vision: reading text13261304Claude Opus 4.6
LMArena Vision: humor13141322Gemini 3.1 Pro Preview
LMArena Vision: captioningNot measured1345Only Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things12741330Gemini 3.1 Pro Preview
LMArena Vision: creative writing13311324Claude Opus 4.6
LMArena Document15071444Claude Opus 4.6
Neither model has a result on the other 8 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Opus 4.6 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.6Gemini 3.1 Pro PreviewLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Claude Opus 4.6$0.018Fits in one request
Gemini 3.1 Pro Preview$0.0080Fits in one request

Gemini 3.1 Pro Preview costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.6$0.325Fits in one request
Gemini 3.1 Pro Preview$0.136Fits in one request

Gemini 3.1 Pro Preview costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.6$1.25Fits in one request
Gemini 3.1 Pro Preview$0.520Fits in one request

Gemini 3.1 Pro Preview costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Claude Opus 4.6 and Gemini 3.1 Pro Preview
SpecificationAnthropic Claude Opus 4.6Google Gemini 3.1 Pro Preview
MakerAnthropicGoogle
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 4, 2026February 19, 2026
Context window1M1.05M
Input $/Mtok$5.00$2.00
Output $/Mtok$25.00$12.00
Coding index57.232.3
Independent measurements behind it44
Cost per solved task$1.56$0.99
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 4.6 better than Gemini 3.1 Pro Preview for coding?

Pick Claude Opus 4.6 for coding: it scores 57.2 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview for output tokens 2.1x cheaper ($12.00 vs $25.00 per million) and a lower cost per solved task ($0.99 against $1.56).

Which is cheaper, Claude Opus 4.6 or Gemini 3.1 Pro Preview?

Claude Opus 4.6 costs $5.00 per million input tokens and $25.00 per million output tokens; Gemini 3.1 Pro Preview costs $2.00 and $12.00. Per solved SWE-bench Verified task, Claude Opus 4.6 costs $1.56 and Gemini 3.1 Pro Preview $0.99.

Which has the bigger context window, Claude Opus 4.6 or Gemini 3.1 Pro Preview?

Gemini 3.1 Pro Preview, with 1.05M tokens against 1M.

How many benchmarks is the Claude Opus 4.6 vs Gemini 3.1 Pro Preview comparison based on?

103 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.6's coding index rests on 4 independent benchmarks and Gemini 3.1 Pro Preview's on 4. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-opus-4-6-vs-gemini-3-1-pro-preview" title="Claude Opus 4.6 vs Gemini 3.1 Pro Preview, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-opus-4-6-vs-gemini-3-1-pro-preview">LLMBenchmark.ai, Claude Opus 4.6 vs Gemini 3.1 Pro Preview</a></p>