Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs GPT-5.6 Luna

GPT-5.6 Luna leads Gemini 3.1 Pro Preview on coding, 58.0 to 32.3 on the Vibe Coding Index, and GPT-5.6 Luna costs 10.0x less per output token ($1.20 vs $12.00 per million). Updated October 22, 2026; 106 benchmarks have a result for both.

Gemini 3.1 Pro PreviewGoogle
Coding
32.3
Overall
54.0
Output $/M
$12.00
67
GPT-5.6 LunaOpenAI
Coding
58.0
Overall
61.6
Output $/M
$1.20
37
vs boards won of 106 shared, 2 tied

Gemini 3.1 Pro Preview or GPT-5.6 Luna: which to pick

Pick GPT-5.6 Luna for coding: it scores 58.0 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview for work measured by SciCode or WeirdML, where it leads.

Shared results
106
Gemini 3.1 Pro Preview only
27
GPT-5.6 Luna only
13
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
Gemini 3.1 Pro Preview 32.3 from 4 benchmarks, GPT-5.6 Luna 58.0 from 6 benchmarks.
Widest category
Math, 16.5 points apart on average over 6 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3.1 Pro Preview 32.0% against GPT-5.6 Luna 77.1%, 45.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against GPT-5.6 Luna $1.20 per million output tokens, 10.0x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, GPT-5.6 Luna 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
CategoryGemini 3.1 Pro PreviewBarsGPT-5.6 LunaTies
Coding5131 tie
Intelligence01
Agentic work39
Reasoning160
Math24
Knowledge111
Web design431 tie
General266
All shared boards67372 ties
CodingLike-for-likeSix of these boards feed the Vibe Coding Index513
Coding benchmarks for Gemini 3.1 Pro Preview and GPT-5.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
LiveBench codingNot measured73.6%Only GPT-5.6 Luna measured
LMArena WebDev14471518GPT-5.6 Luna
AA Coding Index68.871.4GPT-5.6 Luna
LiveCodeBench (Vals AI)88.5%Not measuredOnly Gemini 3.1 Pro Preview measured
SWE-bench Verified (Vals AI)78.8%93.0%GPT-5.6 Luna
Terminal-Bench 4 (Vals AI)2.5%11.6%GPT-5.6 Luna
Vibe Code Bench (Vals AI)32.0%77.1%GPT-5.6 Luna
Code migration (Vals AI)17.3%44.5%GPT-5.6 Luna
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)51.8%61.8%GPT-5.6 Luna
Terminal-Bench 2.1 (Vals AI)70.8%79.0%GPT-5.6 Luna
Vibe Code Bench 1-100 (Vals AI)6.7%22.6%GPT-5.6 Luna
SkillsBench (Vals AI)Not measured60.5%Only GPT-5.6 Luna measured
CyberBench (Vals AI)Not measured73.6%Only GPT-5.6 Luna measured
SciCode58.7%53.6%Gemini 3.1 Pro Preview
Terminal-Bench Hard (Artificial Analysis run)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench80.2%Not measuredOnly Gemini 3.1 Pro Preview measured
FrontierCodeNot measured39.8%Only GPT-5.6 Luna measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%60.9%Gemini 3.1 Pro Preview
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.61667.4GPT-5.6 Luna
LMArena Text: coding14841466Gemini 3.1 Pro Preview
LMArena Text: software and IT14871463Gemini 3.1 Pro Preview
LMArena WebDev: React14381508GPT-5.6 Luna
LMArena WebDev: HTML14901520GPT-5.6 Luna
LMArena WebDev: from an image14811517GPT-5.6 Luna
SciCode14.3%6.2%Gemini 3.1 Pro Preview
Neither model has a result on the other 11 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.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
AA Intelligence Index29.737.3GPT-5.6 Luna
Epoch Capabilities IndexNot measured156.5Only GPT-5.6 Luna measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index39
Agentic work benchmarks for Gemini 3.1 Pro Preview and GPT-5.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
AA Agentic Index8.242.1GPT-5.6 Luna
Design Arena: agents building web apps1125Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building full-stack apps1068Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building mobile apps1094Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Android apps1049Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Godot games1236Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building games1113Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: HTML slides1103Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slides1041Not measuredOnly Gemini 3.1 Pro Preview measured
LiveBench researchNot measured51.0%Only GPT-5.6 Luna measured
LiveBench browserNot measured68.0%Only GPT-5.6 Luna measured
LiveBench long agenticNot measured30.4%Only GPT-5.6 Luna measured
SREBench (Vals AI)0.0%1.5%GPT-5.6 Luna
Finance Agent (Vals AI)43.0%55.0%GPT-5.6 Luna
Tax Agent Bench (Vals AI)9.3%24.8%GPT-5.6 Luna
Legal Research Bench (Vals AI)20.7%36.5%GPT-5.6 Luna
Excel Modeling Benchmark (Vals AI)52.6%67.1%GPT-5.6 Luna
BioMysteryBench (Vals AI)60.0%61.5%GPT-5.6 Luna
Terminal-Bench-Science (Vals AI)1.4%0.0%Gemini 3.1 Pro Preview
Vals Science Index27.4%25.3%Gemini 3.1 Pro Preview
τ²-Bench Telecom95.6%Not measuredOnly Gemini 3.1 Pro Preview measured
APEX-Agents35.1%43.0%GPT-5.6 Luna
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
BALROG57.0%45.6%Gemini 3.1 Pro Preview
DeepResearch Bench47.8%Not measuredOnly Gemini 3.1 Pro Preview measured
PostTrainBench22.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Vending-Bench 2$911$4,095GPT-5.6 Luna
Neither model has a result on the other 14 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index160
Reasoning benchmarks for Gemini 3.1 Pro Preview and GPT-5.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
GPQA Diamond95.5%91.7%Gemini 3.1 Pro Preview
LiveBench reasoningNot measured85.6%Only GPT-5.6 Luna measured
MysteryMechanism (Vals AI)20.7%14.4%Gemini 3.1 Pro Preview
MMMU Pro (Vals AI)88.2%85.0%Gemini 3.1 Pro Preview
GPQA Diamond (Artificial Analysis run)94.1%91.1%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%39.5%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%91.6%Gemini 3.1 Pro Preview
ARC-AGI98.0%88.0%Gemini 3.1 Pro Preview
ARC-AGI-277.1%59.5%Gemini 3.1 Pro Preview
SimpleBench79.6%46.8%Gemini 3.1 Pro Preview
Chess puzzles51.0%43.0%Gemini 3.1 Pro Preview
Mystery game puzzles34.0%21.0%Gemini 3.1 Pro Preview
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14851451Gemini 3.1 Pro Preview
LMArena Text: expert14831478Gemini 3.1 Pro Preview
LMArena Text: hard prompts in English14801460Gemini 3.1 Pro Preview
LMArena Vision: diagrams13111273Gemini 3.1 Pro Preview
LMArena Vision: homework13161282Gemini 3.1 Pro Preview
Kagi LLM BenchmarkNot measured49.1%Only GPT-5.6 Luna measured
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index24
Math benchmarks for Gemini 3.1 Pro Preview and GPT-5.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%98.3%GPT-5.6 Luna
FrontierMath, tiers 1 to 359.6%82.1%GPT-5.6 Luna
FrontierMath, tier 426.8%61.0%GPT-5.6 Luna
ProofBench26.0%60.0%GPT-5.6 Luna
LMArena Text: math14861459Gemini 3.1 Pro Preview
LMArena Text: mathematical work14781470Gemini 3.1 Pro Preview
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index111
Knowledge benchmarks for Gemini 3.1 Pro Preview and GPT-5.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
MMLU Pro91.0%86.0%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%84.0%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)64.5%64.2%Gemini 3.1 Pro Preview
TaxEval (Vals AI)72.9%76.2%GPT-5.6 Luna
MortgageTax (Vals AI)69.4%67.3%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%42.4%Gemini 3.1 Pro Preview
SimpleQA Verified73.5%41.0%Gemini 3.1 Pro Preview
LMArena Text: science14971433Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861399Gemini 3.1 Pro Preview
LMArena Text: legal and government14871446Gemini 3.1 Pro Preview
LMArena Text: business and finance14591439Gemini 3.1 Pro Preview
FACTS Benchmark Suite67.4%35.0%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 index43
Web design benchmarks for Gemini 3.1 Pro Preview and GPT-5.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
Design Arena: websites12331255GPT-5.6 Luna
Design Arena: UI components12241248GPT-5.6 Luna
Design Arena: game dev12021194Gemini 3.1 Pro Preview
Design Arena: data viz12091211GPT-5.6 Luna
Design Arena: 3D12341121Gemini 3.1 Pro Preview
Design Arena: all code categories12311231Tie
Design Arena: SVG12851194Gemini 3.1 Pro Preview
Design Arena: ASCII art12701142Gemini 3.1 Pro Preview
LiveBench designNot measured76.0%Only GPT-5.6 Luna measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index266
General benchmarks for Gemini 3.1 Pro Preview and GPT-5.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
LiveBench data analysisNot measured78.0%Only GPT-5.6 Luna measured
Public Benefits Bench (Vals AI)53.8%61.2%GPT-5.6 Luna
SAGE (Vals AI)48.7%44.2%Gemini 3.1 Pro Preview
MedScribe (Vals AI)76.1%84.4%GPT-5.6 Luna
Vals Multimodal Index56.1%69.1%GPT-5.6 Luna
IFBench77.1%Not measuredOnly Gemini 3.1 Pro Preview measured
Long context reasoning (AA-LCR)82.0%83.7%GPT-5.6 Luna
DTBench97.1%89.1%Gemini 3.1 Pro Preview
LMCA53.8%48.5%Gemini 3.1 Pro Preview
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Surface Evolver BenchNot measured61.9%Only GPT-5.6 Luna measured
Furniture assembly26.7%42.5%GPT-5.6 Luna
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801431Gemini 3.1 Pro Preview
LMArena Text: instruction following14661437Gemini 3.1 Pro Preview
LMArena Text: creative writing14821396Gemini 3.1 Pro Preview
LMArena Vision12961257Gemini 3.1 Pro Preview
LMArena Text: English14781441Gemini 3.1 Pro Preview
LMArena Text: non-English14761417Gemini 3.1 Pro Preview
LMArena Text: Chinese15271470Gemini 3.1 Pro Preview
LMArena Text: German14901455Gemini 3.1 Pro Preview
LMArena Text: Japanese14911415Gemini 3.1 Pro Preview
LMArena Text: Korean14551415Gemini 3.1 Pro Preview
LMArena Text: French14871458Gemini 3.1 Pro Preview
LMArena Text: Spanish14811446Gemini 3.1 Pro Preview
LMArena Text: Russian14971427Gemini 3.1 Pro Preview
LMArena Text: Polish14981405Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871434Gemini 3.1 Pro Preview
LMArena Text: longer queries14821436Gemini 3.1 Pro Preview
LMArena Text: writing and language14811419Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651402Gemini 3.1 Pro Preview
LMArena Vision: English12871263Gemini 3.1 Pro Preview
LMArena Vision: Chinese13641294Gemini 3.1 Pro Preview
LMArena Vision: reading text13041264Gemini 3.1 Pro Preview
LMArena Vision: humor13221190Gemini 3.1 Pro Preview
LMArena Vision: captioning1345Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things1330Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: creative writing13241257Gemini 3.1 Pro Preview
LMArena Document14441457GPT-5.6 Luna
Neither model has a result on the other 6 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.6 Luna
BenchmarkGemini 3.1 Pro PreviewGPT-5.6 LunaLeader
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.6 Luna$0.0008Fits in one request

