Claude Sonnet 4.6 vs GLM 5.2
API pricing, monthly cost and benchmark scores for Claude Sonnet 4.6 (Anthropic) and GLM 5.2 (Z.AI), side by side.
The short answer
GLM 5.2 is the cheaper of the two on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $1,226 a month against $3,402 for Claude Sonnet 4.6, 64% less. Claude Sonnet 4.6 (152.9) and GLM 5.2 (153.1) are within half a point on the Epoch Capabilities Index, so there is no meaningful intelligence gap.
Both have a 1,000,000-token context window. Across the 6 benchmarks both have results for, Claude Sonnet 4.6 leads on 2 and GLM 5.2 on 4.
Side by side
| Specification | ||
|---|---|---|
| Input price per 1M tokens | $3.00 | $1.40 |
| Cached input per 1M tokens | $0.300 | $0.260 |
| Output price per 1M tokens | $15.00 | $4.40 |
| Batch input / cached / output per 1M | $1.50 / $0.150 / $7.50 | $0.322 / $0.109 / $0.989 |
| Context window | 1M tokens | 1M tokens |
| Epoch Capabilities Index | 152.9 | 153.1 |
| GPQA | 86.6% | 92.9% |
| Release date | Feb 17, 2026 | Jun 16, 2026 |
| Open weights | No | Yes |
| Capabilities | tools, reasoning, json, vision, pdf | tools, reasoning, json |
Monthly cost for three workloads
Each row prices 30 days of traffic at standard rates. Cached input is billed at the cached rate for the share shown.
| Workload | Difference | ||
|---|---|---|---|
| Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached | $3,402.00 | $1,226.40 | GLM 5.2 is 64% cheaper |
| Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached | $7,110.00 | $3,228.00 | GLM 5.2 is 55% cheaper |
| Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached | $9,450.00 | $2,850.00 | GLM 5.2 is 70% cheaper |
Benchmark by benchmark
Only benchmarks where both models have a score. Scores are as published on each benchmark; higher is better unless the benchmark page says otherwise.
| Benchmark | ||
|---|---|---|
| Epoch Capabilities IndexECI | 152.9 | 153.1 |
| FrontierCodeMain score (%) | 24.31 | 24.5 |
| APEX-Agents% pass@1 | 43 | 45.2 |
| ARC-AGI-2% solved | 60.42 | 22.78 |
| SimpleQA Verified% correct | 35.5 | 34.2 |
| GPQA Diamond% accuracy | 86.63 | 92.86 |
Go further
Full pages: Claude Sonnet 4.6 and GLM 5.2. Or use the interactive comparison to pick any models.