Granite 4.2 8B vs Grok 4.7

Price, context window & benchmark comparison

I

Granite 4.2 8B

IBM Granite
$0.06 / $0.25
Input / Output · per 1M tokens
VS
X

Grok 4.7

xAI
$1.60 / $4.80
Input / Output · per 1M tokens
Compare different models
I
X
Verdict: Granite 4.2 8B is 22.3× 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 11.1). Grok 4.7 has the larger context window (500K vs 131K).
Granite 4.2 8BGrok 4.7
Input price / 1M$0.06$1.60
Output price / 1M$0.25$4.80
Blended price (3:1)$0.11$2.40
Cached input / 1M$0.015$0.40
Context window131K500K
Max output118K450K
Intelligence index11.146.4
Coding index22.4
Providers4
Best provider uptime (30m)100.0%
Vision inputNoYes
ReasoningYesYes
Tool callingYesYes
Released2026-08-312026-09-21
Retirement

Cost calculator

FAQ

Which is cheaper, Granite 4.2 8B or Grok 4.7?

Granite 4.2 8B is 22.3× cheaper than Grok 4.7 on a typical 3:1 input/output mix.

Granite 4.2 8B vs Grok 4.7: which has a bigger context window?

Granite 4.2 8B: 131,072 tokens. Grok 4.7: 500,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Granite 4.2 8B ≈ $245.00, Grok 4.7 ≈ $5,600.

More comparisons