LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.5 Flash vs Grok 4.7

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

Gemini 3.5 FlashGoogle
Coding
42.8
Overall
33.6
Output $/M
$9.00
52
Grok 4.7xAI
Coding
75.0
Overall
46.4
Output $/M
$6.00
27
vs boards won of 79 shared

Decision reading

Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 42.8 for Gemini 3.5 Flash.

Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 500K tokens, or when what matters is Terminal-Bench 2.1 (Vals AI) or LMArena Text: coding, where it leads.

Shared results
79
Gemini 3.5 Flash only
31
Grok 4.7 only
20
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.5 Flash 42.8 from 1 benchmark, Grok 4.7 75.0 from 2 benchmarks.
Widest category
Agentic work, 14.5 points apart on average over 7 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3.5 Flash 48.7% against Grok 4.7 86.2%, 37.5 points apart on a 0 to 100 scale.
Output price
Gemini 3.5 Flash $9.00 against Grok 4.7 $6.00 per million output tokens, 1.5x apart.
Context window
Gemini 3.5 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.5 FlashBarsGrok 4.7Ties
Coding39
Intelligence11
Agentic work16
Reasoning101
Math51
Knowledge61
Web design33
General235
All shared boards5227
CodingLike-for-likeFour of these boards feed the Vibe Coding Index39
Coding benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 FlashGrok 4.7Leader
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDev14991637Grok 4.7
LiveCodeBench (Vals AI)87.6%Not measuredOnly Gemini 3.5 Flash measured
SWE-bench Verified (Vals AI)78.8%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench 4 (Vals AI)6.1%28.8%Grok 4.7
Vibe Code Bench (Vals AI)48.7%86.2%Grok 4.7
Code migration (Vals AI)26.8%44.8%Grok 4.7
ProgramBench (Vals AI)0.0%0.5%Grok 4.7
IOI (Vals AI)Not measured57.7%Only Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)74.2%73.4%Gemini 3.5 Flash
SWE-bench Multimodal (Vals AI)Not measured42.9%Only Grok 4.7 measured
SkillsBench (Vals AI)52.7%Not measuredOnly Gemini 3.5 Flash measured
CyberBench (Vals AI)Not measured69.5%Only Grok 4.7 measured
SciCode53.9%57.8%Grok 4.7
Terminal-Bench Hard (Artificial Analysis run)46.2%Not measuredOnly Gemini 3.5 Flash measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
WeirdML62.6%Not measuredOnly Gemini 3.5 Flash measured
ALE-Bench911.0Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: coding14931432Gemini 3.5 Flash
LMArena Text: software and IT14941421Gemini 3.5 Flash
LMArena WebDev: React14951663Grok 4.7
LMArena WebDev: HTML15221627Grok 4.7
LMArena WebDev: from an image15041586Grok 4.7
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 FlashGrok 4.7Leader
AA Intelligence Index33.646.4Grok 4.7
Epoch Capabilities Index154.9154.4Gemini 3.5 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index16
Agentic work benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 FlashGrok 4.7Leader
Design Arena: agents building web apps1202Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building full-stack apps1197Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building mobile apps1175Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building Android apps1190Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building Godot games1098Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building games1180Not measuredOnly Gemini 3.5 Flash measured
Design Arena: HTML slides1142Not measuredOnly Gemini 3.5 Flash measured
Design Arena: PowerPoint slides1178Not measuredOnly Gemini 3.5 Flash 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)57.9%52.3%Gemini 3.5 Flash
Tax Agent Bench (Vals AI)21.6%34.2%Grok 4.7
Legal Research Bench (Vals AI)30.8%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)63.5%67.0%Grok 4.7
BioMysteryBench (Vals AI)Not measured69.3%Only Grok 4.7 measured
Terminal-Bench-Science (Vals AI)5.7%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
τ²-Bench Telecom95.6%Not measuredOnly Gemini 3.5 Flash measured
APEX-Agents27.5%54.6%Grok 4.7
Vending-Bench 2$5,396$10,537Grok 4.7
Neither model has a result on the other 15 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index101
Reasoning benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 FlashGrok 4.7Leader
GPQA Diamond92.7%Not measuredOnly Gemini 3.5 Flash measured
LiveBench reasoningNot measured82.7%Only Grok 4.7 measured
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
MMMU Pro (Vals AI)88.3%Not measuredOnly Gemini 3.5 Flash measured
GPQA Diamond (Artificial Analysis run)92.2%Not measuredOnly Gemini 3.5 Flash measured
Humanity's Last Exam (Artificial Analysis run)42.7%43.1%Grok 4.7
GPQA Diamond (Epoch AI run)92.8%92.7%Gemini 3.5 Flash
ARC-AGI92.5%90.2%Gemini 3.5 Flash
ARC-AGI-272.1%61.4%Gemini 3.5 Flash
SimpleBench76.7%Not measuredOnly Gemini 3.5 Flash measured
Chess puzzles45.0%41.0%Gemini 3.5 Flash
Mystery game puzzles32.0%29.0%Gemini 3.5 Flash
EBR-bench4.8%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: hard prompts14881415Gemini 3.5 Flash
LMArena Text: expert14951439Gemini 3.5 Flash
LMArena Text: hard prompts in English14831427Gemini 3.5 Flash
LMArena Vision: diagrams13231254Gemini 3.5 Flash
LMArena Vision: homework13301309Gemini 3.5 Flash
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index51
Math benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 FlashGrok 4.7Leader
OTIS Mock AIME95.6%98.1%Grok 4.7
FrontierMath, tiers 1 to 362.8%53.0%Gemini 3.5 Flash
FrontierMath, tier 426.8%17.1%Gemini 3.5 Flash
ProofBench31.0%26.0%Gemini 3.5 Flash
LMArena Text: math15041414Gemini 3.5 Flash
LMArena Text: mathematical work14951435Gemini 3.5 Flash
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index61
Knowledge benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 FlashGrok 4.7Leader
MMLU Pro89.5%Not measuredOnly Gemini 3.5 Flash measured
LegalBench (Vals AI)83.6%84.4%Grok 4.7
CorpFin (Vals AI)64.7%Not measuredOnly Gemini 3.5 Flash measured
TaxEval (Vals AI)74.4%Not measuredOnly Gemini 3.5 Flash measured
MortgageTax (Vals AI)68.1%Not measuredOnly Gemini 3.5 Flash measured
MedCode (Vals AI)55.8%49.5%Gemini 3.5 Flash
SimpleQA Verified66.2%56.0%Gemini 3.5 Flash
LMArena Text: science14951419Gemini 3.5 Flash
LMArena Text: medicine and healthcare14831395Gemini 3.5 Flash
LMArena Text: legal and government14881423Gemini 3.5 Flash
LMArena Text: business and finance14671389Gemini 3.5 Flash
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index33
Web design benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 FlashGrok 4.7Leader
Design Arena: websites12681255Gemini 3.5 Flash
Design Arena: UI components12721271Gemini 3.5 Flash
Design Arena: game dev12631314Grok 4.7
Design Arena: data viz12361227Gemini 3.5 Flash
Design Arena: 3D12441269Grok 4.7
Design Arena: all code categories12661271Grok 4.7
Design Arena: SVG1254Not measuredOnly Gemini 3.5 Flash measured
Design Arena: ASCII art1253Not measuredOnly Gemini 3.5 Flash measured
LiveBench designNot measured78.0%Only Grok 4.7 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index235
General benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 FlashGrok 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)59.5%65.6%Grok 4.7
SAGE (Vals AI)49.9%40.8%Gemini 3.5 Flash
MedScribe (Vals AI)76.6%89.4%Grok 4.7
Vals Multimodal Index62.9%Not measuredOnly Gemini 3.5 Flash measured
IFBench76.3%Not measuredOnly Gemini 3.5 Flash measured
Long context reasoning (AA-LCR)74.3%80.0%Grok 4.7
DTBench94.7%96.0%Grok 4.7
LMCA47.1%49.4%Grok 4.7
Surface Evolver Bench58.1%Not measuredOnly Gemini 3.5 Flash measured
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
LMArena Text14821399Gemini 3.5 Flash
LMArena Text: instruction following14671406Gemini 3.5 Flash
LMArena Text: creative writing14701381Gemini 3.5 Flash
LMArena Vision13081231Gemini 3.5 Flash
LMArena Text: English14811411Gemini 3.5 Flash
LMArena Text: non-English14751386Gemini 3.5 Flash
LMArena Text: Chinese15271449Gemini 3.5 Flash
LMArena Text: German14941366Gemini 3.5 Flash
LMArena Text: Japanese14861359Gemini 3.5 Flash
LMArena Text: Korean14481383Gemini 3.5 Flash
LMArena Text: French14901431Gemini 3.5 Flash
LMArena Text: Spanish14801406Gemini 3.5 Flash
LMArena Text: Russian14931399Gemini 3.5 Flash
LMArena Text: Polish15161420Gemini 3.5 Flash
LMArena Text: multi-turn14811394Gemini 3.5 Flash
LMArena Text: longer queries14831416Gemini 3.5 Flash
LMArena Text: writing and language14781394Gemini 3.5 Flash
LMArena Text: entertainment and media14591376Gemini 3.5 Flash
LMArena Vision: English13051229Gemini 3.5 Flash
LMArena Vision: Chinese13771250Gemini 3.5 Flash
LMArena Vision: reading text13171241Gemini 3.5 Flash
LMArena Vision: humor1321Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: creative writing13011217Gemini 3.5 Flash
LMArena Document1463Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.5 Flash and Grok 4.7
BenchmarkGemini 3.5 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.5 Flash$0.0060Fits in one request
Grok 4.7$0.0050Fits in one request

Grok 4.7 costs less

Repository review

50K input + 3K output tokens

Gemini 3.5 Flash$0.102Fits in one request
Grok 4.7$0.118Fits in one request

Gemini 3.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.5 Flash$0.390Fits in one request
Grok 4.7$0.460Fits in one request

Gemini 3.5 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.5 Flash and Grok 4.7
SpecificationGoogle Gemini 3.5 FlashSpaceXAI Grok 4.7
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 19, 2026September 21, 2026
Context window1.05M500K
Input $/Mtok$1.50$2.00
Output $/Mtok$9.00$6.00
Coding index42.875.0
Independent measurements behind it12
Cost per solved task$1.21Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.5 Flash better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 42.8 for Gemini 3.5 Flash. Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 500K tokens, or when what matters is Terminal-Bench 2.1 (Vals AI) or LMArena Text: coding, where it leads.

Which is cheaper, Gemini 3.5 Flash or Grok 4.7?

Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Gemini 3.5 Flash only.

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

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

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

79 benchmarks have a result for both models as of October 21, 2026. Gemini 3.5 Flash's coding index rests on 1 independent benchmark 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