Claude Sonnet 4.6 vs GLM-5
Claude Sonnet 4.6 wins 6 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (152.8 vs 146.5). GLM-5 is about 5× cheaper on a blended (3:1 input:output) token price. Claude Sonnet 4.6 has the larger context window (1M vs 200K). GLM-5 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 |
|---|---|---|
| Provider | Anthropic | Zhipu AI (Z.ai) |
| Released | Feb 17, 2026 (better) | Feb 12, 2026 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | 754B |
| Context window | 1M (better) | 200K |
| Max output | 125K | 128K (better) |
| Input price / 1M | $3 | $0.598 (better) |
| Output price / 1M | $15 | $2.69 (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 (better) | 41 |
| Epoch Capabilities Index | 152.8 (better) | 146.5 |
| GPQA Diamond | 87.4% | 87.8% (better) |
| SWE-bench Verified | 75.2% (better) | 72.1% |
| Terminal-Bench | 53.4% (better) | 52.4% |
| WebDev Arena | 1521 (better) | 1436 |
| OTIS Mock AIME | 85.8% (better) | 80.0% |
| ARC-AGI-2 | 60.4% (better) | 4.9% |
| SimpleQA Verified | 35.5% | — |
| 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 costs $11.35 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
GLM-5 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Feb 12, 2026. It has 754B parameters and a 200K-token context window. API pricing starts at $0.598 per million input tokens and $2.69 per million output tokens. It is available from 41 API providers. It scores 146.5 on the Epoch Capabilities Index. Full GLM-5 specs →
Compare other models
FAQ
Which is better, Claude Sonnet 4.6 or GLM-5?
Claude Sonnet 4.6 wins 6 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (152.8 vs 146.5). GLM-5 is about 5× cheaper on a blended (3:1 input:output) token price. Claude Sonnet 4.6 has the larger context window (1M vs 200K). GLM-5 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?
Claude Sonnet 4.6 costs $3 input / $15 output per 1M tokens; GLM-5 costs $0.598 / $2.69. GLM-5 is cheaper overall.
Which has a bigger context window?
Claude Sonnet 4.6: 1,000,000 tokens. GLM-5: 204,800 tokens.
Are Claude Sonnet 4.6 and GLM-5 open source?
Claude Sonnet 4.6 is proprietary; GLM-5 is open-weight.