LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Grok 4.7 vs o4 Mini

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

Grok 4.7xAI
Coding
75.0
Overall
46.4
Output $/M
$6.00
59
o4 MiniOpenAI
Coding
68.6
Overall
16.7
Output $/M
$4.40
1
vs boards won of 60 shared

Decision reading

Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 68.6 for o4 Mini.

Pick o4 Mini when output tokens cost 1.4x less, or when the benchmark that matters is SAGE (Vals AI), where it leads.

Shared results
60
Grok 4.7 only
39
o4 Mini only
34
Like-for-like categories
7 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
Grok 4.7 75.0 from 2 benchmarks, o4 Mini 68.6 from 2 benchmarks.
Widest category
Web design, 37.8 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI-2: Grok 4.7 61.4% against o4 Mini 6.1%, 55.3 points apart on a 0 to 100 scale.
Output price
Grok 4.7 $6.00 against o4 Mini $4.40 per million output tokens, 1.4x apart.
Context window
Grok 4.7 takes 500K tokens, o4 Mini 200K.

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
CategoryGrok 4.7Barso4 MiniTies
Coding20
Intelligence20
Reasoning110
Math50
Knowledge70
Web design60
General261
All shared boards591
CodingLike-for-likeFour of these boards feed the Vibe Coding Index20
Coding benchmarks for Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
Aider polyglotNot measured72.0%Only o4 Mini measured
SWE-bench VerifiedNot measured64.6%Only o4 Mini measured
SWE-bench MultimodalNot measured33.9%Only o4 Mini measured
LiveBench coding84.5%Not measuredOnly Grok 4.7 measured
LMArena WebDev1637Not measuredOnly Grok 4.7 measured
LiveCodeBench (Vals AI)Not measured82.2%Only o4 Mini measured
Terminal-Bench 4 (Vals AI)28.8%Not measuredOnly Grok 4.7 measured
Vibe Code Bench (Vals AI)86.2%Not measuredOnly Grok 4.7 measured
Code migration (Vals AI)44.8%Not measuredOnly Grok 4.7 measured
ProgramBench (Vals AI)0.5%Not measuredOnly Grok 4.7 measured
IOI (Vals AI)57.7%Not measuredOnly Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)73.4%Not measuredOnly Grok 4.7 measured
SWE-bench Multimodal (Vals AI)42.9%Not measuredOnly Grok 4.7 measured
CyberBench (Vals AI)69.5%Not measuredOnly Grok 4.7 measured
LiveCodeBench (Artificial Analysis run)Not measured85.9%Only o4 Mini measured
SciCode57.8%Not measuredOnly Grok 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured15.2%Only o4 Mini measured
FrontierCode47.6%Not measuredOnly Grok 4.7 measured
FrontierSWE29.5%Not measuredOnly Grok 4.7 measured
GSO-BenchNot measured3.6%Only o4 Mini measured
WeirdMLNot measured52.6%Only o4 Mini measured
LMArena Text: coding14321368Grok 4.7
LMArena Text: software and IT14211367Grok 4.7
LMArena WebDev: React1663Not measuredOnly Grok 4.7 measured
LMArena WebDev: HTML1627Not measuredOnly Grok 4.7 measured
LMArena WebDev: from an image1586Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
AA Intelligence Index46.416.7Grok 4.7
Epoch Capabilities Index154.4145.5Grok 4.7
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
Agentic work benchmarks for Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
LiveBench research86.4%Not measuredOnly Grok 4.7 measured
LiveBench browser60.0%Not measuredOnly Grok 4.7 measured
LiveBench long agentic50.1%Not measuredOnly Grok 4.7 measured
SREBench (Vals AI)3.8%Not measuredOnly Grok 4.7 measured
Finance Agent (Vals AI)52.3%Not measuredOnly Grok 4.7 measured
Tax Agent Bench (Vals AI)34.2%Not measuredOnly Grok 4.7 measured
Legal Research Bench (Vals AI)47.1%Not measuredOnly Grok 4.7 measured
Harvey's Legal Agent Benchmark (Vals AI)18.3%Not measuredOnly Grok 4.7 measured
Excel Modeling Benchmark (Vals AI)67.0%Not measuredOnly Grok 4.7 measured
BioMysteryBench (Vals AI)69.3%Not measuredOnly Grok 4.7 measured
Terminal-Bench-Science (Vals AI)10.0%Not measuredOnly Grok 4.7 measured
Vals Science Index34.8%Not measuredOnly Grok 4.7 measured
Robo-bench (Vals AI)0.2%Not measuredOnly Grok 4.7 measured
τ²-Bench TelecomNot measured55.6%Only o4 Mini measured
APEX-Agents54.6%Not measuredOnly Grok 4.7 measured
METR time horizonsNot measured63.9%Only o4 Mini measured
Vending-Bench 2$10,537Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
Reasoning benchmarks for Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
GPQA DiamondNot measured74.5%Only o4 Mini measured
LiveBench reasoning82.7%Not measuredOnly Grok 4.7 measured
MysteryMechanism (Vals AI)25.2%Not measuredOnly Grok 4.7 measured
MMMU Pro (Vals AI)Not measured79.7%Only o4 Mini measured
GPQA Diamond (Artificial Analysis run)Not measured78.4%Only o4 Mini measured
Humanity's Last Exam (Artificial Analysis run)43.1%16.5%Grok 4.7
GPQA Diamond (Epoch AI run)92.7%79.6%Grok 4.7
ARC-AGI90.2%58.7%Grok 4.7
ARC-AGI-261.4%6.1%Grok 4.7
SimpleBenchNot measured38.7%Only o4 Mini measured
Chess puzzles41.0%22.0%Grok 4.7
Mystery game puzzles29.0%5.0%Grok 4.7
VPCTNot measured57.5%Only o4 Mini measured
LMArena Text: hard prompts14151351Grok 4.7
LMArena Text: expert14391343Grok 4.7
LMArena Text: hard prompts in English14271366Grok 4.7
LMArena Vision: diagrams12541197Grok 4.7
LMArena Vision: homework13091234Grok 4.7
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
AIMENot measured83.7%Only o4 Mini measured
MATH 500 (Vals AI)Not measured94.2%Only o4 Mini measured
MGSM (Vals AI)Not measured93.4%Only o4 Mini measured
AA Math IndexNot measured90.7Only o4 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only o4 Mini measured
OTIS Mock AIME98.1%81.7%Grok 4.7
FrontierMath, tiers 1 to 353.0%36.1%Grok 4.7
FrontierMath, tier 417.1%4.9%Grok 4.7
ProofBench26.0%Not measuredOnly Grok 4.7 measured
MATH level 5Not measured97.8%Only o4 Mini measured
LMArena Text: math14141389Grok 4.7
LMArena Text: mathematical work14351379Grok 4.7
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index70
Knowledge benchmarks for Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
MMLU ProNot measured80.6%Only o4 Mini measured
LegalBench (Vals AI)84.4%79.2%Grok 4.7
CorpFin (Vals AI)Not measured59.0%Only o4 Mini measured
TaxEval (Vals AI)Not measured74.8%Only o4 Mini measured
MortgageTax (Vals AI)Not measured64.8%Only o4 Mini measured
MedQA (Vals AI)Not measured96.0%Only o4 Mini measured
MedCode (Vals AI)49.5%33.8%Grok 4.7
MMLU Pro (Artificial Analysis run)Not measured83.2%Only o4 Mini measured
SimpleQA Verified56.0%19.6%Grok 4.7
GeoBenchNot measured64.0%Only o4 Mini measured
LMArena Text: science14191354Grok 4.7
LMArena Text: medicine and healthcare13951361Grok 4.7
LMArena Text: legal and government14231350Grok 4.7
LMArena Text: business and finance13891325Grok 4.7
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
Design Arena: websites1255985Grok 4.7
Design Arena: UI components1271983Grok 4.7
Design Arena: game dev13141004Grok 4.7
Design Arena: data viz1227990Grok 4.7
Design Arena: 3D1269854Grok 4.7
Design Arena: all code categories1271977Grok 4.7
LiveBench design78.0%Not measuredOnly 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 index261
General benchmarks for Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
Vals Index58.6%Not measuredOnly Grok 4.7 measured
LiveBench data analysis76.9%Not measuredOnly Grok 4.7 measured
Public Benefits Bench (Vals AI)65.6%Not measuredOnly Grok 4.7 measured
SAGE (Vals AI)40.8%41.1%o4 Mini
MedScribe (Vals AI)89.4%69.1%Grok 4.7
IFBenchNot measured68.7%Only o4 Mini measured
Long context reasoning (AA-LCR)80.0%61.0%Grok 4.7
DTBench96.0%77.6%Grok 4.7
LMCA49.4%26.5%Grok 4.7
Fiction.LiveBenchNot measured77.8%Only o4 Mini measured
Creative writing (Lech Mazur)Not measured75.0%Only o4 Mini measured
Furniture assembly20.8%Not measuredOnly Grok 4.7 measured
LMArena Text13991353Grok 4.7
LMArena Text: instruction following14061320Grok 4.7
LMArena Text: creative writing13811294Grok 4.7
LMArena Vision12311194Grok 4.7
LMArena Text: English14111367Grok 4.7
LMArena Text: non-English13861337Grok 4.7
LMArena Text: Chinese14491354Grok 4.7
LMArena Text: German13661336Grok 4.7
LMArena Text: Japanese13591308Grok 4.7
LMArena Text: Korean13831312Grok 4.7
LMArena Text: French14311364Grok 4.7
LMArena Text: Spanish14061346Grok 4.7
LMArena Text: Russian13991334Grok 4.7
LMArena Text: Polish14201358Grok 4.7
LMArena Text: multi-turn13941350Grok 4.7
LMArena Text: longer queries14161315Grok 4.7
LMArena Text: writing and language13941316Grok 4.7
LMArena Text: entertainment and media13761308Grok 4.7
LMArena Vision: English12291200Grok 4.7
LMArena Vision: Chinese12501218Grok 4.7
LMArena Vision: reading text12411197Grok 4.7
LMArena Vision: humorNot measured1199Only o4 Mini measured
LMArena Vision: captioningNot measured1204Only o4 Mini measured
LMArena Vision: recognizing thingsNot measured1218Only o4 Mini measured
LMArena Vision: creative writing12171166Grok 4.7
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 Grok 4.7 and o4 Mini
BenchmarkGrok 4.7o4 MiniLeader
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

Grok 4.7$0.0050Fits in one request
o4 Mini$0.0033Fits in one request

o4 Mini costs less

Repository review

50K input + 3K output tokens

Grok 4.7$0.118Fits in one request
o4 Mini$0.068Fits in one request

o4 Mini costs less

Agent loop

200K input + 10K output tokens

Grok 4.7$0.460Fits in one request
o4 Mini$0.264Exceeds the context window

o4 Mini 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 Grok 4.7 and o4 Mini
SpecificationSpaceXAI Grok 4.7OpenAI o4 Mini
MakerxAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 21, 2026April 16, 2025
Context window500K200K
Input $/Mtok$2.00$1.10
Output $/Mtok$6.00$4.40
Coding index75.068.6
Independent measurements behind it22
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Grok 4.7 better than o4 Mini for coding?

Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 68.6 for o4 Mini. Pick o4 Mini when output tokens cost 1.4x less, or when the benchmark that matters is SAGE (Vals AI), where it leads.

Which is cheaper, Grok 4.7 or o4 Mini?

Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for neither of them.

Which has the bigger context window, Grok 4.7 or o4 Mini?

Grok 4.7, with 500K tokens against 200K.

How many benchmarks is the Grok 4.7 vs o4 Mini comparison based on?

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