Comparison · AI Models & LLMs
Grok 4.7 vs GLM-5
The same method as our rankings: scores from the engine, sourced data, verified prices.
Details: GLM-5 →Details: Grok 4.7 →

GLM-5
Z.ai
Full sheet →71.3/100
- SWE-bench accuracy
- 72.8%
- Context window
- 200k tokens
- Maximum output
- 128k tokens
- Input cost per 1M tokens
- $1.00
Grok 4.7
xAI
Full sheet →- Context window
- 500k tokens
- Input cost per 1M tokens
- $2.00
- Output cost per 1M tokens
- $6.00
The numbers side by side
Each bar is the product's verified figure; on every row the longer bar is the higher of the two values.
- Context windowhigher is better
- Input cost per 1M tokenslower is better
- Output cost per 1M tokenslower is better
Who wins where
- For long documentsGrok 4.7Context window
- Cheaper to readGLM-5Input cost per 1M tokens
- Cheaper to writeGLM-5Output cost per 1M tokens
Grok 4.7: calls tools and functions · GLM-5: open weights (downloadable)
Data sheet side by side
Performance
Memory and answer length
API prices
Knowledge and abilities
Size and openness
What a month costs
Change the volumes: the cost is worked out from the verified list prices above.
The scenarios are only starting points to edit, not data about your use. List prices without discounts, time-of-day rates or taxes.
Questions and answers
For long documents: GLM-5 or Grok 4.7?
Grok 4.7: 500k tokens against 200k tokens (Context window).
Cheaper to read: GLM-5 or Grok 4.7?
GLM-5: $1.00 against $2.00 (Input cost per 1M tokens).
Cheaper to write: GLM-5 or Grok 4.7?
GLM-5: $3.20 against $6.00 (Output cost per 1M tokens).
