Z.ai

GLM 5.4

Z.ai按量收費
Alias:glm-5.4

GLM-5.4 是智谱采用 Loop Transformer 架构的旗舰多模态模型,适合视觉编程、复杂软件工程及长流程智能体任务。ModelSell 通过 360 智脑提供按量调用。

深度思考多模态长上下文视觉编程工具调用
起始價格
輸入 / 輸出 · 1M
上下文
1M
最大輸入窗口
最大輸出
128K
單次回應最大 token 數
模態
→
發佈於
Nov 2026

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商1
USD · 每 1M tokens效能 · Last 24 hours
供應商輸入/M輸出/M緩存讀取/M
official

官方接口直连

$1.1765
$4.1176
$0.294118
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

推理視覺函數呼叫結構化輸出串流輸出提示詞緩存
輸入
輸出

廠商與數據私隱

供應商
Zhipu AI文件
分詞器
GLM tokenizer
許可證
GLM-4 License開放權重
數據保留55 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·GLM 5.4

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About GLM 5.4

模型能力

GLM-5.4 通过重复执行一组共享权重的层来增加推理深度,适合跨模块代码修改、根据截图还原界面以及需要多轮调用工具的任务。通过外部工具还能协助处理视频制作、游戏开发和 3D 建模工作。

智谱公布的原生输入为文本、图像、视频和文件,输出为文本。模型支持思考模式、工具调用、结构化输出和上下文缓存。上下文窗口为 1,000,000 Token,360 智脑公布的最大输出为 128,000 Token。各输入类型的传输格式取决于所用 API。

计费与接入

ModelSell 通过 360 智脑接入,按其公开报价设置标准价。每百万 Token 的普通输入为 ¥8,输出为 ¥28,缓存命中为 ¥2。智谱开放平台的标准按量 API 仍待开放。

Use cases and prompting

使用具有 official 分组权限的 ModelSell API Key,向 POST /v1/chat/completions 传入 model: "glm-5.4" 和 messages。对长程任务可通过 max_tokens 设置合理的生成上限。模型可能先生成思考 Token,输出上限过小时可能在生成最终答案前用完额度。

API access

API 介面文件

呼叫示例

請求POST/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
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
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
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
official無限制無限制無限制

無限制

Frequently asked questions about glm-5.4

What is glm-5.4?

GLM-5.4 是智谱采用 Loop Transformer 架构的旗舰多模态模型,适合视觉编程、复杂软件工程及长流程智能体任务。ModelSell 通过 360 智脑提供按量调用。

How do I call glm-5.4?

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.

How is glm-5.4 priced?

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.

What is the context window of glm-5.4?

The model catalog lists a context window of 1000000 tokens. Check the selected endpoint for request limits.

What is the maximum output of glm-5.4?

The model catalog lists a maximum output of 128000 tokens. Your request settings may set a lower limit.

How should I evaluate glm-5.4 for my project?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.