Enter opens the highlighted result. Esc closes.

GPT-4o-mini (2024-07-18) vs Grok 4.7

GPT-4o-mini (2024-07-18) costs 10.0x less per output token than Grok 4.7 ($0.60 vs $6.00 per million). Updated October 22, 2026; 37 benchmarks have a result for both.

GPT-4o-mini (2024-07-18)OpenAI
Coding
No data
Overall
No data
Output $/M
$0.60
0
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
37
vs boards won of 37 shared

GPT-4o-mini (2024-07-18) or Grok 4.7: which to pick

Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; GPT-4o-mini (2024-07-18) has none, so the two cannot be ranked on coding.

Pick GPT-4o-mini (2024-07-18) for output tokens 10.0x cheaper ($0.60 vs $6.00 per million).

Shared results
37
GPT-4o-mini (2024-07-18) only
9
Grok 4.7 only
62
Like-for-like categories
5 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
GPT-4o-mini (2024-07-18) not benchmarked, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Math, 48.7 points apart on average over 4 shared benchmarks.
Widest single gap
OTIS Mock AIME: GPT-4o-mini (2024-07-18) 6.9% against Grok 4.7 98.1%, 91.1 points apart on a 0 to 100 scale.
Output price
GPT-4o-mini (2024-07-18) $0.60 against Grok 4.7 $6.00 per million output tokens, 10.0x apart.
Context window
GPT-4o-mini (2024-07-18) takes 128K 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
CategoryGPT-4o-mini (2024-07-18)BarsGrok 4.7Ties
Coding02
Reasoning06
Math04
Knowledge05
General020
All shared boards037
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 4.7Leader
Aider polyglot3.6%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDevNot measured1637Only Grok 4.7 measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)Not measured86.2%Only Grok 4.7 measured
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
SciCodeNot measured57.8%Only Grok 4.7 measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
WeirdML11.8%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: coding12901432Grok 4.7
LMArena Text: software and IT12911421Grok 4.7
LMArena WebDev: ReactNot measured1663Only Grok 4.7 measured
LMArena WebDev: HTMLNot measured1627Only Grok 4.7 measured
LMArena WebDev: from an imageNot measured1586Only Grok 4.7 measured
Neither model has a result on the other 19 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 4.7Leader
AA Intelligence IndexNot measured46.4Only Grok 4.7 measured
Epoch Capabilities IndexNot measured154.4Only Grok 4.7 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index16 boards, none shared
Agentic work benchmarks for GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 4.7Leader
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
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
BALROG17.4%Not measuredOnly GPT-4o-mini (2024-07-18) measured
Vending-Bench 2Not measured$10,537Only Grok 4.7 measured
Neither model has a result on the other 25 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 4.7Leader
LiveBench reasoningNot measured82.7%Only Grok 4.7 measured
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
Humanity's Last Exam (Artificial Analysis run)Not measured43.1%Only Grok 4.7 measured
GPQA Diamond (Epoch AI run)37.7%92.7%Grok 4.7
ARC-AGINot measured90.2%Only Grok 4.7 measured
ARC-AGI-2Not measured61.4%Only Grok 4.7 measured
SimpleBench10.7%Not measuredOnly GPT-4o-mini (2024-07-18) measured
Chess puzzles3.0%41.0%Grok 4.7
Mystery game puzzles12.0%29.0%Grok 4.7
VPCT34.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: hard prompts12671415Grok 4.7
LMArena Text: expert12341439Grok 4.7
LMArena Text: hard prompts in English12781427Grok 4.7
LMArena Vision: diagramsNot measured1254Only Grok 4.7 measured
LMArena Vision: homeworkNot measured1309Only Grok 4.7 measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 4.7Leader
OTIS Mock AIME6.9%98.1%Grok 4.7
FrontierMath, tiers 1 to 30.7%53.0%Grok 4.7
FrontierMath, tier 4Not measured17.1%Only Grok 4.7 measured
ProofBenchNot measured26.0%Only Grok 4.7 measured
MATH level 552.6%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: math12671414Grok 4.7
LMArena Text: mathematical work12711435Grok 4.7
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 4.7Leader
LegalBench (Vals AI)Not measured84.4%Only Grok 4.7 measured
MedCode (Vals AI)Not measured49.5%Only Grok 4.7 measured
SimpleQA Verified8.3%56.0%Grok 4.7
MMLU76.7%Not measuredOnly GPT-4o-mini (2024-07-18) measured
GeoBench64.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: science12861419Grok 4.7
LMArena Text: medicine and healthcare12821395Grok 4.7
LMArena Text: legal and government13051423Grok 4.7
LMArena Text: business and finance12651389Grok 4.7
Neither model has a result on the other 9 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 4.7Leader
Design Arena: websitesNot measured1254Only Grok 4.7 measured
Design Arena: UI componentsNot measured1276Only Grok 4.7 measured
Design Arena: game devNot measured1314Only Grok 4.7 measured
Design Arena: data vizNot measured1238Only Grok 4.7 measured
Design Arena: 3DNot measured1274Only Grok 4.7 measured
Design Arena: all code categoriesNot measured1272Only Grok 4.7 measured
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 index020
General benchmarks for GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 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)Not measured40.8%Only Grok 4.7 measured
MedScribe (Vals AI)Not measured89.4%Only Grok 4.7 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
Creative writing (Lech Mazur)67.2%Not measuredOnly GPT-4o-mini (2024-07-18) measured
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
LMArena Text12861399Grok 4.7
LMArena Text: instruction following12581406Grok 4.7
LMArena Text: creative writing12681381Grok 4.7
LMArena Vision10661231Grok 4.7
LMArena Text: English13011411Grok 4.7
LMArena Text: non-English12661386Grok 4.7
LMArena Text: Chinese12651449Grok 4.7
LMArena Text: German12721366Grok 4.7
LMArena Text: Japanese12161359Grok 4.7
LMArena Text: Korean11951383Grok 4.7
LMArena Text: French12971431Grok 4.7
LMArena Text: Spanish12761406Grok 4.7
LMArena Text: Russian12751399Grok 4.7
LMArena Text: Polish12441420Grok 4.7
LMArena Text: multi-turn12851394Grok 4.7
LMArena Text: longer queries12891416Grok 4.7
LMArena Text: writing and language12821394Grok 4.7
LMArena Text: entertainment and media12531376Grok 4.7
LMArena Vision: English10721229Grok 4.7
LMArena Vision: Chinese10331250Grok 4.7
LMArena Vision: reading textNot measured1241Only Grok 4.7 measured
LMArena Vision: creative writingNot measured1217Only Grok 4.7 measured
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 GPT-4o-mini (2024-07-18) and Grok 4.7
BenchmarkGPT-4o-mini (2024-07-18)Grok 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

