This one is close on capability and split on everything else. Claude Sonnet 5 scores 63.2% on SWE-bench Pro (Anthropic system card) and GLM-5.2 scores 62.1% (Zhipu self-reported) — about a single point apart, close enough to call a near dead heat on agentic coding. The real fork is the distribution model. Pick Claude Sonnet 5 for the mature ecosystem, the documented safety posture, and zero-friction support: it is the default model on the Free and Pro plans of Claude, ships in Claude Code and the Claude API, and comes with a published system card. Pick GLM-5.2 for price, openness, and control: MIT open weights you can self-host, no regional lock-in, and $1.40 per million input tokens and $4.40 per million output tokens against Sonnet 5's $2 and $10 introductory rate. There is no single winner because the two models optimize for different things — Sonnet 5 sells you a polished, supported, closed product, and GLM-5.2 sells you a cheaper, open, self-hostable one at nearly the same coding score. Choose the distribution model your team can live with, because the capability gap will not decide it for you.