Side by side
See the difference.
Scores, capabilities and costs for the models you’re considering.
Scroll to compare models →
| 2 models | zai-orgGLM-5.2Remove × | z-aiZ.ai: GLM 5.1Remove × |
|---|---|---|
| What’s different | GLM-5.2 is Z-AI's latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on… | GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work… |
| Date | Jun 16, 2026Listed | Apr 3, 2026Listed |
API prices USD · provider configuration shown below | ||
| Listed rate | $0.0341 in / $7.00 out/ 1M tokensWafer · via OpenRouter · all routes ↗wafer/us · quantization=fp4 | $0.9646 in / $3.0316 out/ 1M tokensBaidu · via OpenRouter · all routes ↗baidu/fp8 · quantization=fp8 |
| Provider endpoints | 44 endpoints → | 18 endpoints → |
Specifications | ||
| Context window | 1M | 204.8K |
| Max output | 943.7K | 128K |
| Parameters | — | — |
| Tool calling | Supported | Supported |
| Structured output | Supported | Supported |
| Reasoning | Supported | Supported |
| Prompt caching | Supported | Supported |
| Open weights | Supported | Supported |