Models

GPT 5.4 vs Grok 4.5

Compare GPT 5.4 from OpenAI and Grok 4.5 from Grok on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

OpenAIGPT 5.4GrokGrok 4.5
OpenAI logo
GPT 5.4
OpenAI · text, image → text

GPT-5.4 is our frontier model for complex professional work.Reasoning.effort supports: none (default), low, medium, high and xhigh.

Input$2.5 /M
Output$15 /M
Cache read$0.25 /M
Grok logo
Grok 4.5
Grok · text, image → text

Grok 4.5 was trained on datasets spanning knowledge in coding, science, engineering, and math. With both intelligent and efficient reasoning, Grok 4.5 excels at real engineering tasks and exceeds comparable leading models at these tasks.

Input$2 /M
Output$6 /M
Cache read$0.5 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

GPT 5.4
Grok 4.5
Input /M
$2.5
$2
Output /M
$15
$6
Cache read /M
$0.25
$0.5
Context length
400,000
500,000
Max output
128,000
500,000
Time to First Token
1.7 s
2.8 s
Throughput
56.9 tok/s
31.5 tok/s
Modalities
textimage
textimage
Supported Parameters
thinkingfunction callingstructured outputswebtools
thinkingtoolsfunction callingstructured outputslong context
API Formats
chat_completions · responses · claude_api
Released
March 5, 2026
July 2026

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

gpt-5.4grok-4.5

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

gpt-5.4grok-4.5

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
gpt-5.4grok-4.5
1420146015001540
Overall
14661471
Coding
15141523
Math
14611479
Hard prompts
14881495
Instruction following
14611466
Multi-turn
14761481
Creative writing
14361451
Longer query
14781487
Chinese
14941512
English
14691476
Vision
gpt-5.4grok-4.5
12601280130013201340
Overall
12811282
OCR
12931294
Diagram
13171319
Homework
13061324
WebDev Arena
gpt-5.4grok-4.5
1360144015201600
Overall
13881556
React
13831559
HTML
14281571
Gaming
14071589
Simulations
14211585
Data analytics
13991521

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

Grok 4.5
$210 /mo
GPT 5.4
$375 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: GPT 5.4, Grok 4.5?

Grok 4.5: $6/M output tokens; GPT 5.4: $15/M. Use the cost calculator above to estimate your own workload.

How do their coding arena scores compare?

Grok 4.5: 1523; GPT 5.4: 1514 (LMArena coding leaderboard).

Which responds faster?

GPT 5.4: 1.7s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

GPT 5.4 accepts 400,000 and Grok 4.5 accepts 500,000 input tokens. Maximum output per request is 128,000 tokens on GPT 5.4 and 500,000 tokens on Grok 4.5.

Which one generates tokens faster?

GPT 5.4 at 56.9 tok/s and Grok 4.5 at 31.5 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

GPT 5.4 accepts text and image input and supports thinking, function calling, structured outputs, web search and tool calling; Grok 4.5 accepts text and image input and supports thinking, tool calling, function calling, structured outputs and long context.

Can I call GPT 5.4 and Grok 4.5 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.