BenchLeader

Gemini 3.1 Pro vs Grok 4.7

Full profiles: Gemini 3.1 Pro (Google) and Grok 4.7 (SpaceXAI): every benchmark, price and rank.

Updated · Data from 14 sources

As of 16 Nov 2026, Gemini 3.1 Pro and Grok 4.7 are neck and neck on quality (60.4 vs 57.4 on the BenchLeader Index, inside the ±4.3 margin), and Grok 4.7 is 1.5× cheaper at $3.00 vs $4.50 per 1M tokens blended. Choose Gemini 3.1 Pro for maths (66 vs 56), reasoning (65 vs 56), and knowledge (66 vs 60) and fast first answers (15.2 s vs 55.9 s), where it also streams ~1.5× faster; choose Grok 4.7 for coding (61 vs 59).

Key facts (as of 16 Nov 2026)

  • Gemini 3.1 Pro scores 60.4 on the BenchLeader Index and Grok 4.7 scores 57.4 (BenchLeader, 16 Nov 2026).
  • Gemini 3.1 Pro costs $4.50 per 1M tokens blended (list price, 16 Nov 2026).
  • Grok 4.7 costs $3.00 per 1M tokens blended (list price, 16 Nov 2026).
  • Gemini 3.1 Pro streams ~1.5× faster than Grok 4.7 (Artificial Analysis, 7-day median, 16 Nov 2026).
  • Of the 40 benchmarks both models have, Grok 4.7 leads 28 (BenchLeader, 16 Nov 2026).

Which to pick for…

The pick's numbers come first. Category scores on the BenchLeader scale (50 is the average model, 15 points one standard deviation). High confidence means a lead of half a standard deviation or more; under one point is called either.

Use casePickWhyConfidence
CodingGrok 4.761 vs 59 category score; IOI 57.7% vs 51.8%Medium
Agents & tool useEither57 vs 57 category score; Terminal-Bench 2.1 (Vals) 70.8% vs 73.4%Either
MathsGemini 3.1 Pro66 vs 56 category score; OTIS Mock AIME 95.6% vs 98.1%High
ReasoningGemini 3.1 Pro65 vs 56 category score; GPQA Diamond 94.4% vs 92.7%High
KnowledgeGemini 3.1 Pro66 vs 60 category score; SimpleQA Verified 73.5% vs 56.0%Medium
Chat quality (human preference)–Only Grok 4.7 has an Arena rating (63 category score)Not comparable
Lowest costGrok 4.7$3.00 vs $4.50 per 1M blended; agentic coding session $0.144 vs $0.168–
Fastest first answerGemini 3.1 Pro15.2 s (Gemini 3.1 Pro (high)) vs 55.9 s (Grok 4.7 (xhigh)) to the first answer token–
High volume on a budgetNeither flagshipA smaller model is usually the better fit: Cheapest good LLMs, Fastest LLMs–

Key differences

  • Gemini 3.1 Pro (high) and Grok 4.7 (xhigh) are neck and neck on quality (60.4 vs 57.4, within the ±4.3 margin).
  • Gemini 3.1 Pro (high) is stronger in knowledge, maths, reasoning.
  • Grok 4.7 (xhigh) is stronger in agents & tools, coding.
  • Grok 4.7 (xhigh) is 1.5× cheaper ($3.00 vs $4.50 per 1M blended).
  • Gemini 3.1 Pro (high) streams 1.6× faster (111 vs 68 tokens per second).

At a glance

SpecGemini 3.1 ProGrok 4.7
DeveloperGoogleSpaceXAI
Released19 Feb 202621 Sep 2026
Context window (tokens)1,048,576500,000
Compared atGemini 3.1 Pro (high)Grok 4.7 (xhigh)
Open weightsNoNo
Price in / out / cached input per 1M$2.00 / $12.00 / $0.200$2.00 / $6.00 / $0.500

Category by category

Category scores on the BenchLeader scale: 50 is the average evaluated model, 15 points is one standard deviation. A gap under one point is called level.

