GLM-5.1 vs Hy4 preview
Hy4 preview is about 1.3× cheaper on a blended (3:1 input:output) token price. Hy4 preview has the larger context window (1M vs 200K).
| Spec | GLM-5.1 | Hy4 preview |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | Tencent |
| Released | Apr 7, 2026 | Aug 28, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 754B | 780B |
| Context window | 200K | 1M (better) |
| Max output | 128K (better) | 64K |
| Input price / 1M | $0.896 | $0.834 (better) |
| Output price / 1M | $3.59 | $2.50 (better) |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | mit | apache-2.0 |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 48 (better) | 20 |
| Epoch Capabilities Index | 150.7 | — |
| GPQA Diamond | 89.9% | — |
| SWE-bench Verified | 74.2% | — |
| WebDev Arena | 1508 | — |
| OTIS Mock AIME | 93.3% | — |
| FrontierMath | 36.8% | — |
| SimpleQA Verified | 34.0% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: GLM-5.1 costs $16.13 and Hy4 preview costs $13.34 at list price (Zhipu AI (Z.ai) / openrouter pricing).
About GLM-5.1
GLM-5.1 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Apr 7, 2026. It has 754B parameters and a 200K-token context window. API pricing starts at $0.896 per million input tokens and $3.59 per million output tokens. It is available from 48 API providers. It scores 150.7 on the Epoch Capabilities Index. Full GLM-5.1 specs →
About Hy4 preview
Hy4 preview is an open-weight reasoning llm from Tencent, released Aug 28, 2026. It has 780B parameters and a 1M-token context window. API pricing starts at $0.834 per million input tokens and $2.50 per million output tokens. It is available from 20 API providers. Full Hy4 preview specs →
Compare other models
FAQ
Which is better, GLM-5.1 or Hy4 preview?
Hy4 preview is about 1.3× cheaper on a blended (3:1 input:output) token price. Hy4 preview has the larger context window (1M vs 200K).
Is GLM-5.1 cheaper than Hy4 preview?
GLM-5.1 costs $0.896 input / $3.59 output per 1M tokens; Hy4 preview costs $0.834 / $2.50. Hy4 preview is cheaper overall.
Which has a bigger context window?
GLM-5.1: 200,000 tokens. Hy4 preview: 1,048,576 tokens.
Are GLM-5.1 and Hy4 preview open source?
GLM-5.1 is open-weight; Hy4 preview is open-weight.