LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4 vs Grok 4.5

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

GPT-4OpenAI
Coding
22.4
Overall
6.7
Output $/M
$60.00
0
Grok 4.5xAI
Coding
75.5
Overall
38.8
Output $/M
$6.00
34
vs boards won of 34 shared

Decision reading

Pick Grok 4.5 for coding: it scores 75.5 on the Vibe Coding Index against 22.4 for GPT-4.

GPT-4 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
34
GPT-4 only
11
Grok 4.5 only
86
Like-for-like categories
6 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
GPT-4 22.4 from 1 benchmark, Grok 4.5 75.5 from 2 benchmarks.
Widest category
Coding, 49.8 points apart on average over 3 shared benchmarks.
Widest single gap
AA Coding Index: GPT-4 13.1 against Grok 4.5 72.4, 59.3 points apart on a 0 to 100 scale.
Output price
GPT-4 $60.00 against Grok 4.5 $6.00 per million output tokens, 10.0x apart.
Context window
GPT-4 takes 8K tokens, Grok 4.5 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-4BarsGrok 4.5Ties
Coding03
Intelligence02
Reasoning04
Math02
Knowledge04
General019
All shared boards034
CodingLike-for-likeFour of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
SWE-bench Verified22.4%Not measuredOnly GPT-4 measured
SWE-bench Lite39.7%Not measuredOnly GPT-4 measured
SWE-bench (full test set)12.5%Not measuredOnly GPT-4 measured
LiveBench codingNot measured94.3%Only Grok 4.5 measured
LMArena WebDevNot measured1553Only Grok 4.5 measured
AA Coding Index13.172.4Grok 4.5
LiveCodeBench (Vals AI)Not measured87.3%Only Grok 4.5 measured
SWE-bench Verified (Vals AI)Not measured86.6%Only Grok 4.5 measured
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)Not measured69.0%Only Grok 4.5 measured
Code migration (Vals AI)Not measured36.6%Only Grok 4.5 measured
ProgramBench (Vals AI)Not measured0.0%Only Grok 4.5 measured
IOI (Vals AI)Not measured40.6%Only Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only Grok 4.5 measured
SkillsBench (Vals AI)Not measured66.0%Only Grok 4.5 measured
CyberBench (Vals AI)Not measured71.0%Only Grok 4.5 measured
SciCodeNot measured55.0%Only Grok 4.5 measured
FrontierCodeNot measured42.4%Only Grok 4.5 measured
WeirdMLNot measured46.4%Only Grok 4.5 measured
ALE-BenchNot measured1309.3Only Grok 4.5 measured
LMArena Text: coding12091474Grok 4.5
LMArena Text: software and IT11951471Grok 4.5
LMArena WebDev: ReactNot measured1556Only Grok 4.5 measured
LMArena WebDev: HTMLNot measured1567Only Grok 4.5 measured
LMArena WebDev: from an imageNot measured1562Only Grok 4.5 measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
AA Intelligence Index6.738.8Grok 4.5
Epoch Capabilities Index125.7154.1Grok 4.5
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index22 boards, none shared
Agentic work benchmarks for GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
AA Agentic IndexNot measured41.2Only Grok 4.5 measured
Design Arena: agents building web appsNot measured1217Only Grok 4.5 measured
Design Arena: agents building full-stack appsNot measured1249Only Grok 4.5 measured
Design Arena: agents building mobile appsNot measured1221Only Grok 4.5 measured
Design Arena: agents building Android appsNot measured1242Only Grok 4.5 measured
Design Arena: agents building Godot gamesNot measured1229Only Grok 4.5 measured
Design Arena: agents building gamesNot measured1235Only Grok 4.5 measured
Design Arena: HTML slidesNot measured1204Only Grok 4.5 measured
Design Arena: PowerPoint slidesNot measured1232Only Grok 4.5 measured
LiveBench researchNot measured85.9%Only Grok 4.5 measured
LiveBench browserNot measured44.0%Only Grok 4.5 measured
LiveBench long agenticNot measured27.9%Only Grok 4.5 measured
SREBench (Vals AI)Not measured0.8%Only Grok 4.5 measured
Finance Agent (Vals AI)Not measured48.4%Only Grok 4.5 measured
Tax Agent Bench (Vals AI)Not measured24.9%Only Grok 4.5 measured
Legal Research Bench (Vals AI)Not measured38.0%Only Grok 4.5 measured
Excel Modeling Benchmark (Vals AI)Not measured52.9%Only Grok 4.5 measured
Time Horizon Index (Vals AI)Not measured6.3%Only Grok 4.5 measured
APEX-AgentsNot measured56.2%Only Grok 4.5 measured
PostTrainBenchNot measured23.4%Only Grok 4.5 measured
Vending-Bench 2Not measured$3,887Only Grok 4.5 measured
LMArena SearchNot measured1216Only Grok 4.5 measured
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
GPQA DiamondNot measured92.9%Only Grok 4.5 measured
LiveBench reasoningNot measured87.2%Only Grok 4.5 measured
MMMU Pro (Vals AI)Not measured61.8%Only Grok 4.5 measured
GPQA Diamond (Artificial Analysis run)34.9%93.1%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)Not measured42.7%Only Grok 4.5 measured
GPQA Diamond (Epoch AI run)Not measured93.4%Only Grok 4.5 measured
ARC-AGINot measured87.2%Only Grok 4.5 measured
ARC-AGI-2Not measured52.6%Only Grok 4.5 measured
SimpleBenchNot measured70.0%Only Grok 4.5 measured
Chess puzzlesNot measured35.0%Only Grok 4.5 measured
BIG-Bench Hard75.1%Not measuredOnly GPT-4 measured
LMArena Text: hard prompts12001462Grok 4.5
LMArena Text: expert11491465Grok 4.5
LMArena Text: hard prompts in English12091464Grok 4.5
LMArena Vision: diagramsNot measured1304Only Grok 4.5 measured
LMArena Vision: homeworkNot measured1295Only Grok 4.5 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
OTIS Mock AIMENot measured97.8%Only Grok 4.5 measured
FrontierMath, tiers 1 to 3Not measured57.2%Only Grok 4.5 measured
FrontierMath, tier 4Not measured24.4%Only Grok 4.5 measured
ProofBenchNot measured31.0%Only Grok 4.5 measured
GSM8K92.0%Not measuredOnly GPT-4 measured
LMArena Text: math12301460Grok 4.5
LMArena Text: mathematical work12281482Grok 4.5
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
MMLU ProNot measured89.2%Only Grok 4.5 measured
LegalBench (Vals AI)Not measured86.0%Only Grok 4.5 measured
CorpFin (Vals AI)Not measured67.4%Only Grok 4.5 measured
TaxEval (Vals AI)Not measured71.7%Only Grok 4.5 measured
MortgageTax (Vals AI)Not measured61.8%Only Grok 4.5 measured
MedCode (Vals AI)Not measured43.3%Only Grok 4.5 measured
MMLU Pro (Artificial Analysis run)56.2%Not measuredOnly GPT-4 measured
SimpleQA VerifiedNot measured48.3%Only Grok 4.5 measured
MMLU86.4%Not measuredOnly GPT-4 measured
AI2 Reasoning Challenge96.3%Not measuredOnly GPT-4 measured
LMArena Text: science11771464Grok 4.5
LMArena Text: medicine and healthcare11451440Grok 4.5
LMArena Text: legal and government11911463Grok 4.5
LMArena Text: business and finance11451441Grok 4.5
Neither model has a result on the other 3 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
Design Arena: websitesNot measured1281Only Grok 4.5 measured
Design Arena: UI componentsNot measured1279Only Grok 4.5 measured
Design Arena: game devNot measured1263Only Grok 4.5 measured
Design Arena: data vizNot measured1267Only Grok 4.5 measured
Design Arena: 3DNot measured1257Only Grok 4.5 measured
Design Arena: all code categoriesNot measured1276Only Grok 4.5 measured
Design Arena: SVGNot measured1215Only Grok 4.5 measured
Design Arena: ASCII artNot measured1257Only Grok 4.5 measured
LiveBench designNot measured78.1%Only Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index019
General benchmarks for GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
LiveBench data analysisNot measured73.0%Only Grok 4.5 measured
SAGE (Vals AI)Not measured35.0%Only Grok 4.5 measured
MedScribe (Vals AI)Not measured86.9%Only Grok 4.5 measured
Vals Multimodal IndexNot measured63.4%Only Grok 4.5 measured
IFBench33.2%Not measuredOnly GPT-4 measured
Long context reasoning (AA-LCR)Not measured79.3%Only Grok 4.5 measured
DTBench62.7%96.5%Grok 4.5
LMCA17.1%45.2%Grok 4.5
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assemblyNot measured22.5%Only Grok 4.5 measured
HellaSwag95.3%Not measuredOnly GPT-4 measured
WinoGrande87.5%Not measuredOnly GPT-4 measured
LMArena Text12061448Grok 4.5
LMArena Text: instruction following12011445Grok 4.5
LMArena Text: creative writing11911442Grok 4.5
LMArena VisionNot measured1287Only Grok 4.5 measured
LMArena Text: English12201453Grok 4.5
LMArena Text: non-English11941440Grok 4.5
LMArena Text: Chinese11841495Grok 4.5
LMArena Text: German11981448Grok 4.5
LMArena Text: Japanese11371430Grok 4.5
LMArena Text: Korean10871406Grok 4.5
LMArena Text: French12201457Grok 4.5
LMArena Text: Spanish11971451Grok 4.5
LMArena Text: Russian11951449Grok 4.5
LMArena Text: Polish12651432Grok 4.5
LMArena Text: multi-turn12061456Grok 4.5
LMArena Text: longer queries11901462Grok 4.5
LMArena Text: writing and language12191445Grok 4.5
LMArena Text: entertainment and media11841434Grok 4.5
LMArena Vision: EnglishNot measured1285Only Grok 4.5 measured
LMArena Vision: ChineseNot measured1345Only Grok 4.5 measured
LMArena Vision: reading textNot measured1293Only Grok 4.5 measured
LMArena Vision: humorNot measured1276Only Grok 4.5 measured
LMArena Vision: creative writingNot measured1293Only Grok 4.5 measured
LMArena DocumentNot measured1452Only Grok 4.5 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 GPT-4 and Grok 4.5
BenchmarkGPT-4Grok 4.5Leader
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-4$0.060Fits in one request
Grok 4.5$0.0050Fits in one request

