Claude Sonnet 5 vs GLM-4.7
Anthropic Claude Sonnet 5 | Z.ai GLM-4.7 | |
|---|---|---|
| Overview | ||
| Company | Anthropic | Z.ai |
| Release date | Jun 30 2026 | Dec 22 2025 |
| Access | Proprietary | Open Weight |
| Specifications | ||
Context window | — | 128k |
| 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% | — |
Coding SWE-Bench VerifiedReal coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | — | 73.8% |
Agentic coding CursorBench v3.1Cursor's own test of harder, real-world coding tasks inside a code editor. Higher is better. | 61.2% | — |
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% | — |
Agentic terminal coding Terminal-Bench 2.0Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? (Version 2.0 of the test.) Higher is better. | — | 41% |
Web browsing BrowseCompCan the AI browse the web and track down hard-to-find answers? Higher is better. | — | 52% |
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 | 24.8% |
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%Best | 42.8% |
Science GPQA DiamondGraduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | — | 85.7% |
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-4.7 shipped 190 days before Claude Sonnet 5 | |
Which is better: Claude Sonnet 5 or GLM-4.7?
Claude Sonnet 5 leads GLM-4.7 on 2 of the 2 benchmarks they both report (Humanity's Last Exam). GLM-4.7 shipped 190 days before Claude Sonnet 5, so benchmark comparisons should account for the intervening progress.
Claude Sonnet 5 is proprietary, while GLM-4.7 is open weight.
On Humanity's Last Exam · no tools, Claude Sonnet 5 leads at 43.2% vs GLM-4.7 at 24.8%. On Humanity's Last Exam · with tools, Claude Sonnet 5 leads at 57.4% vs GLM-4.7 at 42.8%.
Frequently asked questions
Claude Sonnet 5 was released by Anthropic on Jun 30 2026.
GLM-4.7 was released by Z.ai on Dec 22 2025.
Claude Sonnet 5 leads on Humanity's Last Exam · no tools — Claude Sonnet 5 43.2% vs GLM-4.7 24.8%.
Claude Sonnet 5 is a proprietary model released by Anthropic. GLM-4.7 is an open weight model released by Z.ai.