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
$0.979 / 1M tokens
Output price
$3.08 / 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

1 available provider · discounts up to 50% · tier input average $0.55 / 1M tokens · tier output average .9255 / 1M tokens

Alibaba Cloud Int.(CN)

Tier: Flex · Region: CN

Pricing
Input
$0.55 / 1M tokens
Output
.9255 / 1M tokens
Cache read
$0.1375 / 1M tokens
Discounts
  • Input: 50% off — list .1 / 1M tokens, discounted $0.55 / 1M tokens, effective $0.55 / 1M tokens
  • Cache read: 50% off — list $0.275 / 1M tokens, discounted $0.1375 / 1M tokens, effective $0.1375 / 1M tokens
  • Output: 50% off — list $3.851 / 1M tokens, discounted .9255 / 1M tokens, effective .9255 / 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

Standard service tier

6 available providers · discounts up to 50% · tier input average $0.716667 / 1M tokens · tier output average $2.383667 / 1M tokens

Alibaba Cloud Int.(EU)

Tier: Standard · Region: EU

Pricing
Input
$0.55 / 1M tokens
Output
.9255 / 1M tokens
Cache read
$0.1375 / 1M tokens
Discounts
  • Input: 50% off — list .1 / 1M tokens, discounted $0.55 / 1M tokens, effective $0.55 / 1M tokens
  • Cache read: 50% off — list $0.275 / 1M tokens, discounted $0.1375 / 1M tokens, effective $0.1375 / 1M tokens
  • Output: 50% off — list $3.851 / 1M tokens, discounted .9255 / 1M tokens, effective .9255 / 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

Alibaba Cloud Int.(HK)

Tier: Standard · Region: HK

Pricing
Input
$0.55 / 1M tokens
Output
.9255 / 1M tokens
Cache read
$0.1375 / 1M tokens
Discounts
  • Input: 50% off — list .1 / 1M tokens, discounted $0.55 / 1M tokens, effective $0.55 / 1M tokens
  • Cache read: 50% off — list $0.275 / 1M tokens, discounted $0.1375 / 1M tokens, effective $0.1375 / 1M tokens
  • Output: 50% off — list $3.851 / 1M tokens, discounted .9255 / 1M tokens, effective .9255 / 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

Alibaba Cloud Int.(JP)

Tier: Standard · Region: JP

Pricing
Input
$0.55 / 1M tokens
Output
.9255 / 1M tokens
Cache read
$0.1375 / 1M tokens
Discounts
  • Input: 50% off — list .1 / 1M tokens, discounted $0.55 / 1M tokens, effective $0.55 / 1M tokens
  • Cache read: 50% off — list $0.275 / 1M tokens, discounted $0.1375 / 1M tokens, effective $0.1375 / 1M tokens
  • Output: 50% off — list $3.851 / 1M tokens, discounted .9255 / 1M tokens, effective .9255 / 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

Alibaba Cloud Int.(US)

Tier: Standard · Region: US

Pricing
Input
$0.55 / 1M tokens
Output
.9255 / 1M tokens
Cache read
$0.1375 / 1M tokens
Discounts
  • Input: 50% off — list .1 / 1M tokens, discounted $0.55 / 1M tokens, effective $0.55 / 1M tokens
  • Cache read: 50% off — list $0.275 / 1M tokens, discounted $0.1375 / 1M tokens, effective $0.1375 / 1M tokens
  • Output: 50% off — list $3.851 / 1M tokens, discounted .9255 / 1M tokens, effective .9255 / 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

Alibaba Cloud Int.(SG)

Tier: Standard · Region: SG

Pricing
Input
$0.7 / 1M tokens
Output
$2.2 / 1M tokens
Cache read
$0.14 / 1M tokens
Discounts
  • Input: 50% off — list .4 / 1M tokens, discounted $0.7 / 1M tokens, effective $0.7 / 1M tokens
  • Cache read: 50% off — list $0.28 / 1M tokens, discounted $0.14 / 1M tokens, effective $0.14 / 1M tokens
  • Output: 50% off — list $4.4 / 1M tokens, discounted $2.2 / 1M tokens, effective $2.2 / 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

Z.ai

Tier: Standard · Region: SG

Pricing
Input
.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

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 $0.979 / 1M tokens and output costs start at $3.08 / 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 50% 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 Alibaba Cloud Int.(CN), Alibaba Cloud Int.(EU), Alibaba Cloud Int.(HK), Alibaba Cloud Int.(JP), Alibaba Cloud Int.(US), Alibaba Cloud Int.(SG), Z.ai.
How do providers handle data privacy for Z.AI: GLM 5.2?
7 of 7 providers report that customer data is not used for training, and 2 offer zero-data-retention routing. Retention, compliance, and privacy-policy links are listed per provider.

Browse all AI models