GPT-5.6 Luna costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
GPT-5.6 Luna$0.014Fits in one request

GPT-5.6 Luna costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
GPT-5.6 Luna$0.052Fits in one request

GPT-5.6 Luna 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.6 Luna
SpecificationGoogle Gemini 3.1 Pro PreviewOpenAI GPT-5.6 Luna
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026July 9, 2026
Context window1.05M1.05M
Input $/Mtok$2.00$0.20
Output $/Mtok$12.00$1.20
Coding index32.358.0
Independent measurements behind it46
Cost per solved task$0.99$0.04
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5.6 Luna for coding: it scores 58.0 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview for work measured by SciCode or WeirdML, where it leads.

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

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; GPT-5.6 Luna costs $0.20 and $1.20. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and GPT-5.6 Luna $0.04.

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

GPT-5.6 Luna, with 1.05M tokens against 1.05M.

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

106 benchmarks have a result for both models as of October 22, 2026. Gemini 3.1 Pro Preview's coding index rests on 4 independent benchmarks and GPT-5.6 Luna's on 6. 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/gemini-3-1-pro-preview-vs-gpt-5-6-luna" title="Gemini 3.1 Pro Preview vs GPT-5.6 Luna, 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/gemini-3-1-pro-preview-vs-gpt-5-6-luna">LLMBenchmark.ai, Gemini 3.1 Pro Preview vs GPT-5.6 Luna</a></p>