Claude 3 SonnetvsGLM-5.2
Claude 3 Sonnet | GLM-5.2 | |
|---|---|---|
| Specifications | ||
Parameters | — | 744B |
Context window | — | 1M |
| Benchmarks | ||
Nonsense detection BullshitBench v2Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | — | 31% |
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. | — | 62.1% |
Agentic coding CursorBench v3.2Cursor's own test of harder, real-world coding tasks inside a code editor, on the refreshed v3.2 task set. Scores aren't comparable with v3.1. Higher is better. | — | 55% |
Agentic coding CursorBench v3.1Cursor's own test of harder, real-world coding tasks inside a code editor. Higher is better. | — | 54.6% |
Agentic coding DeepSWE 1.1Artificial Analysis' independent test of deep, agentic software-engineering work — the AI has to plan and carry out substantial coding tasks end to end. (Version 1.1 of the test.) Higher is better. | — | 44% |
Next.js coding Next.js EvalsVercel's open eval of how well AI coding agents build and migrate real Next.js apps — measured as the share of tasks the agent completes successfully. Higher is better. | — | 88% |
Agentic computer work Frontier-Bench v0.1A hard, ever-evolving set of real computer tasks — coding, system administration, data work, and more — that an AI agent has to complete on its own. Run by the Harbor / Laude Institute team as the successor to Terminal-Bench (v0.1 is the first release of the task set). The score is the share of tasks solved. Higher is better. | — | 5.1% |
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. | — | 81% |
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. | — | 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. | — | 54.7% |
Science GPQA DiamondGraduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 40.4% | 91.2%Best |
Knowledge work GDPval-AA v2economically valuable knowledge work (v2, re-based Elo) | — | 1514 |
Community preference (code) Arena Elo (Code)Like the text arena, but people vote on which AI writes better code. The votes become a chess-style Elo rating on arena.ai. Higher is better. | — | 1587 |
| Overview | ||
| Company | Anthropic | Z.ai |
| Release date | Mar 4 2024 | Jun 16 2026 |
| Access | Proprietary | Open Weight |
Which is better: Claude 3 Sonnet or GLM-5.2?
GLM-5.2 leads Claude 3 Sonnet on 1 of the 1 benchmark they both report (GPQA Diamond). Claude 3 Sonnet shipped 834 days before GLM-5.2, so benchmark comparisons should account for the intervening progress.
Claude 3 Sonnet is proprietary, while GLM-5.2 is open weight.
On GPQA Diamond, GLM-5.2 leads at 91.2% vs Claude 3 Sonnet at 40.4%.
Frequently asked questions
Claude 3 Sonnet was released by Anthropic on Mar 4 2024.
GLM-5.2 was released by Z.ai on Jun 16 2026.
GLM-5.2 leads on GPQA Diamond — Claude 3 Sonnet 40.4% vs GLM-5.2 91.2%.
Claude 3 Sonnet is a proprietary model released by Anthropic. GLM-5.2 is an open weight model released by Z.ai.
Other comparisons
Claude 3 SonnetvsGPT-5.6 SolGLM-5.2vsGPT-5.6 SolClaude 3 SonnetvsGemini 3.6 FlashGLM-5.2vsGemini 3.6 FlashClaude 3 SonnetvsMuse Spark 1.2GLM-5.2vsMuse Spark 1.2Claude 3 SonnetvsGrok 4.5GLM-5.2vsGrok 4.5Claude 3 SonnetvsDeepSeek-V4-Flash-0731GLM-5.2vsDeepSeek-V4-Flash-0731Claude 3 SonnetvsMistral Medium 3.5GLM-5.2vsMistral Medium 3.5