← All models
Compare

Claude Opus 4.8 vs GLM-5.2

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

Claude Opus 4.8Anthropic · 1 in the newsGLM-5.2Z.ai (Zhipu AI) · 6 in the news
Scores
Intelligence (ECI)157
Coding9391
Math9133
Reasoning & Knowledge7570
Agentic & Tools94
Specifications
DeveloperAnthropicZ.ai (Zhipu AI)
FamilyClaude
ReleasedMay 28, 2026Jun 16, 2026
Parameters
AvailabilityAPI accessOpen weights (unrestricted)
Context window1M1M
Price — $/M input$5.00$0.95
Price — $/M output$25.00$3.00
Inputstext, image, filetext
Outputstexttext
Benchmarks
AIME 2024/202598%86%
APEX43%
ARC-AGI93%
ARC-AGI-272%
FrontierMath47%
FrontierMath Tier 431%
GPQA Diamond91%92%
SimpleBench65%
SimpleQA Verified40%38%
WebDev Arena15521593
WeirdML83%70%
SWE-bench Verified79%

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, Claude Opus 4.8 or GLM-5.2?

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

Which has a larger context window, Claude Opus 4.8 or GLM-5.2?

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

Which is better for coding, Claude Opus 4.8 or GLM-5.2?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Claude Opus 4.8 ranks higher — 93th vs 91th 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.