Claude Sonnet 5 vs GLM-5.2
Anthropic Claude Sonnet 5 | Z.ai GLM-5.2 | |
|---|---|---|
| Overview | ||
| Company | Anthropic | Z.ai |
| Release date | Jun 30 2026 | Jun 16 2026 |
| Access | Proprietary | Open Weight |
| Specifications | ||
Parameters | — | 744B |
Context window | — | 1M |
| Benchmarks | ||
Agentic coding SWE-Bench ProCan the AI fix real bugs in real software? It's handed actual problems from open-source projects and has to write code that genuinely solves them. Higher is better. | 63.2%Best | 62.1% |
Agentic coding CursorBench v3.1Cursor's own test of harder, real-world coding tasks inside a code editor. Higher is better. | 61.2%Best | 54.6% |
Agentic terminal coding Terminal-Bench 2.1Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Higher is better. | 80.4% | 81%Best |
Multidisciplinary reasoning Humanity's Last Exam · no toolsHumanity's Last Exam — extremely hard expert questions across many subjects, written so you can't just look up the answer. “No tools” means the AI answers on its own. Higher is better. | 43.2%Best | 40.5% |
Multidisciplinary reasoning Humanity's Last Exam · with toolsHumanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | 57.4% | — |
Science GPQA DiamondGraduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | — | 91.2% |
Agentic computer use OSWorld-VerifiedCan the AI actually operate a computer — clicking, typing, and using real apps — to finish tasks on its own? Higher is better. | 81.2% | — |
Knowledge work GDPval-AAMeasures how well the AI does economically valuable knowledge work, judged against human experts. Shown as a rating (like a chess Elo) — higher is better. | 1618 | — |
| Timeline | ||
| Release gap | GLM-5.2 shipped 14 days before Claude Sonnet 5 | |
Which is better: Claude Sonnet 5 or GLM-5.2?
Claude Sonnet 5 leads GLM-5.2 on 3 of the 4 benchmarks they both report (SWE-Bench Pro, CursorBench v3.1, Terminal-Bench 2.1, Humanity's Last Exam). GLM-5.2 shipped 14 days before Claude Sonnet 5, so benchmark comparisons should account for the intervening progress.
Claude Sonnet 5 is proprietary, while GLM-5.2 is open weight.
On SWE-Bench Pro, Claude Sonnet 5 leads at 63.2% vs GLM-5.2 at 62.1%. On CursorBench v3.1, Claude Sonnet 5 leads at 61.2% vs GLM-5.2 at 54.6%. On Terminal-Bench 2.1, GLM-5.2 leads at 81% vs Claude Sonnet 5 at 80.4%. On Humanity's Last Exam · no tools, Claude Sonnet 5 leads at 43.2% vs GLM-5.2 at 40.5%.
Frequently asked questions
Claude Sonnet 5 was released by Anthropic on Jun 30 2026.
GLM-5.2 was released by Z.ai on Jun 16 2026.
Claude Sonnet 5 leads on SWE-Bench Pro — Claude Sonnet 5 63.2% vs GLM-5.2 62.1%.
Claude Sonnet 5 leads on Humanity's Last Exam · no tools — Claude Sonnet 5 43.2% vs GLM-5.2 40.5%.
Claude Sonnet 5 is a proprietary model released by Anthropic. GLM-5.2 is an open weight model released by Z.ai.