Claude Sonnet 4.5 vs Grok 4.7

Price, context window & benchmark comparison

A

Claude Sonnet 4.5

Anthropic
$3.00 / $15.00
Input / Output · per 1M tokens
VS
X

Grok 4.7

xAI
$1.60 / $4.80
Input / Output · per 1M tokens
Compare different models
A
X
Verdict: Grok 4.7 is 2.5× cheaper than Claude Sonnet 4.5 on a typical 3:1 input/output mix. Grok 4.7 scores higher on the Artificial Analysis Intelligence Index (46.4 vs 20.7). Claude Sonnet 4.5 has the larger context window (1M vs 500K).
Claude Sonnet 4.5Grok 4.7
Input price / 1M$3.00$1.60
Output price / 1M$15.00$4.80
Blended price (3:1)$6.00$2.40
Cached input / 1M$0.30$0.40
Context window1M500K
Max output64K450K
Intelligence index20.746.4
Coding index52.1
Providers4
Best provider uptime (30m)99.9%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2025-09-292026-09-21
Retirement

Cost calculator

FAQ

Which is cheaper, Claude Sonnet 4.5 or Grok 4.7?

Grok 4.7 is 2.5× cheaper than Claude Sonnet 4.5 on a typical 3:1 input/output mix.

Claude Sonnet 4.5 vs Grok 4.7: which has a bigger context window?

Claude Sonnet 4.5: 1,000,000 tokens. Grok 4.7: 500,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Claude Sonnet 4.5 ≈ $13,500, Grok 4.7 ≈ $5,600.

More comparisons