token.app โบ Compare โบ Claude Sonnet 5 vs GLM 5.2
Claude Sonnet 5 vs GLM 5.2
Claude Sonnet 5 and GLM 5.2 split the 5 shared benchmarks evenly. GLM 5.2 is 10ร cheaper per token on a blended 3:1 basis. GLM 5.2 accepts the larger context window (1.0M).
Head to head
Blended price uses a 3:1 input:output mix
| Claude Sonnet 5 | GLM 5.2 | |
|---|---|---|
| Provider | Anthropic | Zhipu AI |
| Input $/1M | $2.00 | $0.252 |
| Output $/1M | $10.00 | $0.792 |
| Blended $/1M | $4.00 | $0.387 |
| Context window | 1M | 1.0M |
| Max output | 128K | 128K |
| Released | Jun 2026 | Jun 2026 |
| Licence | Proprietary | Open weights |
| GPQA Diamond | 90.5% | 91.9% |
| FrontierMath T1โ3 | 65.6% | 59.2% |
| FrontierMath T4 | 29.3% | 29.3% |
| SimpleQA Verified | 25.0% | 38.1% |
| OTIS Mock AIME | 94.7% | 86.4% |
Benchmark scores independently run and published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0. Only benchmarks with a score for BOTH models are compared.
Choose Claude Sonnet 5 ifโฆ
- Higher FrontierMath T1โ3 (65.6% vs 59.2%)
- Higher OTIS Mock AIME (94.7% vs 86.4%)
- Newer model (released Jun 2026)
Choose GLM 5.2 ifโฆ
- Costs less per token โ $0.387 vs $4.00 blended
- Higher GPQA Diamond (91.9% vs 90.5%)
- Higher SimpleQA Verified (38.1% vs 25.0%)
- Larger context window (1.0M)
- Open weights โ self-hostable
FAQ
Which is better, Claude Sonnet 5 or GLM 5.2?
Across the 5 benchmarks both models have independently-run scores for, Claude Sonnet 5 leads on 2 and GLM 5.2 leads on 2. Benchmarks are one input โ price and context window are on this page too.
Is Claude Sonnet 5 cheaper than GLM 5.2?
GLM 5.2 is cheaper: $0.387 versus $4.00 per million tokens blended at 3:1 input:output. Input alone: $2.00 vs $0.252. Output alone: $10.00 vs $0.792.
What context windows do Claude Sonnet 5 and GLM 5.2 have?
Claude Sonnet 5: 1,000,000 tokens. GLM 5.2: 1,048,576 tokens.
Who makes Claude Sonnet 5 and GLM 5.2?
Claude Sonnet 5 is made by Anthropic. GLM 5.2 is made by Zhipu AI.