Grok 4.5 costs less

Repository review

50K input + 3K output tokens

GPT-4$1.68Exceeds the context window
Grok 4.5$0.118Fits in one request

Grok 4.5 costs less

Agent loop

200K input + 10K output tokens

GPT-4$6.60Exceeds the context window
Grok 4.5$0.460Fits in one request

Grok 4.5 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-4 and Grok 4.5
SpecificationOpenAI GPT-4SpaceXAI Grok 4.5
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 28, 2023July 8, 2026
Context window8K500K
Input $/Mtok$30.00$2.00
Output $/Mtok$60.00$6.00
Coding index22.475.5
Independent measurements behind it12
Cost per solved taskNot computable$0.62
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4 better than Grok 4.5 for coding?

Pick Grok 4.5 for coding: it scores 75.5 on the Vibe Coding Index against 22.4 for GPT-4. GPT-4 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, GPT-4 or Grok 4.5?

GPT-4 costs $30.00 per million input tokens and $60.00 per million output tokens; Grok 4.5 costs $2.00 and $6.00. Cost per solved task is known for Grok 4.5 only.

Which has the bigger context window, GPT-4 or Grok 4.5?

Grok 4.5, with 500K tokens against 8K.

How many benchmarks is the GPT-4 vs Grok 4.5 comparison based on?

34 benchmarks have a result for both models as of October 21, 2026. GPT-4's coding index rests on 1 independent benchmark and Grok 4.5's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next