LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs Grok 4.6

Updated October 21, 2026. 110 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
57
Grok 4.6xAI
Coding
76.4
Overall
44.3
Output $/M
$6.00
52
vs boards won of 110 shared, 1 tied

Decision reading

Pick Grok 4.6 for coding: it scores 76.4 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview when the context window is larger, 1.05M against 500K tokens, or when what matters is LiveCodeBench (Vals AI) or IOI (Vals AI), where it leads.

Shared results
110
Gemini 3.1 Pro Preview only
21
Grok 4.6 only
13
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, Grok 4.6 76.4 from 2 benchmarks.
Widest category
Agentic work, 20.5 points apart on average over 18 shared benchmarks.
Widest single gap
Vending-Bench 2: Gemini 3.1 Pro Preview $911 against Grok 4.6 $9,047, 50.8 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against Grok 4.6 $6.00 per million output tokens, 2.0x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, Grok 4.6 500K.

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 PreviewBarsGrok 4.6Ties
Coding613
Intelligence01
Agentic work018
Reasoning1231 tie
Math24
Knowledge101
Web design17
General265
All shared boards57521 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index613
Coding benchmarks for Gemini 3.1 Pro Preview and Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
LiveBench codingNot measured89.1%Only Grok 4.6 measured
LMArena WebDev14471617Grok 4.6
AA Coding Index68.876.8Grok 4.6
LiveCodeBench (Vals AI)88.5%88.2%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)78.8%95.6%Grok 4.6
Terminal-Bench 4 (Vals AI)2.5%17.2%Grok 4.6
Vibe Code Bench (Vals AI)32.0%76.2%Grok 4.6
Code migration (Vals AI)17.3%44.6%Grok 4.6
ProgramBench (Vals AI)0.0%1.0%Grok 4.6
IOI (Vals AI)51.8%47.6%Gemini 3.1 Pro Preview
Terminal-Bench 2.1 (Vals AI)70.8%78.3%Grok 4.6
Vibe Code Bench 1-100 (Vals AI)6.7%14.8%Grok 4.6
SkillsBench (Vals AI)Not measured55.8%Only Grok 4.6 measured
CyberBench (Vals AI)Not measured67.7%Only Grok 4.6 measured
SciCode58.7%56.5%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 measured48.0%Only Grok 4.6 measured
FrontierSWENot measured25.3%Only Grok 4.6 measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%67.3%Gemini 3.1 Pro Preview
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.61508.1Grok 4.6
LMArena Text: coding14841466Gemini 3.1 Pro Preview
LMArena Text: software and IT14871457Gemini 3.1 Pro Preview
LMArena WebDev: React14381631Grok 4.6
LMArena WebDev: HTML14901597Grok 4.6
LMArena WebDev: from an image14811603Grok 4.6
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 Gemini 3.1 Pro Preview and Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
AA Intelligence Index29.744.3Grok 4.6
Epoch Capabilities IndexNot measured156.6Only Grok 4.6 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index018
Agentic work benchmarks for Gemini 3.1 Pro Preview and Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
AA Agentic Index8.253.0Grok 4.6
Design Arena: agents building web apps11251247Grok 4.6
Design Arena: agents building full-stack apps10681264Grok 4.6
Design Arena: agents building mobile apps10941234Grok 4.6
Design Arena: agents building Android apps10551297Grok 4.6
Design Arena: agents building Godot games12361276Grok 4.6
Design Arena: agents building games11141208Grok 4.6
Design Arena: HTML slides11531249Grok 4.6
Design Arena: PowerPoint slides10641241Grok 4.6
LiveBench researchNot measured84.5%Only Grok 4.6 measured
LiveBench browserNot measured64.0%Only Grok 4.6 measured
LiveBench long agenticNot measured40.7%Only Grok 4.6 measured
SREBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)43.0%53.7%Grok 4.6
Tax Agent Bench (Vals AI)9.3%33.1%Grok 4.6
Legal Research Bench (Vals AI)20.7%48.1%Grok 4.6
Excel Modeling Benchmark (Vals AI)52.6%62.7%Grok 4.6
BioMysteryBench (Vals AI)60.0%72.2%Grok 4.6
Terminal-Bench-Science (Vals AI)1.4%11.4%Grok 4.6
Vals Science Index27.4%38.1%Grok 4.6
Time Horizon Index (Vals AI)Not measured5.8%Only Grok 4.6 measured
τ²-Bench Telecom95.6%Not measuredOnly Gemini 3.1 Pro Preview measured
APEX-Agents35.1%65.3%Grok 4.6
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
BALROG57.0%Not measuredOnly Gemini 3.1 Pro Preview measured
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$9,047Grok 4.6
Neither model has a result on the other 11 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index123
Reasoning benchmarks for Gemini 3.1 Pro Preview and Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
GPQA Diamond95.5%94.7%Gemini 3.1 Pro Preview
LiveBench reasoningNot measured91.2%Only Grok 4.6 measured
MysteryMechanism (Vals AI)20.7%30.6%Grok 4.6
MMMU Pro (Vals AI)88.2%Not measuredOnly Gemini 3.1 Pro Preview measured
GPQA Diamond (Artificial Analysis run)94.1%94.9%Grok 4.6
Humanity's Last Exam (Artificial Analysis run)47.0%44.1%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%94.0%Gemini 3.1 Pro Preview
ARC-AGI98.0%87.5%Gemini 3.1 Pro Preview
ARC-AGI-277.1%67.1%Gemini 3.1 Pro Preview
SimpleBench79.6%75.9%Gemini 3.1 Pro Preview
Chess puzzles51.0%33.0%Gemini 3.1 Pro Preview
Mystery game puzzles34.0%34.0%Tie
EBR-bench14.3%30.5%Grok 4.6
LMArena Text: hard prompts14851448Gemini 3.1 Pro Preview
LMArena Text: expert14831469Gemini 3.1 Pro Preview
LMArena Text: hard prompts in English14801445Gemini 3.1 Pro Preview
LMArena Vision: diagrams13111285Gemini 3.1 Pro Preview
LMArena Vision: homework13161283Gemini 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 index24
Math benchmarks for Gemini 3.1 Pro Preview and Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%99.2%Grok 4.6
FrontierMath, tiers 1 to 359.6%66.0%Grok 4.6
FrontierMath, tier 426.8%31.7%Grok 4.6
ProofBench26.0%51.0%Grok 4.6
LMArena Text: math14861417Gemini 3.1 Pro Preview
LMArena Text: mathematical work14781464Gemini 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 index101
Knowledge benchmarks for Gemini 3.1 Pro Preview and Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
MMLU Pro91.0%89.4%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%86.3%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)64.5%66.2%Grok 4.6
TaxEval (Vals AI)72.9%71.1%Gemini 3.1 Pro Preview
MortgageTax (Vals AI)69.4%64.2%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%44.7%Gemini 3.1 Pro Preview
SimpleQA Verified73.5%49.3%Gemini 3.1 Pro Preview
LMArena Text: science14971437Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861420Gemini 3.1 Pro Preview
LMArena Text: legal and government14871429Gemini 3.1 Pro Preview
LMArena Text: business and finance14591416Gemini 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 index17
Web design benchmarks for Gemini 3.1 Pro Preview and Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
Design Arena: websites12341289Grok 4.6
Design Arena: UI components12261294Grok 4.6
Design Arena: game dev12031296Grok 4.6
Design Arena: data viz12091283Grok 4.6
Design Arena: 3D12341277Grok 4.6
Design Arena: all code categories12311292Grok 4.6
Design Arena: SVG12851239Gemini 3.1 Pro Preview
Design Arena: ASCII art12701278Grok 4.6
LiveBench designNot measured79.8%Only Grok 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index265
General benchmarks for Gemini 3.1 Pro Preview and Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
LiveBench data analysisNot measured75.3%Only Grok 4.6 measured
Public Benefits Bench (Vals AI)53.8%66.8%Grok 4.6
SAGE (Vals AI)48.7%28.9%Gemini 3.1 Pro Preview
MedScribe (Vals AI)76.1%86.5%Grok 4.6
Vals Multimodal Index56.1%Not measuredOnly Gemini 3.1 Pro Preview measured
IFBench77.1%Not measuredOnly Gemini 3.1 Pro Preview measured
Long context reasoning (AA-LCR)82.0%81.0%Gemini 3.1 Pro Preview
DTBench97.1%97.3%Grok 4.6
LMCA53.8%48.5%Gemini 3.1 Pro Preview
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Furniture assembly26.7%40.0%Grok 4.6
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801429Gemini 3.1 Pro Preview
LMArena Text: instruction following14661431Gemini 3.1 Pro Preview
LMArena Text: creative writing14821426Gemini 3.1 Pro Preview
LMArena Vision12961263Gemini 3.1 Pro Preview
LMArena Text: English14781433Gemini 3.1 Pro Preview
LMArena Text: non-English14761420Gemini 3.1 Pro Preview
LMArena Text: Chinese15271476Gemini 3.1 Pro Preview
LMArena Text: German14901426Gemini 3.1 Pro Preview
LMArena Text: Japanese14911378Gemini 3.1 Pro Preview
LMArena Text: Korean14551391Gemini 3.1 Pro Preview
LMArena Text: French14871455Gemini 3.1 Pro Preview
LMArena Text: Spanish14811414Gemini 3.1 Pro Preview
LMArena Text: Russian14971421Gemini 3.1 Pro Preview
LMArena Text: Polish14981430Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871425Gemini 3.1 Pro Preview
LMArena Text: longer queries14821456Gemini 3.1 Pro Preview
LMArena Text: writing and language14811429Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651421Gemini 3.1 Pro Preview
LMArena Vision: English12871270Gemini 3.1 Pro Preview
LMArena Vision: Chinese13641289Gemini 3.1 Pro Preview
LMArena Vision: reading text13041272Gemini 3.1 Pro Preview
LMArena Vision: humor13221270Gemini 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 writing13241262Gemini 3.1 Pro Preview
LMArena Document14441452Grok 4.6
Neither model has a result on the other 7 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 Grok 4.6
BenchmarkGemini 3.1 Pro PreviewGrok 4.6Leader
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
Grok 4.6$0.0050Fits in one request

Grok 4.6 costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
Grok 4.6$0.118Fits in one request

Grok 4.6 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
Grok 4.6$0.460Fits in one request

Grok 4.6 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 Grok 4.6
SpecificationGoogle Gemini 3.1 Pro PreviewSpaceXAI Grok 4.6
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026August 12, 2026
Context window1.05M500K
Input $/Mtok$2.00$2.00
Output $/Mtok$12.00$6.00
Coding index35.376.4
Independent measurements behind it12
Cost per solved task$0.99$0.82
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than Grok 4.6 for coding?

Pick Grok 4.6 for coding: it scores 76.4 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview when the context window is larger, 1.05M against 500K tokens, or when what matters is LiveCodeBench (Vals AI) or IOI (Vals AI), where it leads.

Which is cheaper, Gemini 3.1 Pro Preview or Grok 4.6?

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Grok 4.6 costs $2.00 and $6.00. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and Grok 4.6 $0.82.

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

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

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

110 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 Grok 4.6's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next