CategoryGemini 3.1 Pro (high)Grok 4.7 (xhigh)Leader
Reasoning64.755.6Gemini 3.1 Pro
Coding58.660.9Grok 4.7
Agents & tools56.756.9level
Maths65.755.8Gemini 3.1 Pro
Knowledge65.659.9Gemini 3.1 Pro
Human preference–62.5not comparable
Multimodal–55.5not comparable
Long context–62.9not comparable
Composite–52.8not comparable

On one chart

Each domain on the index's own scale, where 50 is an average model. Click a domain to see the benchmarks behind it. Pick up to 5 models from the list.

2550 avg75ReasoningCodingAgents & toolsMathsKnowledgeGemini 3.1 Pro, Reasoning: 64.7Gemini 3.1 Pro, Coding: 58.6Gemini 3.1 Pro, Agents & tools: 56.7Gemini 3.1 Pro, Maths: 65.7Gemini 3.1 Pro, Knowledge: 65.6Grok 4.7, Reasoning: 55.6Grok 4.7, Coding: 60.9Grok 4.7, Agents & tools: 56.9Grok 4.7, Maths: 55.8Grok 4.7, Knowledge: 59.9

Not drawn, measured for fewer than two of these models: Instruction following, Long context, Multimodal, Human preference.

Model, click to add or removeIndex

Where sources disagree

Across the 40 benchmarks both have, Gemini 3.1 Pro leads 12, Grok 4.7 leads 28. Every overall index that rates both puts Gemini 3.1 Pro ahead.

Overall indexGemini 3.1 Pro (high)Grok 4.7 (xhigh)Leader
BenchLeader Index60.457.4neck and neck
Arena Text1487†1443Gemini 3.1 Pro

Each publisher runs its own tasks, harnesses and effort settings, so their overall verdicts can differ; BenchLeader reconciles them on one scale. † measured at another effort setting of the same model (the publisher did not test the one compared here).

Price, speed and latency

List prices blended at three input tokens per output token. Per-task prices use the token counts on the methodology page. Cost, tokens and time per benchmark task are measured: Artificial Analysis’ averages over its whole Intelligence Index run.

MeasureGemini 3.1 Pro (high)Grok 4.7 (xhigh)
Blended price per 1M tokens$4.50$3.00
Input / output per 1M$2.00 / $12.00$2.00 / $6.00
Cached input per 1M$0.200$0.500
Price per task: chat reply$0.0044$0.0026
Price per task: summarize a 30-page report$0.031$0.028
Price per task: code edit$0.030$0.021
Price per task: agentic coding session$0.168$0.144
Price per task: structured extraction$0.0064$0.0052
Agentic coding session, input mostly cached$0.087$0.076
Cost per benchmark task (AA Index)–$7.77
Output tokens per task (AA Index)–105k
Of which reasoning–69k
Time per task (AA Index)–26 min
Output speed111 tok/s68 tok/s
Time to first answer15.2 s55.9 s
Time to a complete answer, last measured 13 Nov 202637.5 s145.5 s

Each model is compared at its best-ranked reasoning-effort setting. Gemini 3.1 Pro (high) scores 60.4 and takes 15 s to its first answer token; Gemini 3.1 Pro scores 59.9 in 15 s. Grok 4.7 (xhigh) scores 57.4 and takes 56 s to its first answer token; Grok 4.7 (high) scores 56.9 in 35 s, Grok 4.7 (low) scores 55.4 in 10 s. Higher effort means more thinking before the answer: better scores, longer waits and more tokens billed. How reasoning effort changes scores and cost.

Every benchmark

212 benchmarks, grouped by category; each name links to the board and its leaders. † measured at another effort setting of the same model, shown for reference and not counted as a win.

