GLM 5.1

Z.aiGLM

Coding-focused model that works independently for long stretches on multi-step, long-horizon tasks.

Specs

Released2026-04-07
Context204,800 tokens
Input, per million tokens$1.40
Output, per million tokens$4.40
Modalitytext->text
OpenRouter idz-ai/glm-5.1 ↗

Other GLM versions

GLM 5.3 FlashX LegalcurrentA legal-domain variant of GLM-5.3-FlashX, a native multimodal model with legal mid-training and reinforcement learning.MultimodalLong contextZ.ai, 2026-11-02, 1.0M context, $0.37 in, $1.25 out per MGLM 5.3 PrimeHigh-speed variant of GLM-5.3 with 1.5 to 2 times the output throughput through inference acceleration and a 1M-token context.Long contextZ.ai, 2026-09-23, 1.0M context, $1.68 in, $5.28 out per MGLM 5.3 FlashXHigh-speed variant of GLM-5.3-Flash, a native multimodal model reaching up to 200 tokens per second with hybrid sparse and linear attention.MultimodalLong contextZ.ai, 2026-09-18, 1.0M context, $0.37 in, $1.25 out per MGLM LatestAlias that always routes to the latest GLM model from Z.ai, with a 1M-token text context.Long contextZ.ai, 2026-08-19, 1.0M context, $0.07 in, $1.40 out per MGLM 5.3A large-scale Z.ai reasoning model for complex software engineering and long-horizon agent tasks, with a 1M-token context.ReasoningCodingLong contextAgenticZ.ai, 2026-08-18, 1.0M context, $0.07 in, $1.40 out per MGLM 5.2Large-scale reasoning model with a 1M-token context window, suited for long-horizon agent workflows and project-level software engineering.ReasoningCodingLong contextAgenticZ.ai, 2026-06-16, 1.0M context, $0.01 in, $6.80 out per MGLM 5V TurboNative multimodal agent model for vision-based coding and agent tasks, handling image, video and text inputs.MultimodalCodingLong contextAgenticZ.ai, 2026-04-01, 202.8k context, $1.20 in, $4.00 out per MGLM 5 TurboFast-inference Z.ai model tuned for agent-driven workflows, aimed at real-world agent tasks such as OpenClaw scenarios.Long contextAgenticZ.ai, 2026-03-15, 202.8k context, $1.20 in, $4.00 out per MGLM 5Z.ai's open-source flagship for complex systems design and long-horizon agent workflows, targeting large-scale programming tasks.Open weightsCodingLong contextAgenticZ.ai, 2026-02-11, 204.8k context, $1.00 in, $3.20 out per MGLM 4.7 Flash30B-class model balancing performance and efficiency, optimized for agentic coding and long-horizon task planning.CodingAgenticZ.ai, 2026-01-19, 131.1k context, $0.06 in, $0.40 out per MGLM 4.7Z.ai flagship with stronger programming and more stable multi-step reasoning, improved at complex agent tasks.ReasoningCodingLong contextAgenticZ.ai, 2025-12-22, 204.8k context, $0.60 in, $2.20 out per MGLM 4.6VLarge multimodal model for visual understanding and long-context reasoning across images, documents, and mixed media.ReasoningMultimodalZ.ai, 2025-12-08, 131.1k context, $0.30 in, $0.90 out per MGLM 4.6Text model with its context window expanded from 128K to 200K tokens for more complex tasks.Open weightsLong contextZ.ai, 2025-09-30, 202.8k context, $0.50 in, $2.00 out per MGLM 4.5 AirLightweight, more compact variant of GLM-4.5 that keeps the Mixture-of-Experts design for agent-centric applications.Open weightsAgenticZ.ai, 2025-07-25, 131.1k context, $0.20 in, $1.10 out per MGLM 4.5Z.ai's flagship Mixture-of-Experts foundation model, built for agent-based applications with up to 128k context.Open weightsAgenticZ.ai, 2025-07-25, 131.1k context, $0.60 in, $2.20 out per M