GLM 4.6
zai-org/glm-4.6

GLM-4.6 是智谱最新的旗舰模型,其总参数量 355B,激活参数 32B,上下文提升至 200K,8 大权威基准全面提升,稳居国产模型首位。在编程、推理、搜索、写作、智能体应用等核心能力均完成对 GLM-4.5 的超越。

模型价格

输入¥4/Mt
缓存
Cache Read¥0.8/MtCache Write(5m)¥0.8/Mt
输出¥16/Mt

示例代码

一键复制
1base_url="https://api.ppio.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.6",
10    "messages": [
11        
12        {
13            "role": "user",
14            "content": "Hi there!"
15        }
16    ],
17    "response_format": { "type": "text" }
18}
19EOF
20  

模型信息

上下文窗口:

204.8K

最大输出 token 数:

131.1K

模态:

输入:
Text
输出:
Text

支持的功能

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

API 接入指南

Base URL:

https://api.ppio.com/openai

Messages 协议 Base URL:

https://api.ppio.com/anthropic

API Endpoints:

/v1/chat/completions

Model ID:

zai-org/glm-4.6

用量级别RPMTPM
T11050000000
T210050000000
T3100050000000
T4300050000000
T5600050000000
用更高性价比的产品服务
助您释放无限创新元力,引领智能时代新进程
马上咨询