LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 2.5 Pro vs Grok 4.7

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

Gemini 2.5 ProGoogle
Coding
37.0
Overall
16.1
Output $/M
$10.00
36
Grok 4.7xAI
Coding
75.0
Overall
46.4
Output $/M
$6.00
26
vs boards won of 62 shared

Decision reading

Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 37.0 for Gemini 2.5 Pro.

Pick Gemini 2.5 Pro when the context window is larger, 1.05M against 500K tokens, or when what matters is LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
62
Gemini 2.5 Pro only
25
Grok 4.7 only
37
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 2.5 Pro 37.0 from 2 benchmarks, Grok 4.7 75.0 from 2 benchmarks.
Widest category
Agentic work, 62.3 points apart on average over 1 shared benchmark.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 2.5 Pro 0.4% against Grok 4.7 86.2%, 85.8 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Pro $10.00 against Grok 4.7 $6.00 per million output tokens, 1.7x apart.
Context window
Gemini 2.5 Pro takes 1.05M tokens, Grok 4.7 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 2.5 ProBarsGrok 4.7Ties
Coding25
Intelligence02
Agentic work01
Reasoning45
Math23
Knowledge50
Web design06
General234
All shared boards3626
CodingLike-for-likeFour of these boards feed the Vibe Coding Index25
Coding benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
SWE-bench Verified53.6%Not measuredOnly Gemini 2.5 Pro measured
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDev12261637Grok 4.7
AA Coding Index33.3Not measuredOnly Gemini 2.5 Pro measured
SWE-bench Verified (Vals AI)54.4%Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)0.4%86.2%Grok 4.7
Code migration (Vals AI)Not measured44.8%Only Grok 4.7 measured
ProgramBench (Vals AI)Not measured0.5%Only Grok 4.7 measured
IOI (Vals AI)Not measured57.7%Only Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)Not measured73.4%Only Grok 4.7 measured
SWE-bench Multimodal (Vals AI)Not measured42.9%Only Grok 4.7 measured
CyberBench (Vals AI)Not measured69.5%Only Grok 4.7 measured
LiveCodeBench (Artificial Analysis run)80.1%Not measuredOnly Gemini 2.5 Pro measured
SciCode46.3%57.8%Grok 4.7
Terminal-Bench Hard (Artificial Analysis run)26.5%Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench32.6%Not measuredOnly Gemini 2.5 Pro measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
GSO-Bench3.9%Not measuredOnly Gemini 2.5 Pro measured
WeirdML54.0%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: coding14521432Gemini 2.5 Pro
LMArena Text: software and IT14591421Gemini 2.5 Pro
LMArena WebDev: ReactNot measured1663Only Grok 4.7 measured
LMArena WebDev: HTML12351627Grok 4.7
LMArena WebDev: from an image12851586Grok 4.7
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
AA Intelligence Index16.146.4Grok 4.7
Epoch Capabilities Index145.1154.4Grok 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
AA Agentic Index1.6Not measuredOnly Gemini 2.5 Pro measured
LiveBench researchNot measured86.4%Only Grok 4.7 measured
LiveBench browserNot measured60.0%Only Grok 4.7 measured
LiveBench long agenticNot measured50.1%Only Grok 4.7 measured
SREBench (Vals AI)Not measured3.8%Only Grok 4.7 measured
Finance Agent (Vals AI)Not measured52.3%Only Grok 4.7 measured
Tax Agent Bench (Vals AI)Not measured34.2%Only Grok 4.7 measured
Legal Research Bench (Vals AI)Not measured47.1%Only Grok 4.7 measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured18.3%Only Grok 4.7 measured
Excel Modeling Benchmark (Vals AI)Not measured67.0%Only Grok 4.7 measured
BioMysteryBench (Vals AI)Not measured69.3%Only Grok 4.7 measured
Terminal-Bench-Science (Vals AI)Not measured10.0%Only Grok 4.7 measured
Vals Science IndexNot measured34.8%Only Grok 4.7 measured
Robo-bench (Vals AI)Not measured0.2%Only Grok 4.7 measured
τ²-Bench Telecom54.1%Not measuredOnly Gemini 2.5 Pro measured
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
GDPval23.3%Not measuredOnly Gemini 2.5 Pro measured
DeepResearch Bench41.5%Not measuredOnly Gemini 2.5 Pro measured
Vending-Bench 2$574$10,537Grok 4.7
Neither model has a result on the other 20 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index45
Reasoning benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
LiveBench reasoningNot measured82.7%Only Grok 4.7 measured
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
GPQA Diamond (Artificial Analysis run)84.4%Not measuredOnly Gemini 2.5 Pro measured
Humanity's Last Exam (Artificial Analysis run)22.5%43.1%Grok 4.7
GPQA Diamond (Epoch AI run)85.3%92.7%Grok 4.7
ARC-AGI41.0%90.2%Grok 4.7
ARC-AGI-24.9%61.4%Grok 4.7
Chess puzzlesNot measured41.0%Only Grok 4.7 measured
Mystery game puzzlesNot measured29.0%Only Grok 4.7 measured
LMArena Text: hard prompts14551415Gemini 2.5 Pro
LMArena Text: expert14521439Gemini 2.5 Pro
LMArena Text: hard prompts in English14531427Gemini 2.5 Pro
LMArena Vision: diagrams12741254Gemini 2.5 Pro
LMArena Vision: homework12811309Grok 4.7
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index23
Math benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
AA Math Index87.7Not measuredOnly Gemini 2.5 Pro measured
AIME 2025 (Artificial Analysis run)87.7%Not measuredOnly Gemini 2.5 Pro measured
OTIS Mock AIME84.7%98.1%Grok 4.7
FrontierMath, tiers 1 to 324.6%53.0%Grok 4.7
FrontierMath, tier 40.0%17.1%Grok 4.7
ProofBenchNot measured26.0%Only Grok 4.7 measured
LMArena Text: math14501414Gemini 2.5 Pro
LMArena Text: mathematical work14541435Gemini 2.5 Pro
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
LegalBench (Vals AI)Not measured84.4%Only Grok 4.7 measured
CaseLaw (Vals AI)63.9%Not measuredOnly Gemini 2.5 Pro measured
CorpFin (Vals AI)60.8%Not measuredOnly Gemini 2.5 Pro measured
MortgageTax (Vals AI)68.9%Not measuredOnly Gemini 2.5 Pro measured
MedCode (Vals AI)50.6%49.5%Gemini 2.5 Pro
MMLU Pro (Artificial Analysis run)86.2%Not measuredOnly Gemini 2.5 Pro measured
SimpleQA VerifiedNot measured56.0%Only Grok 4.7 measured
LMArena Text: science14801419Gemini 2.5 Pro
LMArena Text: medicine and healthcare14761395Gemini 2.5 Pro
LMArena Text: legal and government14801423Gemini 2.5 Pro
LMArena Text: business and finance14391389Gemini 2.5 Pro
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
Design Arena: websites11671255Grok 4.7
Design Arena: UI components11391271Grok 4.7
Design Arena: game dev11121314Grok 4.7
Design Arena: data viz12221227Grok 4.7
Design Arena: 3D10801269Grok 4.7
Design Arena: all code categories11521271Grok 4.7
LiveBench designNot measured78.0%Only Grok 4.7 measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index234
General benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
Vals IndexNot measured58.6%Only Grok 4.7 measured
LiveBench data analysisNot measured76.9%Only Grok 4.7 measured
Public Benefits Bench (Vals AI)Not measured65.6%Only Grok 4.7 measured
SAGE (Vals AI)41.9%40.8%Gemini 2.5 Pro
MedScribe (Vals AI)73.5%89.4%Grok 4.7
IFBench48.7%Not measuredOnly Gemini 2.5 Pro measured
Long context reasoning (AA-LCR)69.0%80.0%Grok 4.7
DTBench82.4%96.0%Grok 4.7
LMCA34.8%49.4%Grok 4.7
Creative writing (Lech Mazur)83.8%Not measuredOnly Gemini 2.5 Pro measured
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
LMArena Text14581399Gemini 2.5 Pro
LMArena Text: instruction following14371406Gemini 2.5 Pro
LMArena Text: creative writing14541381Gemini 2.5 Pro
LMArena Vision12631231Gemini 2.5 Pro
LMArena Text: English14581411Gemini 2.5 Pro
LMArena Text: non-English14521386Gemini 2.5 Pro
LMArena Text: Chinese15071449Gemini 2.5 Pro
LMArena Text: German14871366Gemini 2.5 Pro
LMArena Text: Japanese14611359Gemini 2.5 Pro
LMArena Text: Korean14341383Gemini 2.5 Pro
LMArena Text: French14731431Gemini 2.5 Pro
LMArena Text: Spanish14741406Gemini 2.5 Pro
LMArena Text: Russian14611399Gemini 2.5 Pro
LMArena Text: Polish14791420Gemini 2.5 Pro
LMArena Text: multi-turn14531394Gemini 2.5 Pro
LMArena Text: longer queries14491416Gemini 2.5 Pro
LMArena Text: writing and language14541394Gemini 2.5 Pro
LMArena Text: entertainment and media14411376Gemini 2.5 Pro
LMArena Vision: English12611229Gemini 2.5 Pro
LMArena Vision: Chinese13001250Gemini 2.5 Pro
LMArena Vision: reading text12701241Gemini 2.5 Pro
LMArena Vision: humor1262Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: captioning1304Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: recognizing things1283Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: creative writing12651217Gemini 2.5 Pro
LMArena Document1421Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 9 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 2.5 Pro and Grok 4.7
BenchmarkGemini 2.5 ProGrok 4.7Leader
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 2.5 Pro$0.0063Fits in one request
Grok 4.7$0.0050Fits in one request

