Comparing 2 models

Claude Sonnet 4.5 vs GLM 5.2

Facts first, then task-specific rankings. A highlighted cell is better only for that row, not universally.

metric
Model 1Claude Sonnet 4.5
Model 2GLM 5.2
Best for
Tool & Function Calling (#2)
Coding (#2)
Provider
anthropic
z-ai
Context
1M
1.0MBest
Input / 1M
$3
$0.70Best
Output / 1M
$15
$2.20Best
Tool use
yesBest
yesBest
Vision
yesBest
Reasoning
yesBest
yesBest
Open-weight
Released
Jan 15, 2025
Jun 13, 2026