← All models
Compare

GLM-5.1 vs GLM-5.2

GLM-5.1 (Z.ai (Zhipu AI)) and GLM-5.2 (Z.ai (Zhipu AI)) compared on benchmarks, pricing, context window, and use-case rankings.

GLM-5.1Z.ai (Zhipu AI) · 6 in the newsGLM-5.2Z.ai (Zhipu AI) · 6 in the news
Scores
Intelligence (ECI)150
Coding6591
Math6333
Reasoning & Knowledge4770
Agentic & Tools
Specifications
DeveloperZ.ai (Zhipu AI)Z.ai (Zhipu AI)
Family
ReleasedApr 7, 2026Jun 16, 2026
Parameters754B
AvailabilityOpen weights (unrestricted)
Context window203K1M
Price — $/M input$0.98$0.95
Price — $/M output$3.08$3.00
Inputstexttext
Outputstexttext
Benchmarks
AIME 2024/202592%86%
FrontierMath33%
FrontierMath Tier 413%
GPQA Diamond85%92%
SimpleBench59%
SimpleQA Verified37%38%
SWE-bench Verified74%79%
WebDev Arena15341593
WeirdML57%70%

Use-case scores are 0–100 percentile composites across each area’s benchmarks, ranked against every model from the past year. Highlighted cells lead each row. Open a model for the full picture.

Frequently asked questions

Which is cheaper, GLM-5.1 or GLM-5.2?

GLM-5.2 is cheaper on input tokens at $0.95 per million, versus $0.98 (representative OpenRouter pricing).

Which has a larger context window, GLM-5.1 or GLM-5.2?

GLM-5.2 supports up to 1M tokens, compared with 203K for the other.

Which is better for coding, GLM-5.1 or GLM-5.2?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, GLM-5.2 ranks higher — 91th vs 65th percentile among the models tracked on Model Beat.

Want a different match-up? Open the compare tool to add or swap models.

Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.