Mistral now hosts GLM-5.2 as a third-party open model (Public Preview, model ID zai-glm-5-2, 1M context / 128k output, with no modifications), so it can be accessed directly across the Mistral ecosystem (including Vibe CLI) using that ID, at $1.4 / $0.14 (cached input) / $4.4 (output) per million tokens.
Suitable tasks: scenarios where development is already happening in the Mistral ecosystem (Mistral API, Vibe CLI, Mistral Code, and so on) and GLM-5.2 needs to be switched in or added directly; integrations that require function calling, structured outputs, Predicted Outputs, prefix caching, or batching.
Unsuitable tasks: scenarios requiring Z.ai-exclusive capabilities (GLM Coding Plan quotas, tool_stream streaming tool calls, GLM-5.2[1m] integration with Claude Code, and so on); scenarios with latency or regional requirements (third-party hosting nodes differ from the official ones).
Applicable model version: GLM-5.2 (v5.2, Mistral-side model ID zai-glm-5-2; a Reddit user verified that setting active_model = "zai-glm-5-2" in Vibe CLI's config.toml works).
Applicable clients, agents, or APIs: Mistral API (/v1/chat/completions, /v1/conversations, /v1/batch); Vibe CLI.
Recommended reasoning tier and parameters: No special parameters required; Mistral explicitly states that the model is "served without Mistral modifications," and its thinking behavior is consistent with the official version.
| Item | Value |
|---|---|
| Model ID | zai-glm-5-2 |
| Status | Public Preview (third-party open model) |
| Context | 1M tokens |
| Maximum output | 128k tokens |
| Input price | $1.4 / M tokens |
| Cached input price | $0.14 / M tokens |
| Output price | $4.4 / M tokens |
| Supported features | Chat Completions, Function Calling, Structured Outputs, Predicted Outputs, Prefix, Batching |
Set the following in Vibe CLI's config.toml:
active_model = "zai-glm-5-2"(Source: the r/MistralAI post "Will we get GLM-5.2 in Vibe CLI?"; a user reported, "this worked for me." The official documentation does not directly provide this config.toml snippet; it is only a community-verified configuration.)
This page reflects Mistral's hosting perspective: it is intended for developers already using the Mistral ecosystem; prices and capabilities from the official Z.ai API (such as GLM Coding Plan quota multipliers and tool_stream) cannot be compared or substituted directly.
A Reddit discussion (r/MistralAI 1vm88ur) mentioned that the model "seems to be available through Mistral hosting," but it may not appear in Vibe CLI's default list and must be configured manually—the tested configuration is shown above.
GLM-5.2