Publish time
2026/6/17Model Series
GLMInput type
Output type
Input Price
¥8 / 1M tokensOutput Price
¥28 / 1M tokensCache Write Price
¥10 / 1M tokensCache Read Price
¥2 / 1M tokensContext Window
1,000,000Max Output Length
128,000GLM-5.2 是面向长任务时代的旗舰模型。支持真正可用的 1M 上下文,实测可承载项目级工程上下文,长程任务执行更稳定、工程规范遵循更可靠,开发场景成功率进一步提升。一次任务即可完成“从需求到多端可部署产物”的完整开发链路。
Zhinao API routes requests to the best-fit provider and automatically fails over to the one with highest availability.
TTFT
7.26s
Throughput
28.91tps
Uptime
100.00%
Provider Model
huaweicloud/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥5.2 / 1M tokens
Output Price
¥18.2 / 1M tokens
Cache Write
¥6.5 / 1M tokens
Cache Read
¥1.3 / 1M tokens
TTFT
1.46s
Throughput
35.50tps
Uptime
100.00%
Provider Model
nc/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥4 / 1M tokens
Output Price
¥14 / 1M tokens
Cache Write
¥5 / 1M tokens
Cache Read
¥1 / 1M tokens
TTFT
33.84s
Throughput
2.85tps
Uptime
100.00%
Provider Model
opengw/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥5.2 / 1M tokens
Output Price
¥18.2 / 1M tokens
Cache Write
¥6.5 / 1M tokens
Cache Read
¥1.3 / 1M tokens
TTFT
13.63s
Throughput
3.66tps
Uptime
36.00%
Provider Model
paratera/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥4.4 / 1M tokens
Output Price
¥15.4 / 1M tokens
Cache Write
¥5.5 / 1M tokens
Cache Read
¥1.1 / 1M tokens
TTFT
25.98s
Throughput
4.76tps
Uptime
100.00%
Provider Model
tokenmall-cdtx/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥4.8 / 1M tokens
Output Price
¥16.8 / 1M tokens
Cache Write
¥6 / 1M tokens
Cache Read
¥1.2 / 1M tokens
TTFT
No data
Throughput
4tps
Uptime
100.00%
Provider Model
aiping/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥5.6 / 1M tokens
Output Price
¥19.6 / 1M tokens
Cache Write
¥7 / 1M tokens
Cache Read
¥1.4 / 1M tokens
TTFT
5.99s
Throughput
37.55tps
Uptime
86.00%
Provider Model
tokenmall-zqf/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥4 / 1M tokens
Output Price
¥14 / 1M tokens
Cache Write
¥5 / 1M tokens
Cache Read
¥1 / 1M tokens
TTFT
13.89s
Throughput
45.27tps
Uptime
100.00%
Provider Model
tokenmall-zyld/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥3.76 / 1M tokens
Output Price
¥13.16 / 1M tokens
Cache Write
¥4.7 / 1M tokens
Cache Read
¥0.94 / 1M tokens
TTFT
5.18s
Throughput
55.66tps
Uptime
100.00%
Provider Model
bigmodel/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥8 / 1M tokens
Output Price
¥28 / 1M tokens
Cache Write
¥10 / 1M tokens
Cache Read
¥2 / 1M tokens
TTFT
3.33s
Throughput
38.70tps
Uptime
100.00%
Provider Model
volcengine/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥4 / 1M tokens
Output Price
¥14 / 1M tokens
Cache Write
¥5 / 1M tokens
Cache Read
¥1 / 1M tokens
TTFT
No data
Throughput
No data
Uptime
100.00%
Provider Model
baidu/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥5.6 / 1M tokens
Output Price
¥19.6 / 1M tokens
Cache Write
¥7 / 1M tokens
Cache Read
¥1.4 / 1M tokens
TTFT
8.49s
Throughput
34.45tps
Uptime
100.00%
Provider Model
tencent/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥8 / 1M tokens
Output Price
¥28 / 1M tokens
Cache Write
¥10 / 1M tokens
Cache Read
¥2 / 1M tokens
TTFT
5.38s
Throughput
46.09tps
Uptime
100.00%
Provider Model
alibaba/z-ai/glm-5.2
Supported Parameters
Recent Uptime
Reasoning
Toggleable
Supported Response Formats
Total Context
1,000,000
Max Output
128,000
Input Price
¥8 / 1M tokens
Output Price
¥28 / 1M tokens
Cache Write
¥10 / 1M tokens
Cache Read
¥2 / 1M tokens
Compare different providers across Zhinao API
34.94 tok/s
7.03 s
Uptime for z-ai/glm-5.2 across all providers
Zhinao API normalizes requests and responses across providers for you
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.360.cn/v1",
apiKey: process.env.ZHINAO_API_KEY,
});
const response = await client.chat.completions.create({
model: "z-ai/glm-5.2",
messages: [
{ role: "user", content: "Hello, how are you?" }
],
temperature: 0.7,
max_tokens: 1000,
});
console.log(response.choices[0].message.content);