live
weekly refresh
basedagi.org
▸ compare

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

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

▸ verdict
Anthropic: Claude Sonnet 4.5
85.2
vs
Z.ai: GLM 5
85.1
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
TaskAnthropic: Claude Sonnet 4.5Z.ai: GLM 5Δ
Overall85.285.1+0.1
Coding59.264.6-5.4
Reasoning43.3
Math
Writing83.8
JSON28.6
▸ specs & pricing
AttributeAnthropic: Claude Sonnet 4.5Z.ai: GLM 5
ProviderAnthropicZ Ai
Context window1M203K
Input $/M tokens$3.00/M$0.60/M
Output $/M tokens$15.00/M$1.92/M
Weightsproprietaryproprietary
▸ frequently asked

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

Anthropic: Claude Sonnet 4.5 and Z.ai: GLM 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: Anthropic: Claude Sonnet 4.5 or Z.ai: GLM 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.6 vs 59.2 for Anthropic: Claude Sonnet 4.5. This is based on SWE-Bench, Aider Polyglot, and LiveCodeBench data.