Enter opens the highlighted result. Esc closes.

Gemini 3.7 Flash vs Grok 4.7

Grok 4.7 leads Gemini 3.7 Flash on coding, 66.7 to 58.0 on the Vibe Coding Index, and Gemini 3.7 Flash costs 1.6x less per output token ($3.75 vs $6.00 per million). Updated October 22, 2026; 90 benchmarks have a result for both.

Gemini 3.7 FlashGoogle
Coding
58.0
Overall
65.7
Output $/M
$3.75
68
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
22
vs boards won of 90 shared

Gemini 3.7 Flash or Grok 4.7: which to pick

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 58.0 for Gemini 3.7 Flash, though on 5 benchmarks against 6.

Pick Gemini 3.7 Flash for output tokens 1.6x cheaper ($3.75 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).

Shared results
90
Gemini 3.7 Flash only
24
Grok 4.7 only
9
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.7 Flash 58.0 from 6 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Math, 16.4 points apart on average over 6 shared benchmarks.
Widest single gap
ProofBench: Gemini 3.7 Flash 58.0% against Grok 4.7 26.0%, 32.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.7 Flash $3.75 against Grok 4.7 $6.00 per million output tokens, 1.6x apart.
Context window
Gemini 3.7 Flash 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 3.7 FlashBarsGrok 4.7Ties
Coding611
Intelligence11
Agentic work46
Reasoning120
Math51
Knowledge70
Web design61
General272
All shared boards6822
CodingLike-for-likeSix of these boards feed the Vibe Coding Index611
Coding benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 4.7Leader
LiveBench coding80.5%84.5%Grok 4.7
LMArena WebDev15911637Grok 4.7
AA Coding Index71.5Not measuredOnly Gemini 3.7 Flash measured
LiveCodeBench (Vals AI)88.7%Not measuredOnly Gemini 3.7 Flash measured
SWE-bench Verified (Vals AI)80.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 4 (Vals AI)12.1%28.8%Grok 4.7
Vibe Code Bench (Vals AI)70.4%86.2%Grok 4.7
Code migration (Vals AI)34.8%44.8%Grok 4.7
ProgramBench (Vals AI)0.0%0.5%Grok 4.7
IOI (Vals AI)67.8%57.7%Gemini 3.7 Flash
Terminal-Bench 2.1 (Vals AI)77.5%73.4%Gemini 3.7 Flash
SWE-bench Multimodal (Vals AI)Not measured42.9%Only Grok 4.7 measured
SkillsBench (Vals AI)65.9%Not measuredOnly Gemini 3.7 Flash measured
CyberBench (Vals AI)43.8%69.5%Grok 4.7
SciCode59.8%57.8%Gemini 3.7 Flash
FrontierCode43.6%47.6%Grok 4.7
FrontierSWE20.3%29.5%Grok 4.7
ALE-Bench904.3Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: coding14991432Gemini 3.7 Flash
LMArena Text: software and IT14981421Gemini 3.7 Flash
LMArena WebDev: React15871663Grok 4.7
LMArena WebDev: HTML15931627Grok 4.7
LMArena WebDev: from an image15991586Gemini 3.7 Flash
SciCode13.8%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 4.7Leader
AA Intelligence Index39.646.4Grok 4.7
Epoch Capabilities Index158.0154.4Gemini 3.7 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index46
Agentic work benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 4.7Leader
Design Arena: agents building web apps1223Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building full-stack apps1208Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building mobile apps1229Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building Android apps1243Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building Godot games1264Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building games1235Not measuredOnly Gemini 3.7 Flash measured
Design Arena: spreadsheets1058Not measuredOnly Gemini 3.7 Flash measured
LiveBench research76.5%86.4%Grok 4.7
LiveBench browser56.0%60.0%Grok 4.7
LiveBench long agentic28.3%50.1%Grok 4.7
SREBench (Vals AI)4.6%3.8%Gemini 3.7 Flash
Finance Agent (Vals AI)59.0%52.3%Gemini 3.7 Flash
Tax Agent Bench (Vals AI)22.8%34.2%Grok 4.7
Legal Research Bench (Vals AI)34.6%47.1%Grok 4.7
Harvey's Legal Agent Benchmark (Vals AI)Not measured18.3%Only Grok 4.7 measured
Excel Modeling Benchmark (Vals AI)71.3%67.0%Gemini 3.7 Flash
BioMysteryBench (Vals AI)Not measured69.3%Only Grok 4.7 measured
Terminal-Bench-Science (Vals AI)7.1%10.0%Grok 4.7
Vals Science IndexNot measured34.8%Only Grok 4.7 measured
Robo-bench (Vals AI)Not measured0.2%Only Grok 4.7 measured
APEX-Agents67.8%54.6%Gemini 3.7 Flash
Remote Labor Index5.0%Not measuredOnly Gemini 3.7 Flash measured
Vending-Bench 2Not measured$10,537Only Grok 4.7 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index120
Reasoning benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 4.7Leader
GPQA Diamond93.9%Not measuredOnly Gemini 3.7 Flash measured
LiveBench reasoning87.8%82.7%Gemini 3.7 Flash
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
MMMU Pro (Vals AI)89.0%Not measuredOnly Gemini 3.7 Flash measured
GPQA Diamond (Artificial Analysis run)94.5%Not measuredOnly Gemini 3.7 Flash measured
Humanity's Last Exam (Artificial Analysis run)47.9%43.1%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)94.8%92.7%Gemini 3.7 Flash
ARC-AGI95.5%90.2%Gemini 3.7 Flash
ARC-AGI-284.6%61.4%Gemini 3.7 Flash
Chess puzzles66.0%41.0%Gemini 3.7 Flash
Mystery game puzzles37.0%29.0%Gemini 3.7 Flash
LMArena Text: hard prompts14951415Gemini 3.7 Flash
LMArena Text: expert15121439Gemini 3.7 Flash
LMArena Text: hard prompts in English14871427Gemini 3.7 Flash
LMArena Vision: diagrams13291254Gemini 3.7 Flash
LMArena Vision: homework13201309Gemini 3.7 Flash
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index51
Math benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 4.7Leader
OTIS Mock AIME97.2%98.1%Grok 4.7
FrontierMath, tiers 1 to 371.6%53.0%Gemini 3.7 Flash
FrontierMath, tier 436.6%17.1%Gemini 3.7 Flash
ProofBench58.0%26.0%Gemini 3.7 Flash
LMArena Text: math15111414Gemini 3.7 Flash
LMArena Text: mathematical work15021435Gemini 3.7 Flash
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index70
Knowledge benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 4.7Leader
MMLU Pro90.1%Not measuredOnly Gemini 3.7 Flash measured
LegalBench (Vals AI)87.3%84.4%Gemini 3.7 Flash
TaxEval (Vals AI)74.7%Not measuredOnly Gemini 3.7 Flash measured
MortgageTax (Vals AI)66.7%Not measuredOnly Gemini 3.7 Flash measured
MedCode (Vals AI)53.4%49.5%Gemini 3.7 Flash
SimpleQA Verified69.2%56.0%Gemini 3.7 Flash
LMArena Text: science15111419Gemini 3.7 Flash
LMArena Text: medicine and healthcare14941395Gemini 3.7 Flash
LMArena Text: legal and government14961423Gemini 3.7 Flash
LMArena Text: business and finance14791389Gemini 3.7 Flash
FACTS Benchmark Suite71.2%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index61
Web design benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 4.7Leader
Design Arena: websites13031255Gemini 3.7 Flash
Design Arena: UI components12961275Gemini 3.7 Flash
Design Arena: game dev13171314Gemini 3.7 Flash
Design Arena: data viz13151238Gemini 3.7 Flash
Design Arena: 3D13071274Gemini 3.7 Flash
Design Arena: all code categories13081273Gemini 3.7 Flash
Design Arena: SVG1283Not measuredOnly Gemini 3.7 Flash measured
Design Arena: ASCII art1276Not measuredOnly Gemini 3.7 Flash measured
LiveBench design73.2%78.0%Grok 4.7
GeneralLike-for-likePublic boards, shown as published, kept out of the index272
General benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 4.7Leader
Vals IndexNot measured58.6%Only Grok 4.7 measured
LiveBench data analysis68.0%76.9%Grok 4.7
Public Benefits Bench (Vals AI)Not measured65.6%Only Grok 4.7 measured
SAGE (Vals AI)49.2%40.8%Gemini 3.7 Flash
MedScribe (Vals AI)83.9%89.4%Grok 4.7
Long context reasoning (AA-LCR)83.0%80.0%Gemini 3.7 Flash
DTBench96.8%96.0%Gemini 3.7 Flash
LMCA50.4%49.4%Gemini 3.7 Flash
Furniture assembly26.7%20.8%Gemini 3.7 Flash
LMArena Text14891399Gemini 3.7 Flash
LMArena Text: instruction following14841406Gemini 3.7 Flash
LMArena Text: creative writing14881381Gemini 3.7 Flash
LMArena Vision13141231Gemini 3.7 Flash
LMArena Text: English14831411Gemini 3.7 Flash
LMArena Text: non-English14871386Gemini 3.7 Flash
LMArena Text: Chinese15521449Gemini 3.7 Flash
LMArena Text: German15061366Gemini 3.7 Flash
LMArena Text: Japanese15111359Gemini 3.7 Flash
LMArena Text: Korean14811383Gemini 3.7 Flash
LMArena Text: French15001431Gemini 3.7 Flash
LMArena Text: Spanish14951406Gemini 3.7 Flash
LMArena Text: Russian15151399Gemini 3.7 Flash
LMArena Text: Polish15031420Gemini 3.7 Flash
LMArena Text: multi-turn14851394Gemini 3.7 Flash
LMArena Text: longer queries14921416Gemini 3.7 Flash
LMArena Text: writing and language14911394Gemini 3.7 Flash
LMArena Text: entertainment and media14771376Gemini 3.7 Flash
LMArena Vision: English13091229Gemini 3.7 Flash
LMArena Vision: Chinese13941250Gemini 3.7 Flash
LMArena Vision: reading text13221241Gemini 3.7 Flash
LMArena Vision: humor1299Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: creative writing13121217Gemini 3.7 Flash
Neither model has a result on the other 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.7 Flash and Grok 4.7
BenchmarkGemini 3.7 FlashGrok 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 3.7 Flash$0.0026Fits in one request
Grok 4.7$0.0050Fits in one request

