GLM 4.7
zai-org/glm-4.7

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

Model price

Input /Mt Output /Mt
UncachedCache read
¥2/Mt¥0.4/Mt¥8/Mt

Sample Code

Copy
1base_url="https://api.ppio.com/openai"
2api_key="<YOUR_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  

Model Information

Context window:

204.8K

Maximum output tokens:

131.1K

Modality:

Input:
Text
Output:
Text

Supported features

Function CallingSupported
Structured OutputSupported
reasoningSupported

API Integration Guide

Base URL:

https://api.ppio.com/openai

Messages protocol Base URL:

https://api.ppio.com/anthropic

API Endpoints:

/v1/chat/completions

Model ID:

zai-org/glm-4.7

Usage tierRPMTPM
T1550000000
T210050000000
T3100050000000
T4300050000000
T5600050000000
With more cost-effective products and services
Help you unleash boundless innovation and lead the new era of intelligence
Inquire now