Zhipu

Z.ai: GLM-5

Chat
z-ai/glm-5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.

200K 上下文窗口
128K 最大输出 token
发布日期: 2026-02-11
支持的协议:OpenAIopenaiAnthropicanthropic
可用供应商:ZhipuZhipuBaiLianAliyun
能力:函数调用推理提示缓存网络搜索

定价

类型价格
输入 Token$1/M
输出 Token$3.2/M
缓存读取$0.2/M
网络搜索$0.005/R

代码示例

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="z-ai/glm-5",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

常见问题

Z.ai: GLM-5 在 Ofox.ai 上的价格为输入 $1/M/百万 Token,输出 $3.2/M/百万 Token。按量计费,无月费。

微信社群

扫码加入开发者交流群

微信社群

Discord

加入 Discord 社区

Discord

技术顾问

扫码添加技术顾问

技术顾问