Enter opens the highlighted result. Esc closes.

GPT-5.4 vs Grok 4.5

GPT-5.4 leads Grok 4.5 on coding, 64.4 to 58.6 on the Vibe Coding Index, and Grok 4.5 costs 2.5x less per output token ($6.00 vs $15.00 per million). Updated October 22, 2026; 94 benchmarks have a result for both.

GPT-5.4OpenAI
Coding
64.4
Overall
69.6
Output $/M
$15.00
56
Grok 4.5xAI
Coding
58.6
Overall
62.1
Output $/M
$6.00
37
vs boards won of 94 shared, 1 tied

GPT-5.4 or Grok 4.5: which to pick

Pick GPT-5.4 for coding: it scores 64.4 on the Vibe Coding Index against 58.6 for Grok 4.5, though on 3 benchmarks against 6.

Pick Grok 4.5 for output tokens 2.5x cheaper ($6.00 vs $15.00 per million) and a lower cost per solved task ($0.62 against $1.02).

Shared results
94
GPT-5.4 only
16
Grok 4.5 only
29
Like-for-like categories
8 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-5.4 64.4 from 3 benchmarks, Grok 4.5 58.6 from 6 benchmarks.
Widest category
Agentic work, 15.7 points apart on average over 8 shared benchmarks.
Widest single gap
WeirdML: GPT-5.4 77.7% against Grok 4.5 46.4%, 31.3 points apart on a 0 to 100 scale.
Output price
GPT-5.4 $15.00 against Grok 4.5 $6.00 per million output tokens, 2.5x apart.
Context window
GPT-5.4 takes 1.05M 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-5.4BarsGrok 4.5Ties
Coding510
Intelligence20
Agentic work17
Reasoning104
Math501 tie
Knowledge74
Web design08
General264
All shared boards56371 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index510
Coding benchmarks for GPT-5.4 and Grok 4.5
BenchmarkGPT-5.4Grok 4.5Leader
LiveBench codingNot measured94.3%Only Grok 4.5 measured
LMArena WebDev14641553Grok 4.5
AA Coding Index71.172.4Grok 4.5
LiveCodeBench (Vals AI)84.1%87.3%Grok 4.5
SWE-bench Verified (Vals AI)78.2%86.6%Grok 4.5
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)67.4%69.0%Grok 4.5
Code migration (Vals AI)35.0%36.6%Grok 4.5
ProgramBench (Vals AI)0.5%0.0%GPT-5.4
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)51.7%66.0%Grok 4.5
CyberBench (Vals AI)Not measured71.0%Only Grok 4.5 measured
SciCodeNot measured55.0%Only Grok 4.5 measured
Terminal-Bench Hard (Artificial Analysis run)57.6%Not measuredOnly GPT-5.4 measured
Terminal-Bench81.8%Not measuredOnly GPT-5.4 measured
FrontierCodeNot measured42.4%Only Grok 4.5 measured
GSO-Bench31.4%Not measuredOnly GPT-5.4 measured
WeirdML77.7%46.4%GPT-5.4
MirrorCode15.6%Not measuredOnly GPT-5.4 measured
ALE-Bench1607.01309.3GPT-5.4
LMArena Text: coding14961474GPT-5.4
LMArena Text: software and IT14911471GPT-5.4
LMArena WebDev: React14541556Grok 4.5
LMArena WebDev: HTML14781567Grok 4.5
LMArena WebDev: from an image14361562Grok 4.5
SciCodeNot measured6.5%Only Grok 4.5 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 GPT-5.4 and Grok 4.5
BenchmarkGPT-5.4Grok 4.5Leader
AA Intelligence Index39.038.8GPT-5.4
Epoch Capabilities Index157.3154.1GPT-5.4
Agentic workLike-for-likePublic boards, shown as published, kept out of the index17
Agentic work benchmarks for GPT-5.4 and Grok 4.5
BenchmarkGPT-5.4Grok 4.5Leader
AA Agentic IndexNot measured41.2Only Grok 4.5 measured
Design Arena: agents building web apps10591218Grok 4.5
Design Arena: agents building full-stack apps10171249Grok 4.5
Design Arena: agents building mobile apps10871220Grok 4.5
Design Arena: agents building Android apps10311236Grok 4.5
Design Arena: agents building Godot games11351229Grok 4.5
Design Arena: agents building gamesNot measured1236Only Grok 4.5 measured
Design Arena: HTML slidesNot measured1205Only Grok 4.5 measured
Design Arena: PowerPoint slidesNot measured1230Only 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
τ²-Bench Telecom87.1%Not measuredOnly GPT-5.4 measured
APEX-Agents52.4%56.2%Grok 4.5
METR time horizons74.3%Not measuredOnly GPT-5.4 measured
DeepResearch Bench35.1%Not measuredOnly GPT-5.4 measured
PostTrainBench19.0%23.4%Grok 4.5
Vending-Bench 2$6,144$3,887GPT-5.4
LMArena SearchNot measured1216Only Grok 4.5 measured
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index104
Reasoning benchmarks for GPT-5.4 and Grok 4.5
BenchmarkGPT-5.4Grok 4.5Leader
GPQA Diamond91.7%92.9%Grok 4.5
LiveBench reasoningNot measured87.2%Only Grok 4.5 measured
MMMU Pro (Vals AI)87.5%61.8%GPT-5.4
GPQA Diamond (Artificial Analysis run)92.0%93.1%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)43.7%42.7%GPT-5.4
GPQA Diamond (Epoch AI run)93.3%93.4%Grok 4.5
ARC-AGI93.7%87.2%GPT-5.4
ARC-AGI-274.0%52.6%GPT-5.4
SimpleBenchNot measured70.0%Only Grok 4.5 measured
Chess puzzles48.0%35.0%GPT-5.4
Mystery game puzzles37.0%Not measuredOnly GPT-5.4 measured
EBR-bench25.4%Not measuredOnly GPT-5.4 measured
LMArena Text: hard prompts14851462GPT-5.4
LMArena Text: expert15071465GPT-5.4
LMArena Text: hard prompts in English14791464GPT-5.4
LMArena Vision: diagrams13271304GPT-5.4
LMArena Vision: homework13361295GPT-5.4
Kagi LLM Benchmark63.8%83.5%Grok 4.5
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for GPT-5.4 and Grok 4.5
BenchmarkGPT-5.4Grok 4.5Leader
AIME96.7%Not measuredOnly GPT-5.4 measured
OTIS Mock AIME97.8%97.8%Tie
FrontierMath, tiers 1 to 378.6%57.2%GPT-5.4
FrontierMath, tier 449.0%24.4%GPT-5.4
ProofBench56.0%31.0%GPT-5.4
LMArena Text: math14881460GPT-5.4
LMArena Text: mathematical work14971482GPT-5.4
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index74
Knowledge benchmarks for GPT-5.4 and Grok 4.5
BenchmarkGPT-5.4Grok 4.5Leader
MMLU Pro87.5%89.2%Grok 4.5
LegalBench (Vals AI)86.0%86.0%GPT-5.4
CaseLaw (Vals AI)63.8%Not measuredOnly GPT-5.4 measured
CorpFin (Vals AI)65.3%67.4%Grok 4.5
TaxEval (Vals AI)74.0%71.7%GPT-5.4
MortgageTax (Vals AI)68.3%61.8%GPT-5.4
MedQA (Vals AI)96.1%Not measuredOnly GPT-5.4 measured
MedCode (Vals AI)41.3%43.3%Grok 4.5
SimpleQA Verified45.1%48.3%Grok 4.5
LMArena Text: science14791464GPT-5.4
LMArena Text: medicine and healthcare14581440GPT-5.4
LMArena Text: legal and government14861463GPT-5.4
LMArena Text: business and finance14741441GPT-5.4
FACTS Benchmark SuiteNot measured50.2%Only Grok 4.5 measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for GPT-5.4 and Grok 4.5
BenchmarkGPT-5.4Grok 4.5Leader
Design Arena: websites11981281Grok 4.5
Design Arena: UI components12121280Grok 4.5
Design Arena: game dev11941264Grok 4.5
Design Arena: data viz11961266Grok 4.5
Design Arena: 3D10651257Grok 4.5
Design Arena: all code categories11791275Grok 4.5
Design Arena: SVG11411215Grok 4.5
Design Arena: ASCII art11881256Grok 4.5
LiveBench designNot measured78.1%Only Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index264
General benchmarks for GPT-5.4 and Grok 4.5
BenchmarkGPT-5.4Grok 4.5Leader
LiveBench data analysisNot measured73.0%Only Grok 4.5 measured
SAGE (Vals AI)43.3%35.0%GPT-5.4
MedScribe (Vals AI)77.5%86.9%Grok 4.5
Vals Multimodal IndexNot measured63.4%Only Grok 4.5 measured
IFBench73.9%Not measuredOnly GPT-5.4 measured
Long context reasoning (AA-LCR)82.0%79.3%GPT-5.4
DTBench94.4%96.5%Grok 4.5
LMCA52.0%45.2%GPT-5.4
CL-bench27.9%Not measuredOnly GPT-5.4 measured
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assembly37.5%22.5%GPT-5.4
CL-bench Life21.7%Not measuredOnly GPT-5.4 measured
LMArena Text14691448GPT-5.4
LMArena Text: instruction following14691445GPT-5.4
LMArena Text: creative writing14391442Grok 4.5
LMArena Vision13031287GPT-5.4
LMArena Text: English14671453GPT-5.4
LMArena Text: non-English14651440GPT-5.4
LMArena Text: Chinese15201495GPT-5.4
LMArena Text: German14721448GPT-5.4
LMArena Text: Japanese14851430GPT-5.4
LMArena Text: Korean14491406GPT-5.4
LMArena Text: French14931457GPT-5.4
LMArena Text: Spanish14521451GPT-5.4
LMArena Text: Russian14801449GPT-5.4
LMArena Text: Polish14721432GPT-5.4
LMArena Text: multi-turn14821456GPT-5.4
LMArena Text: longer queries14731462GPT-5.4
LMArena Text: writing and language14581445GPT-5.4
LMArena Text: entertainment and media14381434GPT-5.4
LMArena Vision: English13011285GPT-5.4
LMArena Vision: Chinese13541345GPT-5.4
LMArena Vision: reading text13121293GPT-5.4
LMArena Vision: humor12841276GPT-5.4
LMArena Vision: recognizing things1251Not measuredOnly GPT-5.4 measured
LMArena Vision: creative writing12831293Grok 4.5
LMArena Document14711452GPT-5.4
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 GPT-5.4 and Grok 4.5
BenchmarkGPT-5.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-5.4$0.010Fits in one request
Grok 4.5$0.0050Fits in one request

