glm-5.4GLM-5.4 是智谱采用 Loop Transformer 架构的旗舰多模态模型,适合视觉编程、复杂软件工程及长流程智能体任务。ModelSell 通过 360 智脑提供按量调用。
比較同一模型在不同供應商的價格與服務表現。
| 供應商 | 輸入/M | 輸出/M | 緩存讀取/M | ||||
|---|---|---|---|---|---|---|---|
Oofficial 官方接口直连 | $1.1765 | $4.1176 | $0.294118 |
左右滑動表格,查看完整價格與效能。
標準化評測得分。百分比越高越好,並展示排名百分位。
指標來源:Artificial Analysis 2026-09-30·GLM 5.4
目前基準快照不包含此模型。
缺少模型或測量值不代表零分。
基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。
GLM-5.4 通过重复执行一组共享权重的层来增加推理深度,适合跨模块代码修改、根据截图还原界面以及需要多轮调用工具的任务。通过外部工具还能协助处理视频制作、游戏开发和 3D 建模工作。
智谱公布的原生输入为文本、图像、视频和文件,输出为文本。模型支持思考模式、工具调用、结构化输出和上下文缓存。上下文窗口为 1,000,000 Token,360 智脑公布的最大输出为 128,000 Token。各输入类型的传输格式取决于所用 API。
ModelSell 通过 360 智脑接入,按其公开报价设置标准价。每百万 Token 的普通输入为 ¥8,输出为 ¥28,缓存命中为 ¥2。智谱开放平台的标准按量 API 仍待开放。
使用具有 official 分组权限的 ModelSell API Key,向 POST /v1/chat/completions 传入 model: "glm-5.4" 和 messages。对长程任务可通过 max_tokens 设置合理的生成上限。模型可能先生成思考 Token,输出上限过小时可能在生成最终答案前用完额度。
/v1/chat/completions| 參數 | 類型 | 預設值 / 範圍 | 說明資訊 |
|---|---|---|---|
temperature | number | = 10 ~ 2 | 採樣溫度;越低越穩定 |
top_p | number | = 10 ~ 1 | 核採樣累積概率 |
max_tokens | integer | >= 1 | 回應中最大 token 數 |
frequency_penalty | number | = 0-2 ~ 2 | 懲罰高頻 token 的重複出現 |
presence_penalty | number | = 0-2 ~ 2 | 鼓勵引入新話題 |
stop | array | — | 最多 4 個停止生成的字串 |
seed | integer | — | 盡量保證可復現的採樣種子 |
n | integer | = 1>= 1 | 生成的候選條數 |
stream | boolean | = false | 透過 SSE 串流返回 token |
response_format | object | — | 強制輸出 JSON 物件或符合 Schema 的結果 |
tools | array | — | 模型可呼叫的工具 / 函數聲明 |
tool_choice | string | autononerequired | 工具選擇策略或具體工具名 |
logprobs | boolean | = false | 返回每個 token 的對數概率 |
top_logprobs | integer | 0 ~ 20 | 每個 token 返回的 top 概率數量 |
logit_bias | object | — | 按 token 的 logit 偏置映射 |
user | string | — | 用於風險審計的終端用戶標識 |
替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。
所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。
在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。
| 參數 | 類型 | 預設值 / 範圍 | 說明資訊 |
|---|---|---|---|
temperature | number | = 10 ~ 2 | 採樣溫度;越低越穩定 |
top_p | number | = 10 ~ 1 | 核採樣累積概率 |
max_tokens | integer | >= 1 | 回應中最大 token 數 |
frequency_penalty | number | = 0-2 ~ 2 | 懲罰高頻 token 的重複出現 |
presence_penalty | number | = 0-2 ~ 2 | 鼓勵引入新話題 |
stop | array | — | 最多 4 個停止生成的字串 |
seed | integer | — | 盡量保證可復現的採樣種子 |
n | integer | = 1>= 1 | 生成的候選條數 |
stream | boolean | = false | 透過 SSE 串流返回 token |
response_format | object | — | 強制輸出 JSON 物件或符合 Schema 的結果 |
tools | array | — | 模型可呼叫的工具 / 函數聲明 |
tool_choice | string | autononerequired | 工具選擇策略或具體工具名 |
logprobs | boolean | = false | 返回每個 token 的對數概率 |
top_logprobs | integer | 0 ~ 20 | 每個 token 返回的 top 概率數量 |
logit_bias | object | — | 按 token 的 logit 偏置映射 |
user | string | — | 用於風險審計的終端用戶標識 |
| 供應商 | RPM | TPM | RPD |
|---|---|---|---|
| official | 無限制 | 無限制 | 無限制 |
無限制
GLM-5.4 是智谱采用 Loop Transformer 架构的旗舰多模态模型,适合视觉编程、复杂软件工程及长流程智能体任务。ModelSell 通过 360 智脑提供按量调用。
Create an API key with access to glm-5.4, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.
The model catalog lists a context window of 1000000 tokens. Check the selected endpoint for request limits.
The model catalog lists a maximum output of 128000 tokens. Your request settings may set a lower limit.
Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.
