Pairwise benchmark snapshot · Aug 16, 2026
This page compares GLM-5.2 (Zhipu) and Grok 4 (xAI) using the latest snapshots we have as of Aug 16, 2026. On preference Elo, GLM-5.2 is ahead by 4 points (1,492 vs 1,488; seed-bootstrap (Aug 1, 2026)). On SWE-bench coding, GLM-5.2 resolves 69.3% versus 58.6% (seed-bootstrap (Aug 1, 2026)). Grok 4 streams faster (98 tok/s) while GLM-5.2 is the cheaper output token ($0.97/1M). GLM-5.2 has the larger context window (1M tokens). Every cell below is a dated snapshot from a named public source — we do not invent missing scores, and we do not run SWE-bench ourselves.
Zhipu
GLM-5.2Zhipu flagship. Strong Chinese/English coding and agents.
Instant pairwise benchmark recalculation across 400+ LLMs
Category wins across intelligence, speed, and pricing efficiency.
Preference Elo, Coding proficiency, SWE-bench & LiveBench accuracy
Generation throughput and time to first token responsiveness
Cost per million tokens and max context window length
Each spoke is a skill. Farther from the center is better (0–100th percentile). Tap any dot to inspect details.
4 pts advantage
14 tok/s faster
$14.03/1M cheaper
Simulate monthly production API costs based on published $/1M tokens.
GLM-5.2 is estimated to save $304.70/month ($3,656/year).
Higher SWE-bench (69.3%).
Lower output list price ($0.97/1M).
Lower TTFT (230 ms).
Larger window (1M).
Both accept images. Defaulting to the higher-Elo side (GLM-5.2).
| Target Workload | Recommended Pick | Evaluation Rationale |
|---|---|---|
| Repo / coding agents | GLM-5.2 | Higher SWE-bench (69.3%). |
| High-volume chat | GLM-5.2 | Lower output list price ($0.97/1M). |
| Voice / low-latency UI | Grok 4 | Lower TTFT (230 ms). |
| Long-document RAG | GLM-5.2 | Larger window (1M). |
| Screenshots / vision | GLM-5.2 | Both accept images. Defaulting to the higher-Elo side (GLM-5.2). |
GLM-5.2 undercuts GLM 5V Turbo by 74.2% on input at $0.31/1M, with 1,492 Elo and 69.3% SWE-bench in dated 2026 snapshots.
Strong Chinese/English coding. 5.3 is the new row; 5.2 stays so the delta is visible.
2025-07 row. 4.6 is the buy. We keep 4 so upgrade pairs and old inbound links resolve.
No comments posted on this matchup yet. Be the first to share an evaluation note!
The real PNG is generated at /compare/glm-5-2-vs-grok-4/opengraph-image for crawlers.
Verified head-to-head card