LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.1 Flash Lite Preview vs Grok 4.7

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

Gemini 3.1 Flash Lite PreviewGoogle
Coding
8.1
Overall
15.6
Output $/M
$1.50
24
Grok 4.7xAI
Coding
75.0
Overall
46.4
Output $/M
$6.00
34
vs boards won of 58 shared

Decision reading

Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 8.1 for Gemini 3.1 Flash Lite Preview.

Pick Gemini 3.1 Flash Lite Preview when output tokens cost 4.0x less, or when the context window is larger, 1.05M against 500K tokens.

Shared results
58
Gemini 3.1 Flash Lite Preview only
19
Grok 4.7 only
41
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 Flash Lite Preview 8.1 from 1 benchmark, Grok 4.7 75.0 from 2 benchmarks.
Widest category
Agentic work, 38.9 points apart on average over 4 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3.1 Flash Lite Preview 0.0% against Grok 4.7 86.2%, 86.2 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Flash Lite Preview $1.50 against Grok 4.7 $6.00 per million output tokens, 4.0x apart.
Context window
Gemini 3.1 Flash Lite Preview 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.1 Flash Lite PreviewBarsGrok 4.7Ties
Coding010
Intelligence01
Agentic work04
Reasoning05
Math11
Knowledge33
Web design06
General204
All shared boards2434
CodingLike-for-likeFour of these boards feed the Vibe Coding Index010
Coding benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 4.7Leader
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDev12571637Grok 4.7
AA Coding Index34.7Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LiveCodeBench (Vals AI)80.1%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
SWE-bench Verified (Vals AI)62.8%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)0.0%86.2%Grok 4.7
Code migration (Vals AI)4.6%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)34.1%73.4%Grok 4.7
SWE-bench Multimodal (Vals AI)Not measured42.9%Only Grok 4.7 measured
CyberBench (Vals AI)Not measured69.5%Only Grok 4.7 measured
SciCodeNot measured57.8%Only Grok 4.7 measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
ALE-Bench797.7Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Text: coding14001432Grok 4.7
LMArena Text: software and IT14131421Grok 4.7
LMArena WebDev: React12451663Grok 4.7
LMArena WebDev: HTML12761627Grok 4.7
LMArena WebDev: from an image13361586Grok 4.7
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 4.7Leader
AA Intelligence Index15.646.4Grok 4.7
Epoch Capabilities IndexNot measured154.4Only Grok 4.7 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index04
Agentic work benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 4.7Leader
AA Agentic Index1.6Not measuredOnly Gemini 3.1 Flash Lite Preview 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)30.0%52.3%Grok 4.7
Tax Agent Bench (Vals AI)3.1%34.2%Grok 4.7
Legal Research Bench (Vals AI)3.4%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)8.6%67.0%Grok 4.7
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
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
Vending-Bench 2Not measured$10,537Only Grok 4.7 measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
Reasoning benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 4.7Leader
GPQA Diamond81.1%Not measuredOnly Gemini 3.1 Flash Lite Preview 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)82.5%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Humanity's Last Exam (Artificial Analysis run)Not measured43.1%Only Grok 4.7 measured
GPQA Diamond (Epoch AI run)Not measured92.7%Only Grok 4.7 measured
ARC-AGINot measured90.2%Only Grok 4.7 measured
ARC-AGI-2Not measured61.4%Only Grok 4.7 measured
Chess puzzlesNot measured41.0%Only Grok 4.7 measured
Mystery game puzzlesNot measured29.0%Only Grok 4.7 measured
LMArena Text: hard prompts14071415Grok 4.7
LMArena Text: expert13981439Grok 4.7
LMArena Text: hard prompts in English14031427Grok 4.7
LMArena Vision: diagrams12421254Grok 4.7
LMArena Vision: homework12711309Grok 4.7
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index11
Math benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 4.7Leader
AIME83.3%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
OTIS Mock AIMENot measured98.1%Only Grok 4.7 measured
FrontierMath, tiers 1 to 3Not measured53.0%Only Grok 4.7 measured
FrontierMath, tier 4Not measured17.1%Only Grok 4.7 measured
ProofBenchNot measured26.0%Only Grok 4.7 measured
LMArena Text: math14281414Gemini 3.1 Flash Lite Preview
LMArena Text: mathematical work14171435Grok 4.7
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index33
Knowledge benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 4.7Leader
MMLU Pro86.2%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LegalBench (Vals AI)83.8%84.4%Grok 4.7
CaseLaw (Vals AI)55.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
CorpFin (Vals AI)59.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
TaxEval (Vals AI)71.8%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MortgageTax (Vals AI)68.0%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
MedCode (Vals AI)47.6%49.5%Grok 4.7
SimpleQA VerifiedNot measured56.0%Only Grok 4.7 measured
LMArena Text: science14251419Gemini 3.1 Flash Lite Preview
LMArena Text: medicine and healthcare14281395Gemini 3.1 Flash Lite Preview
LMArena Text: legal and government14181423Grok 4.7
LMArena Text: business and finance13891389Gemini 3.1 Flash Lite Preview
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 4.7Leader
Design Arena: websites10831255Grok 4.7
Design Arena: UI components10711271Grok 4.7
Design Arena: game dev10291314Grok 4.7
Design Arena: data viz10451227Grok 4.7
Design Arena: 3D10481269Grok 4.7
Design Arena: all code categories10721271Grok 4.7
Design Arena: SVG1052Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: ASCII art1166Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LiveBench designNot measured78.0%Only Grok 4.7 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index204
General benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 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)49.5%40.8%Gemini 3.1 Flash Lite Preview
MedScribe (Vals AI)63.9%89.4%Grok 4.7
Vals Multimodal Index41.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Long context reasoning (AA-LCR)Not measured80.0%Only Grok 4.7 measured
DTBenchNot measured96.0%Only Grok 4.7 measured
LMCANot measured49.4%Only Grok 4.7 measured
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
LMArena Text14161399Gemini 3.1 Flash Lite Preview
LMArena Text: instruction following13771406Grok 4.7
LMArena Text: creative writing14011381Gemini 3.1 Flash Lite Preview
LMArena Vision12401231Gemini 3.1 Flash Lite Preview
LMArena Text: English14141411Gemini 3.1 Flash Lite Preview
LMArena Text: non-English14101386Gemini 3.1 Flash Lite Preview
LMArena Text: Chinese14601449Gemini 3.1 Flash Lite Preview
LMArena Text: German14301366Gemini 3.1 Flash Lite Preview
LMArena Text: Japanese14131359Gemini 3.1 Flash Lite Preview
LMArena Text: Korean13921383Gemini 3.1 Flash Lite Preview
LMArena Text: French14241431Grok 4.7
LMArena Text: Spanish14211406Gemini 3.1 Flash Lite Preview
LMArena Text: Russian14201399Gemini 3.1 Flash Lite Preview
LMArena Text: Polish14431420Gemini 3.1 Flash Lite Preview
LMArena Text: multi-turn14171394Gemini 3.1 Flash Lite Preview
LMArena Text: longer queries13941416Grok 4.7
LMArena Text: writing and language14081394Gemini 3.1 Flash Lite Preview
LMArena Text: entertainment and media13861376Gemini 3.1 Flash Lite Preview
LMArena Vision: English12321229Gemini 3.1 Flash Lite Preview
LMArena Vision: Chinese12781250Gemini 3.1 Flash Lite Preview
LMArena Vision: reading text12461241Gemini 3.1 Flash Lite Preview
LMArena Vision: humor1266Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: captioning1259Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: recognizing things1308Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: creative writing12481217Gemini 3.1 Flash Lite Preview
Neither model has a result on the other 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.1 Flash Lite Preview and Grok 4.7
BenchmarkGemini 3.1 Flash Lite PreviewGrok 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.1 Flash Lite Preview$0.0010Fits in one request
Grok 4.7$0.0050Fits in one request

