General GLM flagship for coding, analysis, and tool-heavy engineering workflowsGLM-5 by zhipuai is offered by 51 providers on this page. Public prices are shown for 44 of them. Its official list price is $1.00 per 1M input tokens and $3.20 per 1M output tokens. The lowest paid channel is Vultr at $0.40 / $1.75 per 1M, about 2.1× below the list price. It also has 1 free ($0) channel and 6 covered by a paid subscription; free tiers usually carry rate limits, and subscription-covered access bills $0 per token only after the subscription fee.
Median output speed is 68 tokens per second, with 2.17s to the first token.
The context window is 204,800 tokens at the reference host, but hosts report different limits, from 198,000 to 205,000, 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. Its training knowledge cuts off at 2025-04.
Quality is independently evaluated by Artificial Analysis. Speed/latency are model-level medians.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Tencent Coding Plan (China) | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | deprecated | |
| SCNet Token Plan GLM-5 | Gateway | Subscription | $0 | — | 204,800 | 131,072 | ||
| Alibaba Token Plan | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| Alibaba Token Plan (China) | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| OpenCode glm-5-free | Gateway | Free | $0 | — | 204,800 | 131,072 | deprecated | |
| Alibaba Coding Plan | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| Alibaba Coding Plan (China) | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| Vultr glm-5.x-menthol | Cloud | $0.40 | $1.75 | — | — | 202,752 ⚠ | 131,072 | |
| NanoGPT z-ai/glm-5:thinking | Gateway | $0.60 | $1.90 | $0.10 | — | 200,000 ⚠ | 128,000 | |
| NanoGPT | Gateway | $0.60 | $1.90 | $0.10 | — | 200,000 ⚠ | 128,000 | |
| Zhipu AIOfficial | First-party | $0.60 tiered >32K: $0.90 | $2.69 | $0.15 | $0 | 204,800 | 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 34 of 51 providers.
11 / 51 providers expose no reasoning control (reasoning_options: []).
7 more channels offer $0 (Tencent Coding Plan (China), SCNet Token Plan, Alibaba Token Plan etc.); free tiers usually have rate limits and no SLA, excluded from ranking.
| Name | Conditions | Score | Metric | Source |
|---|---|---|---|---|
| SWE-Bench Verified | — | 72.8 | resolved | Source ↗ |
| SWE-Atlas Codebase QnA | harness: Mini-SWE-Agent | 20.5 | score | Source ↗ |
| SWE-Atlas Refactoring | harness: Mini-SWE-Agent | 24.24 | score | Source ↗ |
| SWE-Atlas Test Writing | harness: Mini-SWE-Agent | 28.74 | score | Source ↗ |
The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.