Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs Grok 4.3

Updated October 21, 2026. 102 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
95
Grok 4.3xAI
Coding
22.5
Overall
24.9
Output $/M
$2.50
6
vs boards won of 102 shared, 1 tied

Decision reading

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

Pick Grok 4.3 when output tokens cost 4.8x less, or when a solved task costs $0.31 against $0.99.

Shared results
102
Gemini 3.1 Pro Preview only
29
Grok 4.3 only
2
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.3 22.5 from 1 benchmark.
Widest category
Knowledge, 14.5 points apart on average over 12 shared benchmarks.
Widest single gap
SimpleQA Verified: Gemini 3.1 Pro Preview 73.5% against Grok 4.3 33.2%, 40.3 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against Grok 4.3 $2.50 per million output tokens, 4.8x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, Grok 4.3 1M.

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.3Ties
Coding1601 tie
Intelligence10
Agentic work123
Reasoning110
Math60
Knowledge102
Web design80
General311
All shared boards9561 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index160
Coding benchmarks for Gemini 3.1 Pro Preview and Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
LMArena WebDev14471358Gemini 3.1 Pro Preview
AA Coding Index68.842.2Gemini 3.1 Pro Preview
LiveCodeBench (Vals AI)88.5%84.5%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)78.8%71.4%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%19.4%Gemini 3.1 Pro Preview
Code migration (Vals AI)17.3%6.8%Gemini 3.1 Pro Preview
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)51.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench 2.1 (Vals AI)70.8%42.0%Gemini 3.1 Pro Preview
Vibe Code Bench 1-100 (Vals AI)6.7%Not measuredOnly Gemini 3.1 Pro Preview measured
SkillsBench (Vals AI)Not measured40.6%Only Grok 4.3 measured
SciCode58.7%48.3%Gemini 3.1 Pro Preview
Terminal-Bench Hard (Artificial Analysis run)53.8%37.9%Gemini 3.1 Pro Preview
Terminal-Bench80.2%Not measuredOnly Gemini 3.1 Pro Preview measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%49.9%Gemini 3.1 Pro Preview
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.6944.2Gemini 3.1 Pro Preview
LMArena Text: coding14841415Gemini 3.1 Pro Preview
LMArena Text: software and IT14871416Gemini 3.1 Pro Preview
LMArena WebDev: React14381353Gemini 3.1 Pro Preview
LMArena WebDev: HTML14901367Gemini 3.1 Pro Preview
LMArena WebDev: from an image14811375Gemini 3.1 Pro Preview
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.1 Pro Preview and Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
AA Intelligence Index29.724.9Gemini 3.1 Pro Preview
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index123
Agentic work benchmarks for Gemini 3.1 Pro Preview and Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
AA Agentic Index8.215.5Grok 4.3
Design Arena: agents building web apps11251126Grok 4.3
Design Arena: agents building full-stack apps10681006Gemini 3.1 Pro Preview
Design Arena: agents building mobile apps10941059Gemini 3.1 Pro Preview
Design Arena: agents building Android apps1055967Gemini 3.1 Pro Preview
Design Arena: agents building Godot games1236914Gemini 3.1 Pro Preview
Design Arena: agents building games11141007Gemini 3.1 Pro Preview
Design Arena: HTML slides11531008Gemini 3.1 Pro Preview
Design Arena: PowerPoint slides10641012Gemini 3.1 Pro Preview
SREBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)43.0%37.7%Gemini 3.1 Pro Preview
Tax Agent Bench (Vals AI)9.3%6.2%Gemini 3.1 Pro Preview
Legal Research Bench (Vals AI)20.7%15.4%Gemini 3.1 Pro Preview
Excel Modeling Benchmark (Vals AI)52.6%18.4%Gemini 3.1 Pro Preview
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%97.7%Grok 4.3
APEX-Agents35.1%Not measuredOnly Gemini 3.1 Pro Preview measured
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$35Gemini 3.1 Pro Preview
LMArena SearchNot measured1166Only Grok 4.3 measured
Neither model has a result on the other 14 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
Reasoning benchmarks for Gemini 3.1 Pro Preview and Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
GPQA Diamond95.5%91.4%Gemini 3.1 Pro Preview
MysteryMechanism (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)88.2%83.1%Gemini 3.1 Pro Preview
GPQA Diamond (Artificial Analysis run)94.1%90.1%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%37.2%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%88.8%Gemini 3.1 Pro Preview
ARC-AGI98.0%Not measuredOnly Gemini 3.1 Pro Preview measured
ARC-AGI-277.1%Not measuredOnly Gemini 3.1 Pro Preview measured
SimpleBench79.6%Not measuredOnly Gemini 3.1 Pro Preview measured
Chess puzzles51.0%18.0%Gemini 3.1 Pro Preview
Mystery game puzzles34.0%Not measuredOnly Gemini 3.1 Pro Preview measured
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14851396Gemini 3.1 Pro Preview
LMArena Text: expert14831384Gemini 3.1 Pro Preview
LMArena Text: hard prompts in English14801402Gemini 3.1 Pro Preview
LMArena Vision: diagrams13111241Gemini 3.1 Pro Preview
LMArena Vision: homework13161241Gemini 3.1 Pro Preview
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for Gemini 3.1 Pro Preview and Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%93.3%Gemini 3.1 Pro Preview
FrontierMath, tiers 1 to 359.6%42.8%Gemini 3.1 Pro Preview
FrontierMath, tier 426.8%14.6%Gemini 3.1 Pro Preview
ProofBench26.0%11.0%Gemini 3.1 Pro Preview
LMArena Text: math14861387Gemini 3.1 Pro Preview
LMArena Text: mathematical work14781396Gemini 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 index102
Knowledge benchmarks for Gemini 3.1 Pro Preview and Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
MMLU Pro91.0%85.8%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%84.5%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%79.3%Grok 4.3
CorpFin (Vals AI)64.5%68.5%Grok 4.3
TaxEval (Vals AI)72.9%70.8%Gemini 3.1 Pro Preview
MortgageTax (Vals AI)69.4%48.3%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%38.1%Gemini 3.1 Pro Preview
SimpleQA Verified73.5%33.2%Gemini 3.1 Pro Preview
LMArena Text: science14971399Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861384Gemini 3.1 Pro Preview
LMArena Text: legal and government14871386Gemini 3.1 Pro Preview
LMArena Text: business and finance14591381Gemini 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 index80
Web design benchmarks for Gemini 3.1 Pro Preview and Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
Design Arena: websites12341196Gemini 3.1 Pro Preview
Design Arena: UI components12261192Gemini 3.1 Pro Preview
Design Arena: game dev12031174Gemini 3.1 Pro Preview
Design Arena: data viz12091180Gemini 3.1 Pro Preview
Design Arena: 3D12341125Gemini 3.1 Pro Preview
Design Arena: all code categories12311187Gemini 3.1 Pro Preview
Design Arena: SVG12851081Gemini 3.1 Pro Preview
Design Arena: ASCII art12701125Gemini 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 index311
General benchmarks for Gemini 3.1 Pro Preview and Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
Public Benefits Bench (Vals AI)53.8%51.7%Gemini 3.1 Pro Preview
SAGE (Vals AI)48.7%19.7%Gemini 3.1 Pro Preview
MedScribe (Vals AI)76.1%74.4%Gemini 3.1 Pro Preview
Vals Multimodal Index56.1%43.3%Gemini 3.1 Pro Preview
IFBench77.1%83.3%Grok 4.3
Long context reasoning (AA-LCR)82.0%75.0%Gemini 3.1 Pro Preview
DTBench97.1%90.7%Gemini 3.1 Pro Preview
LMCA53.8%38.3%Gemini 3.1 Pro Preview
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Furniture assembly26.7%Not measuredOnly Gemini 3.1 Pro Preview measured
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801397Gemini 3.1 Pro Preview
LMArena Text: instruction following14661366Gemini 3.1 Pro Preview
LMArena Text: creative writing14821380Gemini 3.1 Pro Preview
LMArena Vision12961229Gemini 3.1 Pro Preview
LMArena Text: English14781404Gemini 3.1 Pro Preview
LMArena Text: non-English14761385Gemini 3.1 Pro Preview
LMArena Text: Chinese15271422Gemini 3.1 Pro Preview
LMArena Text: German14901395Gemini 3.1 Pro Preview
LMArena Text: Japanese14911379Gemini 3.1 Pro Preview
LMArena Text: Korean14551354Gemini 3.1 Pro Preview
LMArena Text: French14871411Gemini 3.1 Pro Preview
LMArena Text: Spanish14811399Gemini 3.1 Pro Preview
LMArena Text: Russian14971399Gemini 3.1 Pro Preview
LMArena Text: Polish14981398Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871406Gemini 3.1 Pro Preview
LMArena Text: longer queries14821393Gemini 3.1 Pro Preview
LMArena Text: writing and language14811385Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651370Gemini 3.1 Pro Preview
LMArena Vision: English12871235Gemini 3.1 Pro Preview
LMArena Vision: Chinese13641257Gemini 3.1 Pro Preview
LMArena Vision: reading text13041235Gemini 3.1 Pro Preview
LMArena Vision: humor13221222Gemini 3.1 Pro Preview
LMArena Vision: captioning1345Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things13301217Gemini 3.1 Pro Preview
LMArena Vision: creative writing13241237Gemini 3.1 Pro Preview
LMArena Document1444Not measuredOnly Gemini 3.1 Pro Preview measured
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 Grok 4.3
BenchmarkGemini 3.1 Pro PreviewGrok 4.3Leader
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.3$0.0025Fits in one request

Grok 4.3 costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
Grok 4.3$0.070Fits in one request

Grok 4.3 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
Grok 4.3$0.275Fits in one request

Grok 4.3 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.3
SpecificationGoogle Gemini 3.1 Pro PreviewSpaceXAI Grok 4.3
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026April 30, 2026
Context window1.05M1M
Input $/Mtok$2.00$1.25
Output $/Mtok$12.00$2.50
Coding index35.322.5
Independent measurements behind it11
Cost per solved task$0.99$0.31
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Gemini 3.1 Pro Preview for coding: it scores 35.3 on the Vibe Coding Index against 22.5 for Grok 4.3. Pick Grok 4.3 when output tokens cost 4.8x less, or when a solved task costs $0.31 against $0.99.

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

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Grok 4.3 costs $1.25 and $2.50. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and Grok 4.3 $0.31.

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

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

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

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

Compare next