Gemini 3.7 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.7 Flash$0.049Fits in one request
Grok 4.7$0.118Fits in one request

Gemini 3.7 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.7 Flash$0.188Fits in one request
Grok 4.7$0.460Fits in one request

Gemini 3.7 Flash 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.7 Flash and Grok 4.7
SpecificationGoogle Gemini 3.7 FlashSpaceXAI Grok 4.7
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 13, 2026September 21, 2026
Context window1.05M500K
Input $/Mtok$0.75$2.00
Output $/Mtok$3.75$6.00
Coding index58.066.7
Independent measurements behind it65
Cost per solved task$1.78Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.7 Flash better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 58.0 for Gemini 3.7 Flash, though on 5 benchmarks against 6. Pick Gemini 3.7 Flash for output tokens 1.6x cheaper ($3.75 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).

Which is cheaper, Gemini 3.7 Flash or Grok 4.7?

Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Gemini 3.7 Flash only.

Which has the bigger context window, Gemini 3.7 Flash or Grok 4.7?

Gemini 3.7 Flash, with 1.05M tokens against 500K.

How many benchmarks is the Gemini 3.7 Flash vs Grok 4.7 comparison based on?

90 benchmarks have a result for both models as of October 22, 2026. Gemini 3.7 Flash's coding index rests on 6 independent benchmarks and Grok 4.7's on 5. 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-7-flash-vs-grok-4-7" title="Gemini 3.7 Flash 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-3-7-flash-vs-grok-4-7">LLMBenchmark.ai, Gemini 3.7 Flash vs Grok 4.7</a></p>