Grok 4.5 costs less

Repository review

50K input + 3K output tokens

GPT-5.4$0.170Fits in one request
Grok 4.5$0.118Fits in one request

Grok 4.5 costs less

Agent loop

200K input + 10K output tokens

GPT-5.4$0.650Fits in one request
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-5.4 and Grok 4.5
SpecificationOpenAI GPT-5.4SpaceXAI Grok 4.5
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedMarch 5, 2026July 8, 2026
Context window1.05M500K
Input $/Mtok$2.50$2.00
Output $/Mtok$15.00$6.00
Coding index64.458.6
Independent measurements behind it36
Cost per solved task$1.02$0.62
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.4 better than Grok 4.5 for coding?

Pick GPT-5.4 for coding: it scores 64.4 on the Vibe Coding Index against 58.6 for Grok 4.5, though on 3 benchmarks against 6. Pick Grok 4.5 for output tokens 2.5x cheaper ($6.00 vs $15.00 per million) and a lower cost per solved task ($0.62 against $1.02).

Which is cheaper, GPT-5.4 or Grok 4.5?

GPT-5.4 costs $2.50 per million input tokens and $15.00 per million output tokens; Grok 4.5 costs $2.00 and $6.00. Per solved SWE-bench Verified task, GPT-5.4 costs $1.02 and Grok 4.5 $0.62.

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

GPT-5.4, with 1.05M tokens against 500K.

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

94 benchmarks have a result for both models as of October 22, 2026. GPT-5.4's coding index rests on 3 independent benchmarks and Grok 4.5's on 6. 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/gpt-5-4-vs-grok-4-5" title="GPT-5.4 vs Grok 4.5, 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/gpt-5-4-vs-grok-4-5">LLMBenchmark.ai, GPT-5.4 vs Grok 4.5</a></p>