Claude Sonnet 4 vs GLM-4
Anthropic Claude Sonnet 4 | Z.ai GLM-4 | |
|---|---|---|
| Overview | ||
| Company | Anthropic | Z.ai |
| Release date | May 22 2025 | Jan 16 2024 |
| Access | Proprietary | Proprietary |
| 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% | — |
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% | — |
| Timeline | ||
| Release gap | GLM-4 shipped 492 days before Claude Sonnet 4 | |
Which is better: Claude Sonnet 4 or GLM-4?
Claude Sonnet 4 and GLM-4 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. GLM-4 shipped 492 days before Claude Sonnet 4, so benchmark comparisons should account for the intervening progress.
Published specifications for these two models are limited — see each model page for the latest details.
Direct benchmark comparisons are unavailable — Claude Sonnet 4 and GLM-4 don't publish scores on any of the same benchmarks.
Frequently asked questions
Claude Sonnet 4 was released by Anthropic on May 22 2025.
GLM-4 was released by Z.ai on Jan 16 2024.
Other comparisons
Claude Sonnet 4 vs GPT-5.6 SolGLM-4 vs GPT-5.6 SolClaude Sonnet 4 vs Gemini OmniGLM-4 vs Gemini OmniClaude Sonnet 4 vs Muse SparkGLM-4 vs Muse SparkClaude Sonnet 4 vs Grok 4.3 BetaGLM-4 vs Grok 4.3 BetaClaude Sonnet 4 vs DeepSeek-V4-ProGLM-4 vs DeepSeek-V4-ProClaude Sonnet 4 vs Mistral Medium 3.5GLM-4 vs Mistral Medium 3.5