live
weekly refresh
basedagi.org
▸ compare

Z.ai: GLM 5 vs Anthropic: Claude Sonnet 4.5

Side-by-side benchmark comparison based on independent public data. Scores, pricing, context, and task breakdown.

▸ verdict
Z.ai: GLM 5
86.2
vs
Anthropic: Claude Sonnet 4.5
85.7
These two models are effectively tied on overall score within the two-point margin. Choose based on pricing, context window, or task-specific performance below.
▸ score breakdown
TaskZ.ai: GLM 5Anthropic: Claude Sonnet 4.5Δ
Overall86.285.7+0.5
Coding64.759.8+4.9
Reasoning45.3
Math
Writing84.3
JSON28.6
▸ specs & pricing
AttributeZ.ai: GLM 5Anthropic: Claude Sonnet 4.5
ProviderZ AiAnthropic
Context window203K1M
Input $/M tokens$0.60/M$3.00/M
Output $/M tokens$1.92/M$15.00/M
Weightsproprietaryproprietary
▸ frequently asked

Is Z.ai: GLM 5 better than Anthropic: Claude Sonnet 4.5?

Z.ai: GLM 5 and Anthropic: Claude Sonnet 4.5 are closely matched in overall score. Choose based on pricing, context window, or the task-specific scores in the table above.

Which is cheaper: Z.ai: GLM 5 or Anthropic: Claude Sonnet 4.5?

Z.ai: GLM 5 is cheaper at $0.6/M input tokens vs $3/M for Anthropic: Claude Sonnet 4.5.

Which model is better for coding?

Z.ai: GLM 5 leads on coding with a score of 64.7 vs 59.8 for Anthropic: Claude Sonnet 4.5. This is based on SWE-Bench, Aider Polyglot, and LiveCodeBench data.