← All models
Compare

Claude Opus 4.8 vs GLM-5.1

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

Claude Opus 4.8Anthropic · 1 in the newsGLM-5.1Z.ai (Zhipu AI) · 5 in the news
Scores
Intelligence (ECI)157150
Coding9669
Math9163
Reasoning & Knowledge7648
Agentic & Tools94
Specifications
DeveloperAnthropicZ.ai (Zhipu AI)
FamilyClaude
ReleasedMay 28, 2026Apr 7, 2026
Parameters754B
AvailabilityAPI access
Context window1M203K
Price — $/M input$5.00$0.98
Price — $/M output$25.00$3.08
Inputstext, image, filetext
Outputstexttext
Benchmarks
AIME 2024/202598%92%
APEX43%
ARC-AGI93%
ARC-AGI-272%
FrontierMath47%33%
FrontierMath Tier 431%13%
GPQA Diamond91%85%
SimpleBench65%59%
SimpleQA Verified40%37%
WebDev Arena15521534
WeirdML83%57%
SWE-bench Verified74%

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

Is Claude Opus 4.8 better than GLM-5.1?

On Epoch AI's Capabilities Index, Claude Opus 4.8 scores higher (157) than GLM-5.1 (150). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.

Which is cheaper, Claude Opus 4.8 or GLM-5.1?

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

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

Claude Opus 4.8 supports up to 1M tokens, compared with 203K for the other.

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

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