← Back to Calculator

GPT-5.4 vs Grok 4.5

Detailed comparison of API pricing, technical specifications, and benchmark scores. Updated 2026-06-29.

Cost at a Glance

GPT-5.4 is 1.9× more expensive than Grok 4.5 (48.2% savings if you switch).

At 5M input + 2M output tokens per month:

GPT-5.4$42.50/movsGrok 4.5$22.00/mo

Choosing Grok 4.5 could save you $20.50/mo

Price Comparison (per 1M tokens)

Input (per 1M tokens)
$2.50vs$2.00
Output (per 1M tokens)
$15.00vs$6.00
Cache Write (per 1M tokens)
$3.13vs
Cache Read (per 1M tokens)
$0.25vs$0.50
Batch Input (per 1M tokens)
$1.25vs
Batch Output (per 1M tokens)
$7.50vs

Prices are per 1 million tokens. Actual costs depend on your monthly token volume. Use the calculator →

Specifications

Context Window
1Mvs500K
Max Output Tokens
128Kvs128K
Knowledge Cutoff
2025-12vs2026-05
Modalities
Text, ImagevsText, Image, Video
Prompt Caching
YesvsYes
Batch API
YesvsNo
Thinking / Reasoning
NovsYes

Benchmark Scores

SWE-bench Verified
78.0vs80.0
MMLU-Pro
84.5vs84.0
HumanEval
93.0vs92.0

Benchmark scores from official provider reports. Higher is better. Missing scores indicate the provider has not published that benchmark yet.

Use Cases

GPT-5.4

codinggeneralbalanced

Grok 4.5

reasoningcodingfastvalue

About the Providers

GPT-5.4 is developed by OpenAI. Grok 4.5 is developed by SpaceXAI. This is a cross-provider comparison between OpenAI and SpaceXAI models. For the most up-to-date pricing, always check the official API documentation from each provider.

Compare More AI Models