GPT-5.4 vs Grok 4.7

Price, context window & benchmark comparison

OpenAI

GPT-5.4

OpenAI
$2.50 / $15.00
Input / Output · per 1M tokens
VS
xAI

Grok 4.7

xAI
$1.60 / $4.80
Input / Output · per 1M tokens
Compare different models
OpenAI
xAI
Verdict: Grok 4.7 is 2.3× cheaper than GPT-5.4 on a typical 3:1 input/output mix. GPT-5.4 has the larger context window (1.1M vs 500K).
GPT-5.4Grok 4.7
Input price / 1M$2.50$1.60
Output price / 1M$15.00$4.80
Blended price (3:1)$5.63$2.40
Cached input / 1M$0.25$0.40
Context window1.1M500K
Max output128K450K
Intelligence index46.4
Coding index71.1
Providers4
Best provider uptime (30m)100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-03-052026-09-21
Retirement

Cost calculator

FAQ

Which is cheaper, GPT-5.4 or Grok 4.7?

Grok 4.7 is 2.3× cheaper than GPT-5.4 on a typical 3:1 input/output mix.

GPT-5.4 vs Grok 4.7: which has a bigger context window?

GPT-5.4: 1,050,000 tokens. Grok 4.7: 500,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: GPT-5.4 ≈ $12,500, Grok 4.7 ≈ $5,600.

More comparisons