Z.AI
GLM-5
General GLM flagship for coding, analysis, and tool-heavy engineering workflows
Model facts
- Context window
- 203K tokens
- Maximum output
- 131K tokens
- Cheapest paid input
- $0.6 per 1M tokens
- Cheapest paid output
- $1.92 per 1M tokens
- Open weights
- yes
- Providers
- 50
Capabilities and modalities
reasoning, tool calling, structured output, attachments, temperature control, open weights, text.
Local hardware estimate
At 4K context: Q4_K_M 462.4 GiB, Q8_0 813.5 GiB, F16 1471.7 GiB working memory.
- Parameters
- 753.9 billion
- Architecture
- glmmoedsa
- Model license
- mit
Planning estimate adapted from the MIT-licensed whichllm estimator using metadata from Hugging Face; not a vendor minimum requirement.
Artificial Analysis benchmarks
Compare this model on the full LLM benchmark leaderboard.
| Configuration | AAI | Coding | Math | Output tokens/s |
|---|---|---|---|---|
| Reasoning | 40.6 | not measured | not measured | not measured |
| Non-reasoning | 33.2 | not measured | not measured | not measured |
Observed price history
- 2026-08-24: $0.6 input / $1.92 output per 1M tokens
API providers
- Alibaba Coding Plan — model id glm-5; free input / free output per 1M tokens; provider documentation
- Alibaba Coding Plan (China) — model id glm-5; free input / free output per 1M tokens; provider documentation
- Alibaba Token Plan — model id glm-5; free input / free output per 1M tokens; provider documentation
- Alibaba Token Plan (China) — model id glm-5; free input / free output per 1M tokens; provider documentation
- SCNet Token Plan — model id GLM-5; free input / free output per 1M tokens; provider documentation
- Tencent Coding Plan (China) — model id glm-5; free input / free output per 1M tokens; provider documentation
- GMI Cloud — model id zai-org/GLM-5-FP8; $0.6 input / $1.92 output per 1M tokens; provider documentation
- Kilo Gateway — model id z-ai/glm-5; $0.6 input / $1.92 output per 1M tokens; provider documentation
- OpenRouter — model id z-ai/glm-5; $0.6 input / $1.92 output per 1M tokens; provider documentation
- Deep Infra — model id zai-org/GLM-5; $0.6 input / $2.08 output per 1M tokens; provider documentation
- DevPass (LLM Gateway) — model id glm-5; $0.72 input / $2.3 output per 1M tokens; provider documentation
- LLM Gateway (EmberCloud) — model id embercloud/glm-5; $0.72 input / $2.3 output per 1M tokens; provider documentation
- NanoGPT — model id z-ai/glm-5; $0.5 input / $2.55 output per 1M tokens; provider documentation
- DInference — model id glm-5; $0.75 input / $2.4 output per 1M tokens; provider documentation
- Alibaba (China) — model id glm-5; $0.573 input / $2.58 output per 1M tokens; provider documentation
- LLM Gateway (Alibaba Cloud) — model id alibaba/glm-5; $0.573 input / $2.58 output per 1M tokens; provider documentation
- ZenMux — model id z-ai/glm-5; $0.58 input / $2.6 output per 1M tokens; provider documentation
- 302.AI — model id glm-5; $0.6 input / $2.6 output per 1M tokens; provider documentation
- Meganova — model id zai-org/GLM-5; $0.8 input / $2.56 output per 1M tokens; provider documentation
- CrossModel — model id z-ai/glm-5; $0.6 input / $3 output per 1M tokens; provider documentation
- Charm Hyper — model id glm-5; $0.93 input / $2.88 output per 1M tokens; provider documentation
- Baseten — model id zai-org/GLM-5; $0.95 input / $3.15 output per 1M tokens; provider documentation
- FastRouter — model id z-ai/glm-5; $0.95 input / $3.15 output per 1M tokens; provider documentation
- Cortecs — model id glm-5; $0.988 input / $3.16 output per 1M tokens; provider documentation
- TokenGo — model id z-ai/glm-5; $0.89 input / $3.26 output per 1M tokens; provider documentation
- Abacus — model id zai-org/GLM-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Amazon Bedrock — model id zai.glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- DigitalOcean — model id glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Eden AI — model id zai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Hugging Face — model id zai-org/GLM-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Impossibl — model id zai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- LLM Gateway (Baidu) — model id baidu/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- LLM Gateway (NovitaAI) — model id novita/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- LLM Gateway (Vertex AI (OpenAI-compatible)) — model id vertex-openai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- LLM Gateway (Z AI) — model id zai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Merge Gateway — model id zai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- NovitaAI — model id zai-org/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Ofox — model id z-ai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- OpenCode Go — model id glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- OpenCode Zen — model id glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- OrcaRouter — model id z-ai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Poe — model id novita/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- TensorX — model id z-ai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Together AI — model id zai-org/GLM-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Venice AI — model id zai-org-glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Vercel AI Gateway — model id zai/glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Vertex — model id zai-org/glm-5-maas; $1 input / $3.2 output per 1M tokens; provider documentation
- Z.AI — model id glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Zhipu AI — model id glm-5; $1 input / $3.2 output per 1M tokens; provider documentation
- Arena — model id glm-5; not published input / not published output per 1M tokens; provider documentation