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
.4 / 1M tokens
Output price
$4.4 / 1M tokens
Released
2026-04-08

Capabilities

  • Streaming
  • Function calling
  • Vision
  • JSON mode
  • Playground

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 · tier input average $0.8625 / 1M tokens · tier output average $3.1505 / 1M tokens

Alibaba Cloud Int.(CN)

Tier: Flex · Region: CN

Pricing
Input
$0.825 / 1M tokens
Output
$3.301 / 1M tokens
Cache read
$0.165 / 1M tokens

No provider discount is currently published.

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

Lilac

Tier: Flex

Pricing
Input
$0.9 / 1M tokens
Output
$3 / 1M tokens
Cache read
$0.27 / 1M tokens

No provider discount is currently published.

Data privacy and compliance
Zero data retention
Yes
Data retention
Zero retention
Used for training
No
Data collection
Moderated
No
GDPR compliant
Yes
HIPAA compliant
No
SOC 2 certified
No
BYOK supported
No

Standard service tier

14 available providers · tier input average .177786 / 1M tokens · tier output average $3.825857 / 1M tokens

Alibaba Cloud Int.(EU)

Tier: Standard · Region: EU

Pricing
Input
$0.825 / 1M tokens
Output
$3.301 / 1M tokens
Cache read
$0.165 / 1M tokens

No provider discount is currently published.

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.(US)

Tier: Standard · Region: US

Pricing
Input
$0.825 / 1M tokens
Output
$3.301 / 1M tokens
Cache read
$0.165 / 1M tokens

No provider discount is currently published.

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

GMICloud

Tier: Standard · Region: US · Quantization: fp8

Pricing
Input
$0.979 / 1M tokens
Output
$3.08 / 1M tokens
Cache read
$0.182 / 1M tokens

No provider discount is currently published.

Data privacy and compliance
Region
US
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
Yes
BYOK supported
No

Chutes

Tier: Standard · Region: US · Quantization: fp8

Pricing
Input
$0.98 / 1M tokens
Output
$3.08 / 1M tokens
Cache read
$0.49 / 1M tokens

No provider discount is currently published.

Data privacy and compliance
Region
US
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

Wafer

Tier: Standard

Pricing
Input
/ 1M tokens
Output
$3.2 / 1M tokens
Cache read
$0.1 / 1M tokens

No provider discount is currently published.

Data privacy and compliance
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

DeepInfra

Tier: Standard · Region: US · Quantization: fp8

Pricing
Input
.05 / 1M tokens
Output
$3.5 / 1M tokens
Cache read
$0.205 / 1M tokens

No provider discount is currently published.

Data privacy and compliance
Region
US
Zero data retention
Yes
Data retention
Zero retention
Used for training
No
Data collection
Moderated
No
GDPR compliant
Yes
HIPAA compliant
No
SOC 2 certified
Yes
BYOK supported
Yes

SiliconFlow

Tier: Standard · Region: SG

Pricing
Input
.19 / 1M tokens
Output
$3.74 / 1M tokens
Cache read
$0.6 / 1M tokens

No provider discount is currently published.

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

AtlasCloud

Tier: Standard · Region: US · Quantization: fp8

Pricing
Input
.26 / 1M tokens
Output
$3.96 / 1M tokens
Cache read
$0.234 / 1M tokens

No provider discount is currently published.

Data privacy and compliance
Region
US
Zero data retention
No
Data retention
7-day retention
Used for training
No
Data collection
Moderated
No
GDPR compliant
No
HIPAA compliant
No
SOC 2 certified
No
BYOK supported
No

Novita

Tier: Standard · Region: US · Quantization: fp8

Pricing
Input
.38 / 1M tokens
Output
$4.4 / 1M tokens
Cache read
$0.26 / 1M tokens

No provider discount is currently published.

Data privacy and compliance
Region
US
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

Fireworks

Tier: Standard · Region: US · Quantization: fp8

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
US
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

Friendli

Tier: Standard · Region: US

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
US
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

Parasail

Tier: Standard · Region: US · Quantization: fp8

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
US
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

Together

Tier: Standard · Region: US · Quantization: fp4

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
US
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

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.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 .4 / 1M tokens and output costs start at $4.4 / 1M tokens. Provider-level prices vary by service tier.
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, Playground.
Which providers offer Z.AI: GLM 5.1?
Z.AI: GLM 5.1 is available from Alibaba Cloud Int.(CN), Lilac, Alibaba Cloud Int.(EU), Alibaba Cloud Int.(US), GMICloud, Chutes, Wafer, DeepInfra, SiliconFlow, AtlasCloud, Novita, Fireworks, Friendli, Parasail, Together, Z.ai.
How do providers handle data privacy for Z.AI: GLM 5.1?
16 of 16 providers report that customer data is not used for training, and 8 offer zero-data-retention routing. Retention, compliance, and privacy-policy links are listed per provider.

Browse all AI models