LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs GPT-5.2

Updated October 21, 2026. 100 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemini 3.1 Pro PreviewGoogle
Coding
35.3
Overall
29.7
Output $/M
$12.00
81
GPT-5.2OpenAI
Coding
58.9
Overall
30.4
Output $/M
$14.00
18
vs boards won of 100 shared, 1 tied

Decision reading

Pick GPT-5.2 for coding: it scores 58.9 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview when output tokens cost 1.2x less, or when a solved task costs $0.99 against $1.91.

Shared results
100
Gemini 3.1 Pro Preview only
31
GPT-5.2 only
11
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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
Gemini 3.1 Pro Preview 35.3 from 1 benchmark, GPT-5.2 58.9 from 2 benchmarks.
Widest category
General, 10.1 points apart on average over 34 shared benchmarks.
Widest single gap
SimpleQA Verified: Gemini 3.1 Pro Preview 73.5% against GPT-5.2 37.1%, 36.4 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against GPT-5.2 $14.00 per million output tokens, 1.2x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, GPT-5.2 400K.

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
CategoryGemini 3.1 Pro PreviewBarsGPT-5.2Ties
Coding84
Intelligence01
Agentic work621 tie
Reasoning151
Math43
Knowledge103
Web design80
General304
All shared boards81181 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index84
Coding benchmarks for Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
SWE-bench VerifiedNot measured72.8%Only GPT-5.2 measured
SWE-bench MultilingualNot measured66.7%Only GPT-5.2 measured
LMArena WebDev14471417Gemini 3.1 Pro Preview
AA Coding Index68.8Not measuredOnly Gemini 3.1 Pro Preview measured
LiveCodeBench (Vals AI)88.5%85.4%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)78.8%75.8%Gemini 3.1 Pro Preview
Terminal-Bench 4 (Vals AI)2.5%Not measuredOnly Gemini 3.1 Pro Preview measured
Vibe Code Bench (Vals AI)32.0%53.5%GPT-5.2
Code migration (Vals AI)17.3%Not measuredOnly Gemini 3.1 Pro Preview measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
IOI (Vals AI)51.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench 2.1 (Vals AI)70.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Vibe Code Bench 1-100 (Vals AI)6.7%Not measuredOnly Gemini 3.1 Pro Preview measured
LiveCodeBench (Artificial Analysis run)Not measured89.4%Only GPT-5.2 measured
SciCode58.7%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench Hard (Artificial Analysis run)53.8%47.0%Gemini 3.1 Pro Preview
Terminal-Bench80.2%64.9%Gemini 3.1 Pro Preview
GSO-Bench22.6%27.5%GPT-5.2
WeirdML72.1%72.2%GPT-5.2
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.61293.5GPT-5.2
LMArena Text: coding14841442Gemini 3.1 Pro Preview
LMArena Text: software and IT14871434Gemini 3.1 Pro Preview
LMArena WebDev: React1438Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena WebDev: HTML14901427Gemini 3.1 Pro Preview
LMArena WebDev: from an image1481Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
AA Intelligence Index29.730.4GPT-5.2
Epoch Capabilities IndexNot measured153.7Only GPT-5.2 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index62
Agentic work benchmarks for Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
AA Agentic Index8.2Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps11251086Gemini 3.1 Pro Preview
Design Arena: agents building full-stack apps10681043Gemini 3.1 Pro Preview
Design Arena: agents building mobile apps10941094Tie
Design Arena: agents building Android apps10551064GPT-5.2
Design Arena: agents building Godot games12361142Gemini 3.1 Pro Preview
Design Arena: agents building games1114Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: HTML slides1153Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slides1064Not measuredOnly Gemini 3.1 Pro Preview measured
SREBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)43.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Tax Agent Bench (Vals AI)9.3%Not measuredOnly Gemini 3.1 Pro Preview measured
Legal Research Bench (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
Excel Modeling Benchmark (Vals AI)52.6%Not measuredOnly Gemini 3.1 Pro Preview measured
BioMysteryBench (Vals AI)60.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)1.4%Not measuredOnly Gemini 3.1 Pro Preview measured
Vals Science Index27.4%Not measuredOnly Gemini 3.1 Pro Preview measured
τ²-Bench Telecom95.6%84.8%Gemini 3.1 Pro Preview
APEX-Agents35.1%Not measuredOnly Gemini 3.1 Pro Preview measured
METR time horizons77.0%75.3%Gemini 3.1 Pro Preview
Remote Labor IndexNot measured2.5%Only GPT-5.2 measured
GDPvalNot measured49.7%Only GPT-5.2 measured
BALROG57.0%Not measuredOnly Gemini 3.1 Pro Preview measured
DeepResearch Bench47.8%41.1%Gemini 3.1 Pro Preview
PostTrainBench22.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Vending-Bench 2$911$3,591GPT-5.2
Neither model has a result on the other 13 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index151
Reasoning benchmarks for Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
GPQA Diamond95.5%91.7%Gemini 3.1 Pro Preview
MysteryMechanism (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)88.2%86.7%Gemini 3.1 Pro Preview
GPQA Diamond (Artificial Analysis run)94.1%90.3%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%37.7%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%91.4%Gemini 3.1 Pro Preview
ARC-AGI98.0%86.2%Gemini 3.1 Pro Preview
ARC-AGI-277.1%52.9%Gemini 3.1 Pro Preview
SimpleBench79.6%45.8%Gemini 3.1 Pro Preview
Chess puzzles51.0%48.0%Gemini 3.1 Pro Preview
Mystery game puzzles34.0%23.0%Gemini 3.1 Pro Preview
EBR-bench14.3%23.0%GPT-5.2
VPCTNot measured84.0%Only GPT-5.2 measured
LMArena Text: hard prompts14851428Gemini 3.1 Pro Preview
LMArena Text: expert14831445Gemini 3.1 Pro Preview
LMArena Text: hard prompts in English14801431Gemini 3.1 Pro Preview
LMArena Vision: diagrams13111265Gemini 3.1 Pro Preview
LMArena Vision: homework13161276Gemini 3.1 Pro Preview
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index43
Math benchmarks for Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
AIME98.1%96.9%Gemini 3.1 Pro Preview
MGSM (Vals AI)Not measured94.0%Only GPT-5.2 measured
AA Math IndexNot measured99.0Only GPT-5.2 measured
AIME 2025 (Artificial Analysis run)Not measured99.0%Only GPT-5.2 measured
OTIS Mock AIME95.6%96.1%GPT-5.2
FrontierMath, tiers 1 to 359.6%67.4%GPT-5.2
FrontierMath, tier 426.8%31.7%GPT-5.2
ProofBench26.0%15.0%Gemini 3.1 Pro Preview
LMArena Text: math14861440Gemini 3.1 Pro Preview
LMArena Text: mathematical work14781442Gemini 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 index103
Knowledge benchmarks for Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
MMLU Pro91.0%86.2%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%82.8%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%66.0%GPT-5.2
CorpFin (Vals AI)64.5%65.9%GPT-5.2
TaxEval (Vals AI)72.9%75.8%GPT-5.2
MortgageTax (Vals AI)69.4%67.1%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%94.1%Gemini 3.1 Pro Preview
MedCode (Vals AI)59.1%49.8%Gemini 3.1 Pro Preview
MMLU Pro (Artificial Analysis run)Not measured87.4%Only GPT-5.2 measured
SimpleQA Verified73.5%37.1%Gemini 3.1 Pro Preview
LMArena Text: science14971425Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861425Gemini 3.1 Pro Preview
LMArena Text: legal and government14871427Gemini 3.1 Pro Preview
LMArena Text: business and finance14591414Gemini 3.1 Pro Preview
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
Design Arena: websites12341196Gemini 3.1 Pro Preview
Design Arena: UI components12261190Gemini 3.1 Pro Preview
Design Arena: game dev12031196Gemini 3.1 Pro Preview
Design Arena: data viz12091202Gemini 3.1 Pro Preview
Design Arena: 3D12341079Gemini 3.1 Pro Preview
Design Arena: all code categories12311171Gemini 3.1 Pro Preview
Design Arena: SVG12851137Gemini 3.1 Pro Preview
Design Arena: ASCII art12701153Gemini 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 index304
General benchmarks for Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
Public Benefits Bench (Vals AI)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
SAGE (Vals AI)48.7%49.3%GPT-5.2
MedScribe (Vals AI)76.1%84.4%GPT-5.2
Vals Multimodal Index56.1%Not measuredOnly Gemini 3.1 Pro Preview measured
IFBench77.1%75.4%Gemini 3.1 Pro Preview
Long context reasoning (AA-LCR)82.0%82.7%GPT-5.2
DTBench97.1%90.9%Gemini 3.1 Pro Preview
LMCA53.8%43.9%Gemini 3.1 Pro Preview
CL-bench20.8%18.2%Gemini 3.1 Pro Preview
Furniture assembly26.7%38.3%GPT-5.2
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801416Gemini 3.1 Pro Preview
LMArena Text: instruction following14661409Gemini 3.1 Pro Preview
LMArena Text: creative writing14821376Gemini 3.1 Pro Preview
LMArena Vision12961246Gemini 3.1 Pro Preview
LMArena Text: English14781422Gemini 3.1 Pro Preview
LMArena Text: non-English14761405Gemini 3.1 Pro Preview
LMArena Text: Chinese15271447Gemini 3.1 Pro Preview
LMArena Text: German14901444Gemini 3.1 Pro Preview
LMArena Text: Japanese14911420Gemini 3.1 Pro Preview
LMArena Text: Korean14551374Gemini 3.1 Pro Preview
LMArena Text: French14871454Gemini 3.1 Pro Preview
LMArena Text: Spanish14811413Gemini 3.1 Pro Preview
LMArena Text: Russian14971415Gemini 3.1 Pro Preview
LMArena Text: Polish14981426Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871419Gemini 3.1 Pro Preview
LMArena Text: longer queries14821413Gemini 3.1 Pro Preview
LMArena Text: writing and language14811392Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651378Gemini 3.1 Pro Preview
LMArena Vision: English12871243Gemini 3.1 Pro Preview
LMArena Vision: Chinese13641305Gemini 3.1 Pro Preview
LMArena Vision: reading text13041257Gemini 3.1 Pro Preview
LMArena Vision: humor13221227Gemini 3.1 Pro Preview
LMArena Vision: captioning13451267Gemini 3.1 Pro Preview
LMArena Vision: recognizing things13301232Gemini 3.1 Pro Preview
LMArena Vision: creative writing13241225Gemini 3.1 Pro Preview
LMArena Document14441405Gemini 3.1 Pro Preview
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 Gemini 3.1 Pro Preview and GPT-5.2
BenchmarkGemini 3.1 Pro PreviewGPT-5.2Leader
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

