GLM 5.1
by Z-ai
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
Quick Facts
Provider
Z-ai
Model ID
z-ai/glm-5.1
Modality
Text to Text
Tier
Premium
Last Updated
2026-07-12
Released
2026-04-07
Context Length
203K tokens
Tokenizer
Other
Input Price
$0.98/M
Output Price
$3.08/M
When To Use GLM 5.1
Best for
- Coding, debugging, and implementation planning
- Reasoning-heavy questions and step-by-step analysis
- Research, summarization, and document work
- Comparing Z-ai responses against other leading AI models
Not ideal for
- High-volume casual chats where you want to conserve premium credits
- Native image generation workflows
- Prompts that require image or screenshot understanding
- Voice, speech, or audio transcription workflows
Input & Output
Accepts
Generates
Pricing
All prices are per 1 million tokens
Input
$0.98/M
Output
$3.08/M
Cache Read
$0.18/M
Capabilities
- Natural language understanding and generation
- Long context window for extended conversations
Example Prompts
Review this TypeScript function for edge cases, bugs, and simpler implementation options.
Turn this product requirement into a small implementation plan with tests.
Solve this problem step by step, then summarize the final answer in one paragraph.
Summarize these notes into key findings, risks, and recommended next steps.
Compare how GLM 5.1 and two other models answer this prompt.
Supported Parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_pCompare and Use GLM 5.1
Related comparisons
Frequently Asked Questions
Try GLM 5.1 In Related Workflows
Model pages work best when they connect to real tasks. Use these bots and utilities to test GLM 5.1 against coding, research, and model-selection workflows.
Use GLM 5.1 on RyddleAI
Access GLM 5.1 with a RyddleAI subscription.
Compare GLM 5.1 With Alternatives
Use these nearby models to test whether GLM 5.1 is the right choice for your prompt, budget, and model family preference.
| Alternative | Provider | Tier | Why compare | Page |
|---|---|---|---|---|
| GLM 5V Turbo | Z-ai | Premium | Another Z-ai model to compare within the same provider family | View model |
| GLM 5 Turbo | Z-ai | Premium | Another Z-ai model to compare within the same provider family | View model |
| Qwen3.7 Max | Qwen | Premium | Same tier alternative from another provider | View model |
| Grok Build 0.1 | X-ai | Premium | Same tier alternative from another provider | View model |