GPT-5.4 Nano vs Grok 4.7

Price, context window & benchmark comparison

O

GPT-5.4 Nano

OpenAI
$0.20 / $1.25
Input / Output · per 1M tokens
VS
X

Grok 4.7

xAI
$1.60 / $4.80
Input / Output · per 1M tokens
Compare different models
O
X
Verdict: GPT-5.4 Nano is 5.2× cheaper than Grok 4.7 on a typical 3:1 input/output mix. Grok 4.7 scores higher on the Artificial Analysis Intelligence Index (46.4 vs 20.7). Grok 4.7 has the larger context window (500K vs 400K).
GPT-5.4 NanoGrok 4.7
Input price / 1M$0.20$1.60
Output price / 1M$1.25$4.80
Blended price (3:1)$0.46$2.40
Cached input / 1M$0.02$0.40
Context window400K500K
Max output128K450K
Intelligence index20.746.4
Coding index56.1
Providers4
Best provider uptime (30m)100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-03-172026-09-21
Retirement

Cost calculator

FAQ

Which is cheaper, GPT-5.4 Nano or Grok 4.7?

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

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

GPT-5.4 Nano: 400,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 Nano ≈ $1,025, Grok 4.7 ≈ $5,600.

More comparisons