Gemini 3.1 Flash Lite Preview costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Flash Lite Preview$0.017Fits in one request
Grok 4.7$0.118Fits in one request

Gemini 3.1 Flash Lite Preview costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Flash Lite Preview$0.065Fits in one request
Grok 4.7$0.460Fits in one request

Gemini 3.1 Flash Lite Preview 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 Flash Lite Preview and Grok 4.7
SpecificationGoogle Gemini 3.1 Flash Lite PreviewSpaceXAI Grok 4.7
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedMarch 3, 2026September 21, 2026
Context window1.05M500K
Input $/Mtok$0.25$2.00
Output $/Mtok$1.50$6.00
Coding index8.175.0
Independent measurements behind it12
Cost per solved task$0.18Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Flash Lite Preview better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 8.1 for Gemini 3.1 Flash Lite Preview. Pick Gemini 3.1 Flash Lite Preview when output tokens cost 4.0x less, or when the context window is larger, 1.05M against 500K tokens.

Which is cheaper, Gemini 3.1 Flash Lite Preview or Grok 4.7?

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

Which has the bigger context window, Gemini 3.1 Flash Lite Preview or Grok 4.7?

Gemini 3.1 Flash Lite Preview, with 1.05M tokens against 500K.

How many benchmarks is the Gemini 3.1 Flash Lite Preview vs Grok 4.7 comparison based on?

58 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Flash Lite Preview'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