GLM 5.1 vs GLM 5.2

Z.AI against Z.AI, the same lab's consecutive models. Prices, scores and speed below are live.

  • GLM 5.2 costs 21% less on blended price ($2.56 against $3.23 per 1M tokens, 3 input to 1 output).
  • GLM 5.2 scores higher on the Artificial Analysis Intelligence Index: 34 against 26.4.
  • On the 39 benchmarks both have scores on, GLM 5.1 leads on 10 and GLM 5.2 on 28, with 1 tied.
  • GLM 5.2 reads more context: 1M tokens against 205K.
  • GLM 5.2 is newer: listed Jun 16, 2026, against Apr 7, 2026.

Side by side

GLM 5.1GLM 5.2
LabZ.AIZ.AI
ListedApr 7, 2026Jun 16, 2026
Input per 1M tokens$2.10$0.011
Output per 1M tokens$6.60$10.20
Cached input per 1M$0.39$0.009
Blended (3:1) per 1M$3.23$2.56
Context window205K1M
Max output131K944K
Knowledge cutoff--
Intelligence index26.434
Coding index55.868.8
ReasoningYesYes
Reads imagesNoNo
Tool useYesYes
Structured outputYesYes

Every benchmark both are scored on

Each model's best score per benchmark, with its source. Scores from different sources or settings are not always comparable; each links to where it was published.

BenchmarkGLM 5.1GLM 5.2
AIME93.3%Epoch AI28.9%Epoch AI
APEX-Agents40.9%Epoch AI45.2%Epoch AI
Artificial Analysis Agentic Index23.9Artificial Analysis and OpenRouter38.4Artificial Analysis and OpenRouter
Artificial Analysis Coding Index55.8Artificial Analysis and OpenRouter68.8Artificial Analysis and OpenRouter
Artificial Analysis Intelligence Index26.4Artificial Analysis and OpenRouter34Artificial Analysis and OpenRouter
Chess Puzzles20%Epoch AI22%Epoch AI
Design Arena: 3D1336 EloDesign Arena1271 EloDesign Arena
Design Arena: Android Native (agentic)1176 EloDesign Arena1173 EloDesign Arena
Design Arena: ASCII Art1142 EloDesign Arena1185 EloDesign Arena
Design Arena: Code1262 EloDesign Arena1279 EloDesign Arena
Design Arena: Data Viz1366 EloDesign Arena1283 EloDesign Arena
Design Arena: Full-stack (agentic)1145 EloDesign Arena1218 EloDesign Arena
Design Arena: Game Dev1258 EloDesign Arena1259 EloDesign Arena
Design Arena: Game Dev (agentic)1111 EloDesign Arena1157 EloDesign Arena
Design Arena: Godot Game Dev (agentic)1058 EloDesign Arena1142 EloDesign Arena
Design Arena: HTML Slides (agentic)1066 EloDesign Arena1071 EloDesign Arena
Design Arena: Mobile Apps (agentic)1156 EloDesign Arena1156 EloDesign Arena
Design Arena: PPTX Slides (agentic)1258 EloDesign Arena1159 EloDesign Arena
Design Arena: SVG1210 EloDesign Arena1200 EloDesign Arena
Design Arena: UI Component1292 EloDesign Arena1289 EloDesign Arena
Design Arena: Web Apps (agentic)1158 EloDesign Arena1205 EloDesign Arena
Design Arena: Website1290 EloDesign Arena1278 EloDesign Arena
FrontierMath Tiers 1-3 (v2)36.8%Epoch AI42.5%Epoch AI
GPQA Diamond80.8%Artificial Analysis and OpenRouter84.9%Artificial Analysis and OpenRouter
LMArena (Coding)1486 EloLMArena1488 EloLMArena
LMArena (Overall)1463 EloLMArena1469 EloLMArena
LMArena: Creative Writing1453 EloLMArena1460 EloLMArena
LMArena: Hard Prompts1473 EloLMArena1481 EloLMArena
LMArena: Longer Query1467 EloLMArena1479 EloLMArena
LMArena: Math1471 EloLMArena1489 EloLMArena
LMArena: Multi-Turn1472 EloLMArena1470 EloLMArena
ProofBench22.2%Epoch AI35%Epoch AI
SciCode44.8%Epoch AI51.2%Epoch AI
SimpleBench55.1%Epoch AI58.8%Epoch AI
SimpleQA Verified34%Epoch AI34.2%Epoch AI
SWE-bench Verified74.2%Epoch AI78.7%Epoch AI
tau-bench (Airline)71.9%Artificial Analysis and OpenRouter71.5%Artificial Analysis and OpenRouter
WebDev Arena1508 EloEpoch AI1593 EloEpoch AI
WeirdML57.1%Epoch AI70.1%Epoch AI

In our tests and guides

Where GLM 5.1 or GLM 5.2 ran on a real brief, or shows in a live table.

More comparisons

Where these figures come from

Prices are GenMagic's own, what the studio and the API charge, recomputed from each provider's price list every few minutes. The indices are the Artificial Analysis indices, and every benchmark score links to its source, re-read daily. Measured speed is GenMagic's own generation records, in aggregate. See Z.AI models, Z.AI models, every LLM's price and our sources.