GLM-5.4 release on Mistral Cloud
Overview of GLM-5.4 Integration
Mistral AI has added Z.ai's GLM-5.4 model to its cloud infrastructure, providing immediate access to the new flagship coding and agentic model. This integration allows users to leverage GLM-5.4 alongside Mistral Large 4 within a European-hosted environment, maintaining features such as zero data retention and sovereign AI controls.
Technical Architecture: The Loop Transformer
GLM-5.4 is the first model to utilize Z.ai's Loop Transformer architecture. This design reuses 28 layers of the GLM-5 base model across two iterations, which enables the model to perform deeper reasoning without increasing the total parameter count. This architectural shift is specifically engineered to improve performance in complex, multi-step tasks.
Capabilities and Performance
The model is optimized for agentic workflows and complex coding tasks, offering the following technical specifications:
- Context Window: Supports up to 1 million input tokens.
- Output Capacity: Supports up to 128,000 output tokens.
- Multimodality: Features native image input support, allowing the model to process UI screenshots and architecture diagrams.
- Agentic Features: Includes native support for thinking mode, function calling, structured output, and context caching.
Use Cases
GLM-5.4 is designed to facilitate "Generalized Coding," where code serves as the primary mechanism for solving diverse tasks. Key applications include:
- Coding Agents: Managing long-running sessions across extensive codebases that require high context retention.
- Multi-step Agents: Orchestrating complex workflows that involve planning, external tool execution, and iterative self-correction.
- Visual Coding: Interpreting visual inputs like architectural diagrams or UI mockups to generate or modify code.
Availability and Pricing
GLM-5.4 is accessible via the Mistral Cloud API under the model ID zai-glm-5-4. Pricing is consistent with the previous GLM-5.3 model:
- Input: $1.4 per million tokens.
- Cached Input: $0.14 per million tokens.
- Output: $4.4 per million tokens.
The model is available through on-demand, committed usage, or dedicated capacity options, with hosting provided via EU regional endpoints.