Claude Sonnet 5 vs GLM-5.2: Specs & Benchmark Comparison
Claude Sonnet 5 is developed by Anthropic, while GLM-5.2 comes from Zhipu AI. Both were released in June 2026. GLM-5.2 has a published size of about 753 billion parameters; Anthropic has not disclosed the parameter count of Claude Sonnet 5.
We have 22 benchmark results for Claude Sonnet 5 and 4 benchmark results for GLM-5.2, but they were measured on different benchmarks, so there is no like-for-like scoreboard.
GLM-5.2 is the cheaper API at $1.40 per million input tokens and $4.40 per million output tokens, about 43% below Claude Sonnet 5 at $2 and $10. Both accept a context window of about 1M tokens. Claude Sonnet 5 accepts text and images as input, while GLM-5.2 accepts text.
| Characteristic | Claude Sonnet 5 | GLM-5.2 |
|---|---|---|
| Company | Anthropic | Zhipu AI |
| Release Date | June 30, 2026 | June 16, 2026 |
| Parameters | — | 753B |
| Multimodal | Yes | No |
| Context (input) | 1.0M | 1.0M |
| Context (output) | 64K | 131K |
| Input Price / 1M | $2.00 | $1.40 |
| Output Price / 1M | $10.00 | $4.40 |
| Average Score | 60.5% | 94.3% |
Verdict
GLM-5.2 leads in 2 out of 4 comparison categories.
Both models show comparable average scores: Claude Sonnet 5 — 0.6, GLM-5.2 — 0.9.
GLM-5.2 is 2.1x cheaper: input $1.40/1M vs $2.00/1M tokens.
GLM-5.2 supports a larger context: 1M vs 1M tokens.
Claude Sonnet 5 is newer: released 6/30/2026 vs 6/16/2026.
More About These Models
Related Comparisons
Frequently Asked Questions
Which is better for coding — Claude Sonnet 5 or GLM-5.2?
Which model is cheaper — Claude Sonnet 5 or GLM-5.2?
Which has a larger context window — Claude Sonnet 5 or GLM-5.2?
The Claude Sonnet 5 and GLM-5.2 comparison is updated for 2026. Data includes benchmark results, API pricing, context window size and other specifications. For more detailed information, visit the Claude Sonnet 5 or GLM-5.2 page. See also the complete list of AI model comparisons.