Zhipu AI
GLM 5.3
旗舰推理模型,支持 1M 上下文,可选择低、高和最高三个推理强度档位。
公开 API 价格
查看所有价格档位$1.5435 in / $4.851 out / 1M
Input / 1M$1.5435
Output / 1M$4.851
Cached / 1M$0.3087
API 模型 ID
兼容 OpenAI 的 API
glm-5.3- 端点
POST /api/v1/chat/completions- 输入
- Text
- 输出
- Text · JSON · Tool calls
- 费率
- $1.5435 in / $4.851 out / 1M
- 上下文窗口
- 1,000,000 个词元
示例提示词“Design a concise 3-shot storyboard for a 10-second architectural lighting reel, returning valid JSON.”
适用场景
- Drop-in OpenAI SDK compatibility via POST /api/v1/chat/completions with a 1,000,000-token context window
- 快速生成文本、调用工具并处理结构化 JSON 工作流
- 每个响应的 usage.cost 都给出确切美元费用,提交时执行每个密钥的支出限额
- API 模型 ID
glm-5.3- 模型开发者
- Zhipu AI
- 模态
- 语言与推理
- 输入
- Text
- 输出
- Text · JSON · Tool calls
- 端点列表
POST /api/v1/chat/completionsGET /api/v1/modelsMCP runstage_chat- 基础设施
- 直连 GPU 集群
- 上下文窗口
- 1,000,000 个词元
- 最大输出
- 128,000 个词元 (网关上限)
- JSON 模式
- JSON 对象模式
- 停止序列
- 不支持
请求参数
modelstring · 必填Exact Runstage model slug (glm-5.3).
messagesarray · 必填OpenAI-compatible conversation array with role and content.
max_tokensinteger · 可选Maximum completion tokens supported by the Runstage gateway (up to 128,000).
temperaturenumber · 可选Sampling temperature controlling determinism vs. creativity (0.0 – 2.0).
其他参数
top_presponse_formattoolstool_choice
复制 GLM 5.3 的 curl 示例
curl -X POST 'https://runstage.dev/api/v1/chat/completions' \
-H "Authorization: Bearer $RUNSTAGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "glm-5.3", "max_tokens": 512, "messages": [ { "role": "user", "content": "Design a concise 3-shot storyboard for a 10-second architectural lighting reel, returning valid JSON." } ] }'价格
| 计费单位和选项 | 费率(美元) |
|---|---|
| Input tokensPer 1,000,000 prompt tokens | $1.5435 |
| Output tokensPer 1,000,000 completion tokens (including reasoning) | $4.851 |
| Cached input readPer 1,000,000 cached prompt tokens | $0.3087 |
| Typical studio turnExample 4,000 input + 500 output tokens | $0.00860 |
计费说明
- Read live per-token pricing from GET /v1/models. Always set maxRetries: 0 on chat completions.
- 按输入和生成的词元数从 Runstage 预付钱包扣费,每个密钥均有美元支出上限。
Runstage 的实时目录价格。使用美元预付点数,每个密钥均有支出限额。
在完整目录中比较