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. 通过统一 API 即可完成接入,支持弹性并发、用量监控和团队级密钥管理,适合从快速验证到稳定调用的完整链路。
能力与模态
当前模型版本支持的输入输出能力
模型价格
价格与能力以接口实时数据为准
API 接口
当前模型可以使用的调用端点
API 接入示例
选择协议与语言,配置 API Key 后运行
先在环境变量中配置平台密钥 AI_GATEWAY_API_KEY · 适用于 Bash / zsh / WSL。
https://api.tikway.ai/v1/messages1curl --fail-with-body 'https://api.tikway.ai/v1/messages' \2 -H "x-api-key: $AI_GATEWAY_API_KEY" \3 -H 'anthropic-version: 2023-06-01' \4 -H 'Content-Type: application/json' \5 -d '{6 "model": "z-ai/glm-5",7 "max_tokens": 1024,8 "messages": [9 {10 "role": "user",11 "content": "用三句话介绍 Tikway"12 }13 ]14}'