Claude Sonnet 4.6 vs GLM-5.2
GLM-5.2 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 152.8). GLM-5.2 is about 3× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has open weights, so you can self-host and fine-tune it; Claude Sonnet 4.6 is API-only.
| Spec | Claude Sonnet 4.6 | GLM-5.2 |
|---|---|---|
| Provider | Anthropic | Zhipu AI (Z.ai) |
| Released | Feb 17, 2026 | Jun 13, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | 753B |
| Context window | 1M | 1M |
| Max output | 125K | 128K (better) |
| Input price / 1M | $3 | $1.20 (better) |
| Output price / 1M | $15 | $4.18 (better) |
| Input modalities | text, image, pdf, file (better) | text |
| Open weights | No | Yes |
| License | Proprietary | mit |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 58 | 95 (better) |
| Epoch Capabilities Index | 152.8 | 153.1 (better) |
| GPQA Diamond | 87.4% | 91.9% (better) |
| SWE-bench Verified | 75.2% | 78.7% (better) |
| Terminal-Bench | 53.4% | — |
| WebDev Arena | 1521 | 1593 (better) |
| OTIS Mock AIME | 85.8% | 86.4% (better) |
| FrontierMath | — | 59.2% |
| ARC-AGI-2 | 60.4% (better) | 22.8% |
| SimpleQA Verified | 35.5% (better) | 34.2% |
| OSWorld | 72.1% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: Claude Sonnet 4.6 costs $60.00 and GLM-5.2 costs $20.32 at list price (Anthropic / zhipuai pricing).
About Claude Sonnet 4.6
Claude Sonnet 4.6 is a proprietary reasoning llm from Anthropic, released Feb 17, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $3 per million input tokens and $15 per million output tokens. It is available from 58 API providers. It scores 152.8 on the Epoch Capabilities Index. Full Claude Sonnet 4.6 specs →
About GLM-5.2
GLM-5.2 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Jun 13, 2026. It has 753B parameters and a 1M-token context window. API pricing starts at $1.20 per million input tokens and $4.18 per million output tokens. It is available from 95 API providers. It scores 153.1 on the Epoch Capabilities Index. Full GLM-5.2 specs →
Compare other models
FAQ
Which is better, Claude Sonnet 4.6 or GLM-5.2?
GLM-5.2 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 152.8). GLM-5.2 is about 3× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has open weights, so you can self-host and fine-tune it; Claude Sonnet 4.6 is API-only.
Is Claude Sonnet 4.6 cheaper than GLM-5.2?
Claude Sonnet 4.6 costs $3 input / $15 output per 1M tokens; GLM-5.2 costs $1.20 / $4.18. GLM-5.2 is cheaper overall.
Which has a bigger context window?
Claude Sonnet 4.6: 1,000,000 tokens. GLM-5.2: 1,000,000 tokens.
Are Claude Sonnet 4.6 and GLM-5.2 open source?
Claude Sonnet 4.6 is proprietary; GLM-5.2 is open-weight.