Enter opens the highlighted result. Esc closes.

Claude Opus 4.5 vs Gemini 3.1 Pro Preview

Claude Opus 4.5 leads Gemini 3.1 Pro Preview on coding, 44.0 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; 91 benchmarks have a result for both.

Claude Opus 4.5Anthropic
Coding
44.0
Overall
55.7
Output $/M
$25.00
27
Gemini 3.1 Pro PreviewGoogle
Coding
32.3
Overall
54.0
Output $/M
$12.00
63
vs boards won of 91 shared, 1 tied

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

Pick Claude Opus 4.5 for coding: it scores 44.0 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview, though on 3 benchmarks against 4.

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.37).

Shared results
91
Claude Opus 4.5 only
17
Gemini 3.1 Pro Preview only
42
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.5 44.0 from 3 benchmarks, Gemini 3.1 Pro Preview 32.3 from 4 benchmarks.
Widest category
Reasoning, 12.4 points apart on average over 14 shared benchmarks.
Widest single gap
ARC-AGI-2: Claude Opus 4.5 37.6% against Gemini 3.1 Pro Preview 77.1%, 39.5 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.5 $25.00 against Gemini 3.1 Pro Preview $12.00 per million output tokens, 2.1x apart.
Context window
Claude Opus 4.5 takes 200K 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.5BarsGemini 3.1 Pro PreviewTies
Coding57
Intelligence01
Agentic work63
Reasoning2111 tie
Math16
Knowledge212
Web design53
General620
All shared boards27631 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index57
Coding benchmarks for Claude Opus 4.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 3.1 Pro PreviewLeader
SWE-bench Verified79.2%Not measuredOnly Claude Opus 4.5 measured
SWE-bench (full test set)52.6%Not measuredOnly Claude Opus 4.5 measured
SWE-bench Multilingual70.7%Not measuredOnly Claude Opus 4.5 measured
LMArena WebDev14941447Claude Opus 4.5
AA Coding IndexNot measured68.8Only Gemini 3.1 Pro Preview measured
LiveCodeBench (Vals AI)83.7%88.5%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)76.4%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)20.6%32.0%Gemini 3.1 Pro Preview
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
LiveCodeBench (Artificial Analysis run)87.1%Not measuredOnly Claude Opus 4.5 measured
SciCodeNot measured58.7%Only Gemini 3.1 Pro Preview measured
Terminal-Bench Hard (Artificial Analysis run)47.0%53.8%Gemini 3.1 Pro Preview
Terminal-Bench63.1%80.2%Gemini 3.1 Pro Preview
GSO-Bench26.5%22.6%Claude Opus 4.5
WeirdML63.7%72.1%Gemini 3.1 Pro Preview
MirrorCodeNot measured8.9%Only Gemini 3.1 Pro Preview measured
Cybench82.0%Not measuredOnly Claude Opus 4.5 measured
ALE-BenchNot measured1160.6Only Gemini 3.1 Pro Preview measured
LMArena Text: coding15031484Claude Opus 4.5
LMArena Text: software and IT14831487Gemini 3.1 Pro Preview
LMArena WebDev: React14781438Claude Opus 4.5
LMArena WebDev: HTML15101490Claude Opus 4.5
LMArena WebDev: from an imageNot measured1481Only Gemini 3.1 Pro Preview measured
SciCodeNot measured14.3%Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Claude Opus 4.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 3.1 Pro PreviewLeader
AA Intelligence Index29.129.7Gemini 3.1 Pro Preview
Epoch Capabilities Index150.1Not measuredOnly Claude Opus 4.5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index63
Agentic work benchmarks for Claude Opus 4.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 3.1 Pro PreviewLeader
AA Agentic IndexNot measured8.2Only Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps11591125Claude Opus 4.5
Design Arena: agents building full-stack apps11561068Claude Opus 4.5
Design Arena: agents building mobile apps11891094Claude Opus 4.5
Design Arena: agents building Android apps11761049Claude Opus 4.5
Design Arena: agents building Godot gamesNot measured1236Only Gemini 3.1 Pro Preview measured
Design Arena: agents building gamesNot measured1113Only Gemini 3.1 Pro Preview measured
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 Telecom89.5%95.6%Gemini 3.1 Pro Preview
APEX-AgentsNot measured35.1%Only Gemini 3.1 Pro Preview measured
METR time horizons75.0%77.0%Gemini 3.1 Pro Preview
Remote Labor Index3.8%Not measuredOnly Claude Opus 4.5 measured
GDPval45.5%Not measuredOnly Claude Opus 4.5 measured
BALROG43.5%57.0%Gemini 3.1 Pro Preview
DeepResearch Bench54.8%47.8%Claude Opus 4.5
PostTrainBenchNot measured22.0%Only Gemini 3.1 Pro Preview measured
OSWorld66.3%Not measuredOnly Claude Opus 4.5 measured
Vending-Bench 2$4,967$911Claude Opus 4.5
Berkeley Function Calling Leaderboard (BFCL)77.5%Not measuredOnly Claude Opus 4.5 measured
Neither model has a result on the other 13 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index211
Reasoning benchmarks for Claude Opus 4.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 3.1 Pro PreviewLeader
GPQA Diamond85.9%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.0%88.2%Gemini 3.1 Pro Preview
GPQA Diamond (Artificial Analysis run)86.6%94.1%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)30.1%47.0%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)86.0%94.4%Gemini 3.1 Pro Preview
ARC-AGI80.0%98.0%Gemini 3.1 Pro Preview
ARC-AGI-237.6%77.1%Gemini 3.1 Pro Preview
SimpleBench62.0%79.6%Gemini 3.1 Pro Preview
Chess puzzles14.0%51.0%Gemini 3.1 Pro Preview
Mystery game puzzles22.0%34.0%Gemini 3.1 Pro Preview
EBR-bench14.3%14.3%Tie
VPCT40.0%Not measuredOnly Claude Opus 4.5 measured
LMArena Text: hard prompts14761485Gemini 3.1 Pro Preview
LMArena Text: expert14871483Claude Opus 4.5
LMArena Text: hard prompts in English14821480Claude Opus 4.5
LMArena Vision: diagramsNot measured1311Only Gemini 3.1 Pro Preview measured
LMArena Vision: homeworkNot measured1316Only Gemini 3.1 Pro Preview measured
Kagi LLM Benchmark80.2%Not measuredOnly Claude Opus 4.5 measured
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index16
Math benchmarks for Claude Opus 4.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 3.1 Pro PreviewLeader
AIME95.4%98.1%Gemini 3.1 Pro Preview
MGSM (Vals AI)95.2%Not measuredOnly Claude Opus 4.5 measured
AA Math Index91.3Not measuredOnly Claude Opus 4.5 measured
AIME 2025 (Artificial Analysis run)91.3%Not measuredOnly Claude Opus 4.5 measured
OTIS Mock AIME86.1%95.6%Gemini 3.1 Pro Preview
FrontierMath, tiers 1 to 334.4%59.6%Gemini 3.1 Pro Preview
FrontierMath, tier 44.9%26.8%Gemini 3.1 Pro Preview
ProofBench36.0%26.0%Claude Opus 4.5
LMArena Text: math14631486Gemini 3.1 Pro Preview
LMArena Text: mathematical work14681478Gemini 3.1 Pro Preview
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index212
Knowledge benchmarks for Claude Opus 4.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 3.1 Pro PreviewLeader
MMLU Pro87.3%91.0%Gemini 3.1 Pro Preview
LegalBench (Vals AI)84.6%87.4%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)62.6%64.8%Gemini 3.1 Pro Preview
CorpFin (Vals AI)65.1%64.5%Claude Opus 4.5
TaxEval (Vals AI)74.9%72.9%Claude Opus 4.5
MortgageTax (Vals AI)68.7%69.4%Gemini 3.1 Pro Preview
MedQA (Vals AI)95.9%96.4%Gemini 3.1 Pro Preview
MedCode (Vals AI)49.2%59.1%Gemini 3.1 Pro Preview
MMLU Pro (Artificial Analysis run)89.5%Not measuredOnly Claude Opus 4.5 measured
SimpleQA Verified45.7%73.5%Gemini 3.1 Pro Preview
GeoBench75.0%Not measuredOnly Claude Opus 4.5 measured
LMArena Text: science14541497Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14441486Gemini 3.1 Pro Preview
LMArena Text: legal and government14591487Gemini 3.1 Pro Preview
LMArena Text: business and finance14481459Gemini 3.1 Pro Preview
FACTS Benchmark Suite43.9%67.4%Gemini 3.1 Pro Preview
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index53
Web design benchmarks for Claude Opus 4.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 3.1 Pro PreviewLeader
Design Arena: websites12471233Claude Opus 4.5
Design Arena: UI components12351224Claude Opus 4.5
Design Arena: game dev12281202Claude Opus 4.5
Design Arena: data viz12431209Claude Opus 4.5
Design Arena: 3D12131234Gemini 3.1 Pro Preview
Design Arena: all code categories12421231Claude Opus 4.5
Design Arena: SVG11801285Gemini 3.1 Pro Preview
Design Arena: ASCII art11901270Gemini 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 index620
General benchmarks for Claude Opus 4.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 3.1 Pro PreviewLeader
Public Benefits Bench (Vals AI)Not measured53.8%Only Gemini 3.1 Pro Preview measured
SAGE (Vals AI)52.1%48.7%Claude Opus 4.5
MedScribe (Vals AI)85.3%76.1%Claude Opus 4.5
Vals Multimodal IndexNot measured56.1%Only Gemini 3.1 Pro Preview measured
IFBench58.0%77.1%Gemini 3.1 Pro Preview
Long context reasoning (AA-LCR)77.3%82.0%Gemini 3.1 Pro Preview
DTBench89.9%97.1%Gemini 3.1 Pro Preview
LMCA44.5%53.8%Gemini 3.1 Pro Preview
CL-bench21.1%20.8%Claude Opus 4.5
Furniture assembly28.3%26.7%Claude Opus 4.5
ExploitBenchNot measured26.1%Only Gemini 3.1 Pro Preview measured
CL-bench LifeNot measured16.9%Only Gemini 3.1 Pro Preview measured
LMArena Text14511480Gemini 3.1 Pro Preview
LMArena Text: instruction following14781466Claude Opus 4.5
LMArena Text: creative writing14451482Gemini 3.1 Pro Preview
LMArena VisionNot measured1296Only Gemini 3.1 Pro Preview measured
LMArena Text: English14611478Gemini 3.1 Pro Preview
LMArena Text: non-English14381476Gemini 3.1 Pro Preview
LMArena Text: Chinese14701527Gemini 3.1 Pro Preview
LMArena Text: German14491490Gemini 3.1 Pro Preview
LMArena Text: Japanese14171491Gemini 3.1 Pro Preview
LMArena Text: Korean14241455Gemini 3.1 Pro Preview
LMArena Text: French14711487Gemini 3.1 Pro Preview
LMArena Text: Spanish14571481Gemini 3.1 Pro Preview
LMArena Text: Russian14471497Gemini 3.1 Pro Preview
LMArena Text: Polish14391498Gemini 3.1 Pro Preview
LMArena Text: multi-turn14661487Gemini 3.1 Pro Preview
LMArena Text: longer queries14791482Gemini 3.1 Pro Preview
LMArena Text: writing and language14521481Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14341465Gemini 3.1 Pro Preview
LMArena Vision: EnglishNot measured1287Only Gemini 3.1 Pro Preview measured
LMArena Vision: ChineseNot measured1364Only Gemini 3.1 Pro Preview measured
LMArena Vision: reading textNot measured1304Only Gemini 3.1 Pro Preview measured
LMArena Vision: humorNot measured1322Only Gemini 3.1 Pro Preview measured
LMArena Vision: captioningNot measured1345Only Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing thingsNot measured1330Only Gemini 3.1 Pro Preview measured
LMArena Vision: creative writingNot measured1324Only Gemini 3.1 Pro Preview measured
LMArena Document14621444Claude Opus 4.5
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.5 and Gemini 3.1 Pro Preview
BenchmarkClaude Opus 4.5Gemini 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.5$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.5$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.5$1.25Exceeds the context window
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.5 and Gemini 3.1 Pro Preview
SpecificationAnthropic Claude Opus 4.5Google Gemini 3.1 Pro Preview
MakerAnthropicGoogle
WeightsNo public weights listedNo public weights listed
ReleasedNovember 24, 2025February 19, 2026
Context window200K1.05M
Input $/Mtok$5.00$2.00
Output $/Mtok$25.00$12.00
Coding index44.032.3
Independent measurements behind it34
Cost per solved task$1.37$0.99
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Claude Opus 4.5 for coding: it scores 44.0 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview, though on 3 benchmarks against 4. 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.37).

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

Claude Opus 4.5 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.5 costs $1.37 and Gemini 3.1 Pro Preview $0.99.

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

Gemini 3.1 Pro Preview, with 1.05M tokens against 200K.

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

91 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.5's coding index rests on 3 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-5-vs-gemini-3-1-pro-preview" title="Claude Opus 4.5 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-5-vs-gemini-3-1-pro-preview">LLMBenchmark.ai, Claude Opus 4.5 vs Gemini 3.1 Pro Preview</a></p>