Z.AI: GLM 5.1
z-ai/glm-5.1
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 a single task for more than 8 hours, autonomously planning, executing, and improving itself throughout the process, ultimately delivering complete, engineering-grade results.
Model specifications
- Input
- text
- Output
- text
- Context
- 200,000 tokens
- Max output
- 128,000 tokens
- Input price
- $1.4 / 1M tokens
- Output price
- $4.4 / 1M tokens
- Released
- 2026-04-08
Capabilities
- Streaming
- Function calling
- Vision
- JSON mode
Provider pricing, discounts and data privacy
Compare effective provider prices, published discounts, regions, retention policies, training use, compliance, and privacy links by service tier.
Flex service tier
1 available provider · discounts up to 40.00000000000001% · tier input average $0.495 / 1M tokens · tier output average $1.9806 / 1M tokens
Alibaba Cloud Int.(CN)
Tier: Flex · Region: CN · Quantization: fp8
Pricing
- Input
- $0.495 / 1M tokens
- Output
- $1.9806 / 1M tokens
- Cache read
- $0.099 / 1M tokens
Discounts
- Input: 40% off — list $0.825 / 1M tokens, discounted $0.495 / 1M tokens, effective $0.495 / 1M tokens
- Cache read: 40% off — list $0.165 / 1M tokens, discounted $0.099 / 1M tokens, effective $0.099 / 1M tokens
- Output: 40% off — list $3.301 / 1M tokens, discounted $1.9806 / 1M tokens, effective $1.9806 / 1M tokens
- Prompt Price::Gt::32000: 40% off — list $1.1, discounted $0.66
- Prompt Price::Lte::32000: 40% off — list $0.825, discounted $0.495
- Cache Read Price::Gt::32000: 40% off — list $0.22, discounted $0.132
- Completion Price::Gt::32000: 40% off — list $3.851, discounted $2.3106
- Cache Read Price::Lte::32000: 40% off — list $0.165, discounted $0.099
- Completion Price::Lte::32000: 40% off — list $3.301, discounted $1.9806
Data privacy and compliance
- Region
- CN
- Zero data retention
- Yes
- Data retention
- 60-day retention
- Used for training
- No
- Data collection
- Moderated
- No
- GDPR compliant
- Yes
- HIPAA compliant
- No
- SOC 2 certified
- Yes
- BYOK supported
- Yes
Privacy policy · Terms · Official website · Documentation · Status · Support
Standard service tier
3 available providers · discounts up to 40.00000000000001% · tier input average $0.796667 / 1M tokens · tier output average $2.787067 / 1M tokens
Alibaba Cloud Int.(EU)
Tier: Standard · Region: EU · Quantization: fp8
Pricing
- Input
- $0.495 / 1M tokens
- Output
- $1.9806 / 1M tokens
- Cache read
- $0.099 / 1M tokens
Discounts
- Input: 40% off — list $0.825 / 1M tokens, discounted $0.495 / 1M tokens, effective $0.495 / 1M tokens
- Cache read: 40% off — list $0.165 / 1M tokens, discounted $0.099 / 1M tokens, effective $0.099 / 1M tokens
- Output: 40% off — list $3.301 / 1M tokens, discounted $1.9806 / 1M tokens, effective $1.9806 / 1M tokens
- Prompt Price::Gt::32000: 40% off — list $1.1, discounted $0.66
- Prompt Price::Lte::32000: 40% off — list $0.825, discounted $0.495
- Cache Read Price::Gt::32000: 40% off — list $0.22, discounted $0.132
- Completion Price::Gt::32000: 40% off — list $3.851, discounted $2.3106
- Cache Read Price::Lte::32000: 40% off — list $0.165, discounted $0.099
- Completion Price::Lte::32000: 40% off — list $3.301, discounted $1.9806
Data privacy and compliance
- Region
- EU
- Zero data retention
- Yes
- Data retention
- 30-day retention
- Used for training
- No
- Data collection
- Moderated
- No
- GDPR compliant
- Yes
- HIPAA compliant
- No
- SOC 2 certified
- Yes
- BYOK supported
- No
Privacy policy · Terms · Official website · Documentation · Status · Support
Alibaba Cloud Int.(US)
Tier: Standard · Region: US · Quantization: fp8
Pricing
- Input
- $0.495 / 1M tokens
- Output
- $1.9806 / 1M tokens
- Cache read
- $0.099 / 1M tokens
Discounts
- Input: 40% off — list $0.825 / 1M tokens, discounted $0.495 / 1M tokens, effective $0.495 / 1M tokens
- Cache read: 40% off — list $0.165 / 1M tokens, discounted $0.099 / 1M tokens, effective $0.099 / 1M tokens
- Output: 40% off — list $3.301 / 1M tokens, discounted $1.9806 / 1M tokens, effective $1.9806 / 1M tokens
- Prompt Price::Gt::32000: 40% off — list $1.1, discounted $0.66
- Prompt Price::Lte::32000: 40% off — list $0.825, discounted $0.495
- Cache Read Price::Gt::32000: 40% off — list $0.22, discounted $0.132
- Completion Price::Gt::32000: 40% off — list $3.851, discounted $2.3106
- Cache Read Price::Lte::32000: 40% off — list $0.165, discounted $0.099
- Completion Price::Lte::32000: 40% off — list $3.301, discounted $1.9806
Data privacy and compliance
- Region
- US
- Zero data retention
- Yes
- Data retention
- 30-day retention
- Used for training
- No
- Data collection
- Moderated
- No
- GDPR compliant
- Yes
- HIPAA compliant
- No
- SOC 2 certified
- Yes
- BYOK supported
- No
Privacy policy · Terms · Official website · Documentation · Status · Support
Z.ai
Tier: Standard · Region: SG · Quantization: fp8
Pricing
- Input
- $1.4 / 1M tokens
- Output
- $4.4 / 1M tokens
- Cache read
- $0.26 / 1M tokens
No provider discount is currently published.
Data privacy and compliance
- Region
- SG
- Zero data retention
- Yes
- Data retention
- Zero retention
- Used for training
- No
- Data collection
- Moderated
- No
- GDPR compliant
- No
- HIPAA compliant
- No
- SOC 2 certified
- No
- BYOK supported
- No
Privacy policy · Terms · Official website · Documentation · Support
Frequently asked questions
- What is Z.AI: GLM 5.1?
- 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 a single task for more than 8 hours, autonomously planning, executing, and improving itself throughout the process, ultimately delivering complete, engineering-grade results.
- How much does Z.AI: GLM 5.1 cost?
- Input costs start at $1.4 / 1M tokens and output costs start at $4.4 / 1M tokens. Provider-level prices vary by service tier.
- Are provider discounts available for Z.AI: GLM 5.1?
- Yes. Current provider offers include discounts of up to 40% from list price. The provider table shows list, discounted, and effective prices.
- What is the context length of Z.AI: GLM 5.1?
- Z.AI: GLM 5.1 supports a 200,000 token context window and up to 128,000 output tokens.
- What capabilities does Z.AI: GLM 5.1 support?
- Z.AI: GLM 5.1 supports Streaming, Function calling, Vision, JSON mode.
- Which providers offer Z.AI: GLM 5.1?
- Z.AI: GLM 5.1 is available from Alibaba Cloud Int.(CN), Alibaba Cloud Int.(EU), Alibaba Cloud Int.(US), Z.ai.
- How do providers handle data privacy for Z.AI: GLM 5.1?
- 4 of 4 providers report that customer data is not used for training, and 4 offer zero-data-retention routing. Retention, compliance, and privacy-policy links are listed per provider.