Gemini 3.1 Pro Preview$0.0080Fits in one request
GPT-5.2$0.0088Fits in one request

Gemini 3.1 Pro Preview costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
GPT-5.2$0.130Fits in one request

GPT-5.2 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
GPT-5.2$0.490Fits in one request

GPT-5.2 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 Gemini 3.1 Pro Preview and GPT-5.2
SpecificationGoogle Gemini 3.1 Pro PreviewOpenAI GPT-5.2
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026December 10, 2025
Context window1.05M400K
Input $/Mtok$2.00$1.75
Output $/Mtok$12.00$14.00
Coding index35.358.9
Independent measurements behind it12
Cost per solved task$0.99$1.91
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than GPT-5.2 for coding?

Pick GPT-5.2 for coding: it scores 58.9 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview when output tokens cost 1.2x less, or when a solved task costs $0.99 against $1.91.

Which is cheaper, Gemini 3.1 Pro Preview or GPT-5.2?

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; GPT-5.2 costs $1.75 and $14.00. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and GPT-5.2 $1.91.

Which has the bigger context window, Gemini 3.1 Pro Preview or GPT-5.2?

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

How many benchmarks is the Gemini 3.1 Pro Preview vs GPT-5.2 comparison based on?

100 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Pro Preview's coding index rests on 1 independent benchmark and GPT-5.2's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next