Claude Opus 4.1 vs GLM-5

Benchmarks, API pricing and specs, head to head. Data updated 2026-06-10.

Claude Opus 4.1

Anthropic · Aug 2025

The last $15/$75-priced Opus — a 2025 flagship now thoroughly superseded by cheaper, stronger successors.

GLM-5

Z.ai (Zhipu) · Feb 2026

Z.ai's 744B open-weights MoE — within ~4 points of Opus 4.6 on SWE-bench Verified at $1/$3.20 per million tokens.

The verdict

GLM-5 wins 1 of the 1 benchmarks these models share, against 0 for Claude Opus 4.1. On price the gap is dramatic: GLM-5 works out roughly 19x cheaper per blended million tokens. And GLM-5 is open-weights (MIT), so it can be self-hosted — a structural advantage if data control or vendor independence matters.

Benchmark head-to-head 01

SWE-bench Verified
74.5%~77.8%
Claude Opus 4.1GLM-5

Specs & pricing

Claude Opus 4.1GLM-5
modhub Index
Input price / 1M$15$1
Output price / 1M$75$3.2
Context window200K200K
Max output32K128K
Open weightsnoyes (MIT)
Reasoning modelyesyes
Multimodal inputtext, imagetext
Knowledge cutoffMar 2025Dec 2025
ReleasedAug 2025Feb 2026
Example monthly cost*$262.50$14.80

* 10M input + 1.5M output tokens per month at list prices, no caching. Green = better value on that row.

Frequently asked questions

Which is better, Claude Opus 4.1 or GLM-5?
GLM-5 wins 1 of the 1 benchmarks these models share, against 0 for Claude Opus 4.1. On price the gap is dramatic: GLM-5 works out roughly 19x cheaper per blended million tokens. And GLM-5 is open-weights (MIT), so it can be self-hosted — a structural advantage if data control or vendor independence matters.
Which is cheaper, Claude Opus 4.1 or GLM-5?
Claude Opus 4.1 costs $15/$75 per million input/output tokens, while GLM-5 costs $1/$3.2. For a typical workload of 10M input and 1.5M output tokens per month, that's $262.50 versus $14.80.
Which model is better for coding, Claude Opus 4.1 or GLM-5?
On SWE-bench Verified — the standard agentic-coding benchmark — GLM-5 scores ~77.8% versus 74.5% for Claude Opus 4.1, making GLM-5 the stronger pick for coding agents.

More comparisons