Grok 4.7 costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Pro$0.092Fits in one request
Grok 4.7$0.118Fits in one request

Gemini 2.5 Pro costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Pro$0.350Fits in one request
Grok 4.7$0.460Fits in one request

Gemini 2.5 Pro 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 2.5 Pro and Grok 4.7
SpecificationGoogle Gemini 2.5 ProSpaceXAI Grok 4.7
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025September 21, 2026
Context window1.05M500K
Input $/Mtok$1.25$2.00
Output $/Mtok$10.00$6.00
Coding index37.075.0
Independent measurements behind it22
Cost per solved task$0.64Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Pro better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 37.0 for Gemini 2.5 Pro. Pick Gemini 2.5 Pro when the context window is larger, 1.05M against 500K tokens, or when what matters is LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, Gemini 2.5 Pro or Grok 4.7?

Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Gemini 2.5 Pro only.

Which has the bigger context window, Gemini 2.5 Pro or Grok 4.7?

Gemini 2.5 Pro, with 1.05M tokens against 500K.

How many benchmarks is the Gemini 2.5 Pro vs Grok 4.7 comparison based on?

62 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Pro's coding index rests on 2 independent benchmarks and Grok 4.7's on 2. 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-2-5-pro-vs-grok-4-7" title="Gemini 2.5 Pro vs Grok 4.7, 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-2-5-pro-vs-grok-4-7">LLMBenchmark.ai, Gemini 2.5 Pro vs Grok 4.7</a></p>