GPT-4o-mini (2024-07-18)$0.0004Fits in one request
Grok 4.7$0.0050Fits in one request

GPT-4o-mini (2024-07-18) costs less

Repository review

50K input + 3K output tokens

GPT-4o-mini (2024-07-18)$0.0093Fits in one request
Grok 4.7$0.118Fits in one request

GPT-4o-mini (2024-07-18) costs less

Agent loop

200K input + 10K output tokens

GPT-4o-mini (2024-07-18)$0.036Exceeds the context window
Grok 4.7$0.460Fits in one request

GPT-4o-mini (2024-07-18) 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 GPT-4o-mini (2024-07-18) and Grok 4.7
SpecificationOpenAI GPT-4o-mini (2024-07-18)SpaceXAI Grok 4.7
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedJuly 18, 2024September 21, 2026
Context window128K500K
Input $/Mtok$0.15$2.00
Output $/Mtok$0.60$6.00
Coding indexNot benchmarked66.7
Independent measurements behind it05
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o-mini (2024-07-18) better than Grok 4.7 for coding?

Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; GPT-4o-mini (2024-07-18) has none, so the two cannot be ranked on coding. Pick GPT-4o-mini (2024-07-18) for output tokens 10.0x cheaper ($0.60 vs $6.00 per million).

Which is cheaper, GPT-4o-mini (2024-07-18) or Grok 4.7?

GPT-4o-mini (2024-07-18) costs $0.15 per million input tokens and $0.60 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for neither of them.

Which has the bigger context window, GPT-4o-mini (2024-07-18) or Grok 4.7?

Grok 4.7, with 500K tokens against 128K.

How many benchmarks is the GPT-4o-mini (2024-07-18) vs Grok 4.7 comparison based on?

37 benchmarks have a result for both models as of October 22, 2026. GPT-4o-mini (2024-07-18)'s coding index rests on 0 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