Claude Sonnet 4 vs GLM-4.5
Anthropic Claude Sonnet 4 | Z.ai GLM-4.5 | |
|---|---|---|
| Overview | ||
| Company | Anthropic | Z.ai |
| Release date | May 22 2025 | Jul 28 2025 |
| Access | Proprietary | Open Weight |
| Specifications | ||
Parameters | — | 355B |
Context window | — | 128k |
| 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 | 64.2% |
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% | 79.1%Best |
| Timeline | ||
| Release gap | Claude Sonnet 4 shipped 67 days before GLM-4.5 | |
Which is better: Claude Sonnet 4 or GLM-4.5?
Claude Sonnet 4 and GLM-4.5 are evenly matched across the 2 benchmarks they both report (SWE-Bench Verified, GPQA Diamond). Claude Sonnet 4 shipped 67 days before GLM-4.5, so benchmark comparisons should account for the intervening progress.
Claude Sonnet 4 is proprietary, while GLM-4.5 is open weight.
On SWE-Bench Verified, Claude Sonnet 4 leads at 72.7% vs GLM-4.5 at 64.2%. On GPQA Diamond, GLM-4.5 leads at 79.1% vs Claude Sonnet 4 at 75.4%.
Frequently asked questions
Claude Sonnet 4 was released by Anthropic on May 22 2025.
GLM-4.5 was released by Z.ai on Jul 28 2025.
Claude Sonnet 4 leads on SWE-Bench Verified — Claude Sonnet 4 72.7% vs GLM-4.5 64.2%.
GLM-4.5 leads on GPQA Diamond — Claude Sonnet 4 75.4% vs GLM-4.5 79.1%.
Claude Sonnet 4 is a proprietary model released by Anthropic. GLM-4.5 is an open weight model released by Z.ai.