MetricPublisherGemini 3.1 Pro (high)Grok 4.7 (xhigh)
BenchLeader IndexBenchLeader60.457.4
Agents & tools scoreBenchLeader56.756.9
Coding scoreBenchLeader58.660.9
Knowledge scoreBenchLeader65.659.9
Maths scoreBenchLeader65.755.8
Reasoning scoreBenchLeader64.755.6
Composite scoreBenchLeader–52.8
Human preference scoreBenchLeader–62.5
Long context scoreBenchLeader–62.9
Multimodal scoreBenchLeader–55.5
Blended price $/MBenchLeader$4.50$3.00
Output speedBenchLeader111 tok/s68 tok/s
Time to first answerBenchLeader15.2 s55.9 s
Context windowBenchLeader1,048,576 tokens500,000 tokens
Reasoning
GPQA DiamondEpoch AI Benchmarking Hub94.4%92.7%
Humanity's Last ExamScale AI / CAIS46.4%†–
SimpleBenchSimpleBench79.6%†–
Arena Hard PromptsArena (LMArena)1508†1466
LiveBench 2.0 ReasoningLiveBench–82.7%
LiveBench 1.0 ReasoningLiveBench84.0%82.7%
GPQA Diamond (AA)Artificial Analysis94.1%†–
Humanity's Last Exam (AA)Artificial Analysis47.0%†43.1%
HLE-Diamond (AA)Artificial Analysis31.4%†23.2%
GPQA Diamond (Vals)Vals AI95.5%–
EnigmaEvalScale AI SEAL36.8%–
ARC-AGI-1ARC Prize98.0%†89.5%
ARC-AGI-2ARC Prize77.1%†61.4%
ARC-AGI-3ARC Prize0.4%†7.0%
CritPtArtificial Analysis17.7%†17.7%
CritPt v2 hard subset (AA)Artificial Analysis–33.5%
MysteryMechanismVals AI20.7%25.2%
HLE-Diamond (Scale)Scale AI SEAL–23.4%†
Arena ExpertArena (LMArena)1509†1478
Chess PuzzlesEpoch AI Benchmarking Hub51.0%41.0%
Mystery Game PuzzlesEpoch AI Benchmarking Hub34.0%29.0%
CL-benchEpoch AI Benchmarking Hub20.8%†–
CL-bench LifeEpoch AI Benchmarking Hub16.9%†–
LMCAEpoch AI Benchmarking Hub53.8%49.4%
DTBenchEpoch AI Benchmarking Hub95.5%96.0%
Show all 212 benchmarks
MetricPublisherGemini 3.1 Pro (high)Grok 4.7 (xhigh)
Reasoning
ForecastBenchForecastBench65.2%–
Coding
SciCodeSciCode58.7%†57.4%
WeirdMLWeirdML72.1%†–
FrontierCodeCognition–47.6%†
GSO-BenchGSO-Bench22.6%†–
Arena CodingArena (LMArena)1520†1493
Arena WebDevArena (LMArena)1446†1641
LiveBench 2.0 CodingLiveBench–73.1%
LiveBench 1.0 CodingLiveBench76.5%77.2%
LiveCodeBenchVals AI88.5%–
IOIVals AI51.8%57.7%
SWE-bench (Vals)Vals AI78.8%–
SWE-Bench ProScale AI SEAL46.1%†–
Code MigrationVals AI17.3%44.8%
Code Migration v1.1Vals AI–53.2%
ProgramBenchVals AI0.0%0.5%
SWE-bench MultimodalVals AI–42.9%
Vibe Code Bench 1-100Vals AI6.7%–
Vibe Code Bench v1.1Vals AI32.0%86.2%
Vibe Code Bench 1-100 v1.1Vals AI–26.4%
SWE-Bench Pro (private)Scale AI SEAL32.2%†–
SWE Atlas v1.0: Codebase QnAScale AI SEAL13.5%†–
SWE Atlas v1.0: RefactoringScale AI SEAL33.8%†–
SWE Atlas v1.0: Test WritingScale AI SEAL29.8%†–
SWE Atlas v1.1Scale AI SEAL–62.1%†
SWE Atlas v1.1: Codebase QnAScale AI SEAL–73.4%†
SWE Atlas v1.1: Test WritingScale AI SEAL–64.4%†
SWE Atlas v1.1: RefactoringScale AI SEAL–48.6%†
MirrorCodeEpoch AI Benchmarking Hub8.9%54.4%
DeepSWE v1.1Epoch AI Benchmarking Hub11.7%†–
CursorBenchCursor–46.3%
ALE-BenchEpoch AI Benchmarking Hub1160.6†1545.8
AlgoTuneAlgoTune2.0†–
FrontierSWEEpoch AI Benchmarking Hub–29.5%
WeirdML v3WeirdML–8.4%
Terminal-Bench 4.0 (AA)Artificial Analysis4.0%†25.8%
Terminal-Bench 2.1 (AA)Artificial Analysis73.8%†–
Startrise FrontendStartrise–75.9%†
GameBench 2 OverallDuelLab GameBench 2–63.6†
GameBench 2 by reasoning settingDuelLab GameBench 2–71.2
Design Arena WebsiteDesign Arena1226†1244†
FrontierCode 1.1 (AA)Artificial Analysis–33.8%
FrontierCode 2.0 (AA)Artificial Analysis–28.7%
Agents & tools
Terminal-BenchTerminal-Bench80.2%†38.8%
APEX-AgentsMercor35.1%†54.6%†
Arena AgentArena (LMArena)-4.5†2.6
LiveBench Long AgenticLiveBench–45.3%
LiveBench BrowserLiveBench–49.3%
LiveBench Agentic CodingLiveBench44.1%54.0%
Terminal-Bench HardArtificial Analysis53.8%†–
τ²-Bench Telecom (AA)Artificial Analysis95.6%†–
Terminal-Bench 2.1 (Vals)Vals AI70.8%73.4%
MCP AtlasScale AI SEAL78.2%–
HiL-BenchScale AI SEAL35.3%†–
τ³-bench Bankingτ²-bench26.0%–
GDPval-AA v2.1, normalised scoreArtificial Analysis14.6%†60.7%
GDPval-AA v2.1Artificial Analysis799†1717
τ³-Banking (AA)Artificial Analysis21.4%†–
ITBench SRE (AA)Artificial Analysis30.3%†42.1%
Analyst Agent (AA)Artificial Analysis41.3%†52.5%
APEX-Agents (AA)Artificial Analysis32.0%†–
CyberBenchVals AI–69.5%
Finance Agent v2Vals AI43.0%52.3%
Finance Agent v2.1Vals AI–60.6%
Harvey's Legal Agent Benchmark v1.1Vals AI–18.3%
Harvey's Legal Agent Benchmark v1Vals AI0.0%12.5%
Legal Research BenchVals AI20.7%47.1%
Robo-benchVals AI–0.2%
SREBenchVals AI0.0%3.8%
Tax Agent BenchVals AI9.3%35.8%
Terminal-Bench 2.0 (Vals)Vals AI67.4%–
Terminal-Bench 4.0 (Vals)Vals AI2.5%28.8%
Terminal-Bench ScienceVals AI1.4%10.0%
Arena SearchArena (LMArena)1209†–
Arena Agent Task CompletionArena (LMArena)-11.3†5.1
BALROGBALROG57.0%†–
DeepResearch BenchDeepResearch Bench47.8%–
PostTrainBenchEpoch AI Benchmarking Hub18.1%†–
ExploitBenchEpoch AI Benchmarking Hub26.1%†–
METR Time HorizonsMETR77.0%†–
GBAEvalEpoch AI Benchmarking Hub0.8%†–
Vending-Bench 2Andon Labs911.2†10536.8†
AutomationBenchArtificial Analysis35.4%†65.6%
GDP.pdf (AA)Artificial Analysis17.8%†20.0%
Harvey LAB-AA v1.1Harvey0.0%†9.4%
EnterpriseOps-GymArtificial Analysis42.2%†–
AA-Briefcase v1.1Artificial Analysis457†1636
GDPxGDPx by SemiAnalysis–3.9%
Design Arena AgenticDesign Arena1088†1277†
Terminal-Bench-Science 0.1 (AA)Artificial Analysis–11.4%
CWE-Bench (AA)Artificial Analysis–68.3%
DeepSec-Bench (AA)Artificial Analysis–26.9%
CyberGym end-to-end (AA)Artificial Analysis–74.0%
MKA (AA)Artificial Analysis–40.1%
BrowseCompOpenAI31.2%†–
DeepSearchQAGoogle60.2%†–
FACTS SearchGoogle90.2%†85.6%†
Maths
FrontierMath Tiers 1–3Epoch AI Benchmarking Hub59.6%†53.0%
FrontierMath Tier 4Epoch AI Benchmarking Hub26.8%†17.1%
OTIS Mock AIMEEpoch AI Benchmarking Hub95.6%98.1%
ProofBenchVals AI26.0%†26.0%†
LiveBench MathematicsLiveBench91.0%95.7%
AIME (Vals)Vals AI98.1%–
AIME 2026MathArena98.3%–
HMMT February 2026MathArena94.7%–
USAMO 2026MathArena74.4%–
MathArena ApexMathArena60.9%–
Arena MathsArena (LMArena)1488†1447
FrontierMath ErdősEpoch AI Benchmarking Hub–0.0%
Knowledge
SimpleQA VerifiedEpoch AI Benchmarking Hub73.5%56.0%
LiveBench 2.0 Data AnalysisLiveBench–76.9%
LiveBench ResearchLiveBench–89.5%
LiveBench 1.0 Data AnalysisLiveBench78.5%76.9%
AA-Omniscience v1.1Artificial Analysis–31.2
MMLU-ProVals AI91.0%–
LegalBenchVals AI87.4%84.4%
CorpFinVals AI64.5%–
TaxEvalVals AI72.9%–
MedQAVals AI96.4%–
PRBench FinanceScale AI SEAL41.9%†–
PRBench LegalScale AI SEAL44.0%†47.6%
MultiNRCScale AI SEAL64.7%†–
BioMysteryBenchVals AI60.0%69.3%
CaseLaw v2Vals AI64.8%–
Excel Modeling BenchmarkVals AI52.6%67.0%
Excel Modeling Benchmark v1.1Vals AI–71.5%
MedCodeVals AI59.1%49.5%
MedScribeVals AI76.1%89.4%
Public Benefits Bench v1.1Vals AI53.8%65.6%
Access to Justice BenchmarkVals AI–73.7%
Financial Coaching BenchVals AI66.7%74.1%
Immigration BenchVals AI–68.0%
DrugDiscoveryBenchScale AI SEAL41.9%–
EBR-benchEpoch AI Benchmarking Hub14.3%†–
GDP.pdfEpoch AI Benchmarking Hub17.0%22.8%
AA-Omniscience v1.1: accuracyArtificial Analysis–42.7%
AA-Omniscience v1.1: non-hallucinationArtificial Analysis–80.0%
Global-MMLU-Lite (AA)Artificial Analysis93.2%†–
HealthBench Professional (AA)OpenAI–55.8%
FACTS ParametricGoogle79.4%†54.3%†
Instruction following
LiveBench LanguageLiveBench85.4%80.1%
LiveBench Instruction FollowingLiveBench79.1%75.3%
IFBenchArtificial Analysis77.1%†–
MultiChallengeScale AI SEAL71.4%†–
TutorBenchScale AI SEAL53.0%†–
Arena Instruction FollowingArena (LMArena)1480†1435
Human preference
Arena TextArena (LMArena)1487†1443
EQ-Bench 4EQ-Bench1132†–
EQ-Bench Creative Writing v3EQ-Bench1491†2012†
Arena Creative WritingArena (LMArena)1482†1421
Arena Multi-turnArena (LMArena)1495†1435
Arena Longer QueriesArena (LMArena)1499†1454
Multimodal
Arena VisionArena (LMArena)1296†1230
LiveBench DesignLiveBench–75.0%
MMMU-ProArtificial Analysis82.4%†78.2%†
MMMU-Pro (Vals)Vals AI88.2%–
MortgageTaxVals AI69.4%–
SAGEVals AI83.2%88.7%
VTBScale AI SEAL29.0%†–
GeoBenchGeoBench84.0%†61.0%†
Blueprint-Bench 2Epoch AI Benchmarking Hub26.5%†32.5%†
Furniture AssemblyEpoch AI Benchmarking Hub26.7%20.8%
VIALS-AAHandshake AI–37.9%
Code2Video-AAArtificial Analysis–1127
AA-3DArtificial Analysis–992
FACTS MultimodalGoogle50.4%†40.9%†
Long context
AA-LCR v1.1Artificial Analysis82.0%†76.7%
Arena DocumentArena (LMArena)1459†–
MLCRArtificial Analysis11.1%†20.0%
FACTS GroundingGoogle56.6%†68.6%†
Composite
Epoch Capabilities IndexEpoch AI Benchmarking Hub156.2†156.2†
LiveBench 2.0LiveBench–67.9%
LiveBench 1.0LiveBench77.0%77.4%
AA Intelligence Index v5.0.1Artificial Analysis–35.5
AA Intelligence Index v4.3.2Artificial Analysis29.7†46.5
AA Progress Index v1Artificial Analysis296.1†322.7
Vals IndexVals AI–58.6
Vals Finance IndexVals AI–58.8%
Vals RSI IndexVals AI–20.2%
Vals Science IndexVals AI27.4%34.8%
Vals Multimodal IndexVals AI56.1%–
Vals Router IndexVals AI–58.6%†
Vals Legal IndexVals AI–72.7%
AA Cyber IndexArtificial Analysis–56.4
Safety & honesty
FORTRESSScale AI SEAL29.8%†–
MASKScale AI SEAL42.4%†–
DistressBenchScale AI SEAL68.8%†52.4%†

