GLM 5.2 vs Grok 4.7

Price, context window & benchmark comparison

Z

GLM 5.2

Z.ai (Zhipu)
$0.65 / $2.04
Input / Output · per 1M tokens
VS
X

Grok 4.7

xAI
$1.60 / $4.80
Input / Output · per 1M tokens
Compare different models
Z
X
Verdict: GLM 5.2 is 2.4× 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 33.7). GLM 5.2 has the larger context window (1M vs 500K).
GLM 5.2Grok 4.7
Input price / 1M$0.65$1.60
Output price / 1M$2.04$4.80
Blended price (3:1)$1.00$2.40
Cached input / 1M$0.12$0.40
Context window1M500K
Max output131K450K
Intelligence index33.746.4
Coding index68.8
Providers4
Best provider uptime (30m)100.0%
Vision inputNoYes
ReasoningYesYes
Tool callingYesYes
Released2026-06-162026-09-21
Retirement

Cost calculator

FAQ

Which is cheaper, GLM 5.2 or Grok 4.7?

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

GLM 5.2 vs Grok 4.7: which has a bigger context window?

GLM 5.2: 1,048,576 tokens. Grok 4.7: 500,000 tokens.

How much would 1 million requests cost?

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

More comparisons