Claude Sonnet 4vsGLM-4.6
Claude Sonnet 4 | GLM-4.6 | |
|---|---|---|
| Specifications | ||
Parameters | — | 355B |
Context window | — | 200k |
| 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. | 30% | — |
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. | 72.7%Best | 68% |
Science GPQA DiamondGraduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 75.4% | — |
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. | — | 1339 |
| Overview | ||
| Company | Anthropic | Z.ai |
| Release date | May 22 2025 | Sep 30 2025 |
| Access | Proprietary | Open Weight |
Which is better: Claude Sonnet 4 or GLM-4.6?
Claude Sonnet 4 leads GLM-4.6 on 1 of the 1 benchmark they both report (SWE-Bench Verified). Claude Sonnet 4 shipped 131 days before GLM-4.6, so benchmark comparisons should account for the intervening progress.
Claude Sonnet 4 is proprietary, while GLM-4.6 is open weight.
On SWE-Bench Verified, Claude Sonnet 4 leads at 72.7% vs GLM-4.6 at 68%.
Frequently asked questions
Claude Sonnet 4 was released by Anthropic on May 22 2025.
GLM-4.6 was released by Z.ai on Sep 30 2025.
Claude Sonnet 4 leads on SWE-Bench Verified — Claude Sonnet 4 72.7% vs GLM-4.6 68%.
Claude Sonnet 4 is a proprietary model released by Anthropic. GLM-4.6 is an open weight model released by Z.ai.
Other comparisons
Claude Sonnet 4vsGPT-5.6 SolGLM-4.6vsGPT-5.6 SolClaude Sonnet 4vsGemini 3.6 FlashGLM-4.6vsGemini 3.6 FlashClaude Sonnet 4vsMuse Spark 1.2GLM-4.6vsMuse Spark 1.2Claude Sonnet 4vsGrok 4.5GLM-4.6vsGrok 4.5Claude Sonnet 4vsDeepSeek-V4-Flash-0731GLM-4.6vsDeepSeek-V4-Flash-0731Claude Sonnet 4vsMistral Medium 3.5GLM-4.6vsMistral Medium 3.5