Model comparison
GLM 5.1 vs GLM 5.2
Compare published model capabilities and API prices.
Accounts
GLM 5.1
Flagship GLM model for hybrid reasoning, coding, and agentic engineering
Accounts
GLM 5.2
Flagship GLM model for hybrid reasoning, coding, and agentic engineering
| Metric | GLM 5.1 | GLM 5.2 |
|---|---|---|
| Provider | Accounts | Accounts |
| Context window | 202,800 | 1,048,575 |
| Input $/Mtok | $1.40 | $1.40 |
| Output $/Mtok | $4.40 | $4.40 |
| Modalities | text | text |
| License | open-weights | open-weights |
Quick take
On input price, GLM 5.1 is cheaper at $1.40/Mtok. For context window, GLM 5.2 leads with 1,048,575 tokens.
Pick based on your workload: high-volume cheap inference vs long-document / agent loops. Enterprise DNA can wire either model into Omni with evals, secrets, and job orchestration.