Z.AI: GLM 5.2
z-ai/glm-5.2
GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.
Model specifications
- Input
- text
- Output
- text
- Context
- 1,000,000 tokens
- Max output
- 128,000 tokens
- Input price
- $1.1 / 1M tokens
- Output price
- $4.1 / 1M tokens
- Released
- 2026-06-17
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
2 available providers · discounts up to 60.00000000000001% · tier input average $0.61 / 1M tokens · tier output average $2.0353 / 1M tokens
Baidu AI Cloud
Tier: Flex · Region: SG · Quantization: fp8
Pricing
- Input
- $0.56 / 1M tokens
- Output
- $1.76 / 1M tokens
- Cache read
- $0.104 / 1M tokens
Discounts
- Input: 60% off — list $1.4 / 1M tokens, discounted $0.56 / 1M tokens, effective $0.56 / 1M tokens
- Cache read: 60% off — list $0.26 / 1M tokens, discounted $0.104 / 1M tokens, effective $0.104 / 1M tokens
- Output: 60% off — list $4.4 / 1M tokens, discounted $1.76 / 1M tokens, effective $1.76 / 1M tokens
Data privacy and compliance
- Region
- SG
- Zero data retention
- No
- Data retention
- Unknown retention
- Used for training
- No
- Data collection
- Moderated
- No
- GDPR compliant
- No
- HIPAA compliant
- No
- SOC 2 certified
- No
- BYOK supported
- No
Alibaba Cloud Int.(CN)
Tier: Flex · Region: CN
Pricing
- Input
- $0.66 / 1M tokens
- Output
- $2.3106 / 1M tokens
- Cache read
- $0.165 / 1M tokens
Discounts
- Input: 40% off — list $1.1 / 1M tokens, discounted $0.66 / 1M tokens, effective $0.66 / 1M tokens
- Cache read: 40% off — list $0.275 / 1M tokens, discounted $0.165 / 1M tokens, effective $0.165 / 1M tokens
- Output: 40% off — list $3.851 / 1M tokens, discounted $2.3106 / 1M tokens, effective $2.3106 / 1M tokens
Data privacy and compliance
- Region
- CN
- Zero data retention
- No
- 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
7 available providers · discounts up to 45.00000000000001% · tier input average $0.807143 / 1M tokens · tier output average $2.671771 / 1M tokens
Alibaba Cloud Int.(EU)
Tier: Standard · Region: EU
Pricing
- Input
- $0.66 / 1M tokens
- Output
- $2.3106 / 1M tokens
- Cache read
- $0.165 / 1M tokens
Discounts
- Input: 40% off — list $1.1 / 1M tokens, discounted $0.66 / 1M tokens, effective $0.66 / 1M tokens
- Cache read: 40% off — list $0.275 / 1M tokens, discounted $0.165 / 1M tokens, effective $0.165 / 1M tokens
- Output: 40% off — list $3.851 / 1M tokens, discounted $2.3106 / 1M tokens, effective $2.3106 / 1M tokens
Data privacy and compliance
- Region
- EU
- Zero data retention
- No
- 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.(HK)
Tier: Standard · Region: HK
Pricing
- Input
- $0.66 / 1M tokens
- Output
- $2.3106 / 1M tokens
- Cache read
- $0.165 / 1M tokens
Discounts
- Input: 40% off — list $1.1 / 1M tokens, discounted $0.66 / 1M tokens, effective $0.66 / 1M tokens
- Cache read: 40% off — list $0.275 / 1M tokens, discounted $0.165 / 1M tokens, effective $0.165 / 1M tokens
- Output: 40% off — list $3.851 / 1M tokens, discounted $2.3106 / 1M tokens, effective $2.3106 / 1M tokens
Data privacy and compliance
- Region
- HK
- Zero data retention
- No
- 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.(JP)
Tier: Standard · Region: JP
Pricing
- Input
- $0.66 / 1M tokens
- Output
- $2.3106 / 1M tokens
- Cache read
- $0.165 / 1M tokens
Discounts
- Input: 40% off — list $1.1 / 1M tokens, discounted $0.66 / 1M tokens, effective $0.66 / 1M tokens
- Cache read: 40% off — list $0.275 / 1M tokens, discounted $0.165 / 1M tokens, effective $0.165 / 1M tokens
- Output: 40% off — list $3.851 / 1M tokens, discounted $2.3106 / 1M tokens, effective $2.3106 / 1M tokens
Data privacy and compliance
- Region
- JP
- 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
Pricing
- Input
- $0.66 / 1M tokens
- Output
- $2.3106 / 1M tokens
- Cache read
- $0.165 / 1M tokens
Discounts
- Input: 40% off — list $1.1 / 1M tokens, discounted $0.66 / 1M tokens, effective $0.66 / 1M tokens
- Cache read: 40% off — list $0.275 / 1M tokens, discounted $0.165 / 1M tokens, effective $0.165 / 1M tokens
- Output: 40% off — list $3.851 / 1M tokens, discounted $2.3106 / 1M tokens, effective $2.3106 / 1M tokens
Data privacy and compliance
- Region
- US
- Zero data retention
- No
- 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
Tencent Cloud
Tier: Standard · Region: SG
Pricing
- Input
- $0.77 / 1M tokens
- Output
- $2.42 / 1M tokens
- Cache read
- $0.143 / 1M tokens
Discounts
- Input: 45% off — list $1.4 / 1M tokens, discounted $0.77 / 1M tokens, effective $0.77 / 1M tokens
- Cache read: 45% off — list $0.26 / 1M tokens, discounted $0.143 / 1M tokens, effective $0.143 / 1M tokens
- Output: 45% off — list $4.4 / 1M tokens, discounted $2.42 / 1M tokens, effective $2.42 / 1M tokens
Data privacy and compliance
- Region
- SG
- Zero data retention
- Yes
- Data retention
- Unknown 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
Alibaba Cloud Int.(SG)
Tier: Standard · Region: SG
Pricing
- Input
- $0.84 / 1M tokens
- Output
- $2.64 / 1M tokens
- Cache read
- $0.168 / 1M tokens
Discounts
- Input: 40% off — list $1.4 / 1M tokens, discounted $0.84 / 1M tokens, effective $0.84 / 1M tokens
- Cache read: 40% off — list $0.28 / 1M tokens, discounted $0.168 / 1M tokens, effective $0.168 / 1M tokens
- Output: 40% off — list $4.4 / 1M tokens, discounted $2.64 / 1M tokens, effective $2.64 / 1M tokens
Data privacy and compliance
- Region
- SG
- Zero data retention
- No
- 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
- Yes
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.2?
- GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.
- How much does Z.AI: GLM 5.2 cost?
- Input costs start at $1.1 / 1M tokens and output costs start at $4.1 / 1M tokens. Provider-level prices vary by service tier.
- Are provider discounts available for Z.AI: GLM 5.2?
- Yes. Current provider offers include discounts of up to 60% from list price. The provider table shows list, discounted, and effective prices.
- What is the context length of Z.AI: GLM 5.2?
- Z.AI: GLM 5.2 supports a 1,000,000 token context window and up to 128,000 output tokens.
- What capabilities does Z.AI: GLM 5.2 support?
- Z.AI: GLM 5.2 supports Streaming, Function calling, Vision, JSON mode.
- Which providers offer Z.AI: GLM 5.2?
- Z.AI: GLM 5.2 is available from Baidu AI Cloud, Alibaba Cloud Int.(CN), Alibaba Cloud Int.(EU), Alibaba Cloud Int.(HK), Alibaba Cloud Int.(JP), Alibaba Cloud Int.(US), Tencent Cloud, Alibaba Cloud Int.(SG), Z.ai.
- How do providers handle data privacy for Z.AI: GLM 5.2?
- 9 of 9 providers report that customer data is not used for training, and 3 offer zero-data-retention routing. Retention, compliance, and privacy-policy links are listed per provider.