Z
GLM-4.7
zai-org/glm-4.7

GLM-4.7是智谱AI最新推出的旗舰大模型,该版本聚焦三大核心升级:1)在复杂智能体任务流中展现出显著的性能提升,支持稳定可靠的多步骤推理与任务执行;2)具备更接近自然人类对话的交互体验,配合增强的前端设计感知能力;3)专为编程场景深度优化,在代码生成、调试及系统级架构设计方面实现技术突破。实际测试表明,该模型能自动处理包含56个关联步骤的CI/CD流水线编排任务,对话中断率较上代降低42%。

模型价格立即体验模型

输入4/Mt
缓存
读取0.8/Mt写入0.8/Mt
输出16/Mt

示例代码

一键复制
1base_url="https://api.ppinfra.com/openai"
2api_key="<您的 API Key>"
3
4curl "$base_url/v1/chat/completions" \
5  -H "Content-Type: application/json" \
6  -H "Authorization: Bearer $api_key" \
7  -d @- << 'EOF'
8{
9    "model": "zai-org/glm-4.7",
10    "messages": [
11        
12        {
13            "role": "user",
14            "content": "Hi there!"
15        }
16    ],
17    "response_format": { "type": "text" }
18}
19EOF
20  

模型信息

上下文窗口:

204800

最大输出 token 数:

131072

模态:

输入:
Text
输出:
Text

支持的功能

Function Calling支持
结构化输出支持
reasoning支持
Anthropic API支持

API 接入指南

Base URL:

https://api.ppinfra.com/openai

Anthropic Base URL:

https://api.ppinfra.com/anthropic

API Endpoints:

/v1/chat/completions

Model ID:

zai-org/glm-4.7

用量级别RPMTPM
T1550,000,000
T210050,000,000
T31,00050,000,000
T43,00050,000,000
T56,00050,000,000
用更高性价比的产品服务
助您释放无限创新元力,引领智能时代新进程
马上咨询