Flagship GLM model for long-horizon coding, agents, and complex project delivery
GLM Latest by zhipuai is offered by 5 providers on this page. Its reference price is $0.03 per 1M input tokens and $12.00 per 1M output tokens. The lowest paid channel is NanoGPT at $1.00 / $3.20 per 1M, about 60× below the reference price. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it.
The context window is 1,048,576 tokens at the reference host, but hosts report different limits, from 1,000,000 to 1,048,576, so the usable window depends on the provider you pick. It supports reasoning, tool use, and structured output. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| NanoGPT | Gateway | $1.00 | $3.20 | $0.20 | — | 1,048,576 | 131,072 | |
| Fireworks AI | Cloud | $1.40 | $4.40 | $0.26 | — | 1,048,573 ⚠ | 262,144 | |
| Privatemode AI | Gateway | $1.79 | $6.63 | $0.17 | — | 1,000,000 ⚠ | 131,072 | beta |
| OpenRouter | Gateway | $0.03 | $12.00 | $0.03 | — | 1,048,576 | 131,072 | |
| Kilo Gateway | Gateway | $0.03 | $12.00 | $0.03 | — | 1,048,576 | 131,072 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Interleaved thinking (reasoning between tool calls) is declared by 1 of 5 providers.
1 / 5 providers expose no reasoning control (reasoning_options: []).
| Mode | Provider | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|
| priority | Fireworks AI | $1.75 | $5.50 | $0.33 | — |