ModelRefs / GLM-5.3 vs Claude Sonnet 4
GLM-5.3 vs Claude Sonnet 4
GLM-5.3 vs Claude Sonnet 4: Claude Sonnet 4 is retired (since 15 Jun 2026). Side-by-side benchmarks, pricing, context windows, coding ability and deployment.
Overview
Claude Sonnet 4: Claude Sonnet 4 is Anthropic's May 2025 hybrid-reasoning model for coding, visual reasoning, tool use, and agent workflows. The dated claude-sonnet-4-20250514 snapshot was retired on Anthropic-operated platforms on June 15, 2026 and is retained as a historical evaluation and migration reference.
GLM-5.3: GLM-5.3 is Z.ai's coding- and agent-focused flagship, released on 14 August 2026 on the same base model as GLM-5.2 with every gain coming from post-training. It has a 1M-token context, always-on reasoning with low, high and max effort, and published weights under the GLM-5.3 License, a permissive MIT-style licence with a security-review condition for very large Model-as-a-Service operators. Z.ai's API lists it at $1.40 input and $4.40 output per million tokens.
Context window: Claude Sonnet 4 accepts up to 200,000 tokens, GLM-5.3 up to 1,000,000. Confirm the limit for your specific deployment channel before relying on it.
Model lifecycle
-
Claude Sonnet 4 has been retired — since 15 June 2026. Anthropic names
claude-sonnet-5-5as the replacement.Stated by Anthropic, not by ModelRefs. Read 13 November 2026. Lifecycle page
Claude Sonnet 4 vs GLM-5.3 at a glance
| Attribute | Claude Sonnet 4 | GLM-5.3 |
|---|---|---|
| Provider | Anthropic | Zhipu AI |
| Released | 2025-05-22 | 2026-08-14 |
| Context window | 200,000 tokens | 1,000,000 tokens |
| Input price | $3/M tokens | $1.4/M tokens |
| Output price | $15/M tokens | $4.4/M tokens |
| Licence | Proprietary | GLM-5.3 License |
| Self-hostable | No, hosted only | Yes, open weights |
| Modalities | text, vision | text |
Reported on different variants
Both models are measured on these benchmarks, but not on the same variant of them, so the two numbers are not a like-for-like comparison. Each side is shown with the variant it was measured on.
| Benchmark | Claude Sonnet 4 | GLM-5.3 | Reported |
|---|---|---|---|
| Terminal-Bench | 35.5 (success) | 28.3 (Terminal-Bench 3.0, success) | 2025-05-22 / 2026-08-14 |
A different task set or a different reported metric can move a score by more than the gap between two models. Use these as two separate findings, not as a ranking.
Where they differ most
- Cost Efficiency: Claude Sonnet 4 37%, GLM-5.3 62%. GLM-5.3 leads on this dimension.
- Reasoning: Claude Sonnet 4 72%, GLM-5.3 63%. Claude Sonnet 4 leads on this dimension.
- Coding: Claude Sonnet 4 57%, GLM-5.3 60%. GLM-5.3 leads on this dimension.
- Agentic: Claude Sonnet 4 61%, GLM-5.3 58%. Claude Sonnet 4 leads on this dimension.
Capability scores are ModelRefs' own derived signals, not vendor claims or benchmark results. Validate against your own workload before relying on them.
Where to next
- Pick by what you’re building — Rank every evidence-admitted model against your workload, with the trust adjustments and exclusions shown.
- Full Claude Sonnet 4 reference
- Full GLM-5.3 reference
- Compare other models
Continue your research
Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to GLM-5.3 vs Claude Sonnet 4.
Frequently asked questions
Which is better, GLM-5.3 or Claude Sonnet 4?
GLM-5.3 and Claude Sonnet 4 target different workloads — see the benchmark and pricing tables for a side-by-side answer.
Is GLM-5.3 cheaper than Claude Sonnet 4?
Compare $0.00140 vs $0.00300 on this page.