GLM 5.4
glm-5-4
GLM-5.4 is Z.ai's flagship model and the first built on its Loop Transformer architecture, which runs 28 layers of the GLM-5 base model through two passes for deeper reasoning without adding parameters. Z.ai says this puts it on par with 2T to 3T parameter models. It is also Z.ai's first flagship with native vision, reading both text and images. Aimed at what Z.ai calls generalized coding, it can write code to edit video, build complete games and handle 3D modeling and mechanical design, and it supports tool calling and structured output.
1.05M context. $0.50 input and $3.08 output per 1M tokens. Private.
Pricing
- Input: $0.50 per 1M tokens
- Output: $3.08 per 1M tokens
- Cached input: $0.093 per 1M tokens
Specs
- Context window: 1.05M tokens
- Max output: 131K tokens
- Features: Coding, Reasoning, Vision, Function calling, Streaming, Prompt caching
- Rate limit: 50 requests per minute