GLM-4.5-Air 是我们最新旗舰模型系列的轻量化版本,同时专为智能体(Agent)中心应用而设计。与 GLM-4.5 一样,它采用专家混合(Mixture-of-Experts,MoE)架构,但参数规模更加紧凑。 GLM-4.5-Air 支持混合推理模式,提供两种工作模式: - 思考模式(Thinking Mode):用于高级推理和工具调用; - 非思考模式(Non-Thinking Mode):用于实时交互与快速响应。 用户可以通过布尔参数 reasoning_enabled 来控制模型的推理行为
模型价格
| 输入 | ¥1.2/Mt |
| 缓存 | Cache Read¥0.24/Mt |
| 输出 | ¥2/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.5-air",
10 "messages": [
11
12 {
13 "role": "user",
14 "content": "Hi there!"
15 }
16 ],
17 "response_format": { "type": "text" }
18}
19EOF
20 模型信息
上下文窗口:
131.1K
最大输出 token 数:
98.3K
模态:
支持的功能
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.5-air
API Key:
创建 & 查询您的 API KeyRate Limits
| 用量级别 | RPM | TPM |
|---|---|---|
| T1 | 5 | 50000000 |
| T2 | 100 | 50000000 |
| T3 | 1000 | 50000000 |
| T4 | 3000 | 50000000 |
| T5 | 6000 | 50000000 |
功能使用教程