Grok 4.7 vs Sonar

Price, context window & benchmark comparison

X

Grok 4.7

xAI
$1.60 / $4.80
Input / Output · per 1M tokens
VS
P

Sonar

Perplexity
$1.00 / $1.00
Input / Output · per 1M tokens
Compare different models
X
P
Verdict: Sonar is 2.4× cheaper than Grok 4.7 on a typical 3:1 input/output mix. Grok 4.7 has the larger context window (500K vs 127K).
Grok 4.7Sonar
Input price / 1M$1.60$1.00
Output price / 1M$4.80$1.00
Blended price (3:1)$2.40$1.00
Cached input / 1M$0.40
Context window500K127K
Max output450K114K
Intelligence index46.4
Coding index
Providers4
Best provider uptime (30m)100.0%
Vision inputYesYes
ReasoningYesNo
Tool callingYesNo
Released2026-09-212025-01-27
Retirement

Cost calculator

FAQ

Which is cheaper, Grok 4.7 or Sonar?

Sonar is 2.4× cheaper than Grok 4.7 on a typical 3:1 input/output mix.

Grok 4.7 vs Sonar: which has a bigger context window?

Grok 4.7: 500,000 tokens. Sonar: 127,072 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Grok 4.7 ≈ $5,600, Sonar ≈ $2,500.

More comparisons