Claude Sonnet 4vsGLM-5

Claude Sonnet 4
GLM-5
Specifications
Parameters
744B
Benchmarks
Nonsense detection
BullshitBench v2
30%Best
28%
Coding
SWE-Bench Verified
72.7%
77.8%Best
Multilingual coding
SWE-Bench Multilingual
73.3%
Agentic terminal coding
Terminal-Bench 2.0
56.2%
Web browsing
BrowseComp
75.9%
Multidisciplinary reasoning
Humanity's Last Exam · with tools
50.4%
Science
GPQA Diamond
75.4%
86%Best
Community preference (code)
Arena Elo (Code)
1435
Overview
CompanyAnthropicZ.ai
Release dateMay 22 2025Feb 12 2026
AccessProprietaryOpen Weight

Which is better: Claude Sonnet 4 or GLM-5?

GLM-5 leads Claude Sonnet 4 on 2 of the 3 benchmarks they both report (BullshitBench v2, SWE-Bench Verified, GPQA Diamond). Claude Sonnet 4 shipped 266 days before GLM-5, so benchmark comparisons should account for the intervening progress.

Claude Sonnet 4 is proprietary, while GLM-5 is open weight.

On BullshitBench v2, Claude Sonnet 4 leads at 30% vs GLM-5 at 28%. On SWE-Bench Verified, GLM-5 leads at 77.8% vs Claude Sonnet 4 at 72.7%. On GPQA Diamond, GLM-5 leads at 86% vs Claude Sonnet 4 at 75.4%.

Frequently asked questions

Claude Sonnet 4 was released by Anthropic on May 22 2025.

GLM-5 was released by Z.ai on Feb 12 2026.

GLM-5 leads on SWE-Bench Verified — Claude Sonnet 4 72.7% vs GLM-5 77.8%.

GLM-5 leads on GPQA Diamond — Claude Sonnet 4 75.4% vs GLM-5 86%.

Claude Sonnet 4 is a proprietary model released by Anthropic. GLM-5 is an open weight model released by Z.ai.

Other comparisons