跳至内容

GLM 5.2 - Z.ai 免费 AI 模型,256K 上下文

GLM 5.2 - 免费 AI 模型

GLM 5.2 完全免费,$0/M input tokens,$0/M output tokens。

模型信息

属性
上下文长度256,000 tokens
最大输出230,400 tokens
输入价格$0 / 1M tokens
输出价格$0 / 1M tokens
供应商Z.ai
状态免费

描述

GLM 5.2 是 Z.ai 的大规模推理模型,支持 1M token 上下文,适合长程智能体工作流、项目级软件工程等任务。

使用示例

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5.2:free",
    "messages": [{"role": "user", "content": "你好!"}]
  }'

相关链接