Publish time
2026/11/25Model Series
GLMInput type
Output type
Input Price
¥8 / 1M tokensOutput Price
¥28 / 1M tokensCache Write Price
-Cache Read Price
¥2 / 1M tokensContext Window
1,000,000Max Output Length
128,000GLM-5.4 是智谱首款采用 Loop Transformer 架构的旗舰模型,新增视觉理解能力,并将编程拓展到视频制作、游戏开发、3D 建模和机械设计。我们把这一方向称为“泛 Coding”。在支持工具调用的环境中,开发者可以给出分镜、参考图或设计要求,让模型编写代码、调用专业软件,并根据运行结果继续修改作品。
Choose a platform preset or custom routing preset
Zhinao API routes requests to the best-fit provider and automatically fails over to the one with highest availability.
TTFT
15.49s
Throughput
34.22tps
Uptime
100.00%
Provider Model
nc/z-ai/glm-5.4
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
-
Cache Read
¥2 / 1M tokens
TTFT
6.55s
Throughput
49.52tps
Uptime
95.00%
Provider Model
sk/z-ai/glm-5.4
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
-
Cache Read
¥2 / 1M tokens
TTFT
4.18s
Throughput
62.31tps
Uptime
100.00%
Provider Model
bigmodel/z-ai/glm-5.4
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
-
Cache Read
¥2 / 1M tokens
Compare different providers across Zhinao API
59.60 tok/s
4.90 s
Uptime for z-ai/glm-5.4 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.4",
messages: [
{ role: "user", content: "Hello, how are you?" }
],
temperature: 0.7,
max_tokens: 1000,
});
console.log(response.choices[0].message.content);