Data as of 2026-11-16. Best configuration of each model; every score links to its source on the model pages.

DuelLab GameBench 2, release gb2-20261111-7b598bb13de4 (https://benchmarks.duellab.org/releases/gb2-20261111-7b598bb13de4/), CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Scores mapped to BenchLeader model names; not endorsed by DuelLab.

What changed

  • Grok 4.7 (xhigh): BenchLeader Index 58.0 → 57.4.
  • Grok 4.7 (xhigh): 8 new results (LiveBench 2.0, LiveBench Long Agentic, LiveBench 2.0 Reasoning…).
  • Gemini 3.1 Pro (high): 4 new results (AIME 2026, HMMT February 2026, USAMO 2026…).
  • Grok 4.7 (xhigh): 1 new result (MirrorCode).
  • Grok 4.7 (xhigh): 1 new result (ALE-Bench).
  • Grok 4.7 (xhigh): 2 score revisions.
  • Grok 4.7 (xhigh): 2 score revisions.
  • Grok 4.7 (xhigh): 2 score revisions.
  • Grok 4.7 (xhigh): 1 score revision.
  • Grok 4.7 (xhigh): BenchLeader Index 59.5 → 58.0.

Rankings: Best LLM overall · Best LLM for agents · Best cheap LLMs

Gemini 3.1 Pro vs Grok 4.7: questions

Is Gemini 3.1 Pro better than Grok 4.7?
Gemini 3.1 Pro (high) and Grok 4.7 (xhigh) are neck and neck on quality (60.4 vs 57.4, within the ±4.3 margin). The BenchLeader Index combines every independent quality benchmark; the two are within the margin of error as of 16 Nov 2026, so check the category scores for your use.
Gemini 3.1 Pro vs Grok 4.7: which is cheaper, and will that change?
Grok 4.7 is cheaper today: $3.00 against $4.50 per million tokens, blended at three input tokens per output token. No price change has been announced for either.
Is Gemini 3.1 Pro or Grok 4.7 better for coding?
Grok 4.7 scores higher in coding (61 vs 59 on the category index, where 50 is average). On IOI, the top shared coding benchmark, it is 51.8% for Gemini 3.1 Pro against 57.7% for Grok 4.7.
Which is faster, Gemini 3.1 Pro or Grok 4.7?
Gemini 3.1 Pro streams ~1.5× faster (111 vs 68 output tokens per second, Artificial Analysis 7-day median).
Is Gemini 3.1 Pro or Grok 4.7 better for agents and tool use?
They are level in agentic tasks (57 vs 57 on the category index). On Terminal-Bench 2.1 (Vals), the top shared agents & tools benchmark, it is 70.8% for Gemini 3.1 Pro against 73.4% for Grok 4.7.
More questions (4)
Which is better for long documents?
Gemini 3.1 Pro accepts more context: 1,048,576 against 500,000 tokens for Grok 4.7.
Which has lower latency?
Gemini 3.1 Pro answers first: 15.2 s against 55.9 s to the first answer token, as Artificial Analysis measures it. Reasoning effort drives most of this: a higher setting thinks longer before it answers.
Do independent benchmarks agree on Gemini 3.1 Pro vs Grok 4.7?
Across the 40 benchmarks both have, Gemini 3.1 Pro leads 12, Grok 4.7 leads 28. Every overall index that rates both puts Gemini 3.1 Pro ahead.
When was Grok 4.7 released?
Grok 4.7 was released on 21 Sep 2026.