token.app โ€บ Compare โ€บ Claude Sonnet 4.5 vs GLM 5.2

Claude Sonnet 4.5 vs GLM 5.2

GLM 5.2 leads on 6 of 6 shared benchmarks. GLM 5.2 is 16ร— 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 4.5GLM 5.2
ProviderAnthropicZhipu AI
Input $/1M$3.00$0.252
Output $/1M$15.00$0.792
Blended $/1M$6.00$0.387
Context window1M1.0M
Max output64K128K
ReleasedSep 2025Jun 2026
LicenceProprietaryOpen weights
GPQA Diamond 82.3% 91.9%
SWE-bench Verified 71.3% 78.7%
FrontierMath T1โ€“3 23.9% 59.2%
FrontierMath T4 2.4% 29.3%
SimpleQA Verified 23.6% 38.1%
OTIS Mock AIME 77.8% 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 4.5 ifโ€ฆ
  • No clear advantage on the data we hold.
Choose GLM 5.2 ifโ€ฆ
  • Costs less per token โ€” $0.387 vs $6.00 blended
  • Higher GPQA Diamond (91.9% vs 82.3%)
  • Higher SWE-bench Verified (78.7% vs 71.3%)
  • Higher FrontierMath T1โ€“3 (59.2% vs 23.9%)
  • Higher FrontierMath T4 (29.3% vs 2.4%)
  • Larger context window (1.0M)
  • Open weights โ€” self-hostable
  • Newer model (released Jun 2026)
FAQ
Which is better, Claude Sonnet 4.5 or GLM 5.2?
Across the 6 benchmarks both models have independently-run scores for, Claude Sonnet 4.5 leads on 0 and GLM 5.2 leads on 6. Benchmarks are one input โ€” price and context window are on this page too.
Is Claude Sonnet 4.5 cheaper than GLM 5.2?
GLM 5.2 is cheaper: $0.387 versus $6.00 per million tokens blended at 3:1 input:output. Input alone: $3.00 vs $0.252. Output alone: $15.00 vs $0.792.
What context windows do Claude Sonnet 4.5 and GLM 5.2 have?
Claude Sonnet 4.5: 1,000,000 tokens. GLM 5.2: 1,048,576 tokens.
Who makes Claude Sonnet 4.5 and GLM 5.2?
Claude Sonnet 4.5 is made by Anthropic. GLM 5.2 is made by Zhipu AI.
Related comparisons