gpt-5.4-miniGPT-5.4 系列面向大量工作負載的高效率推理模型,適合程式設計、電腦操作與子代理任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。官方 Standard 費率(美元/百萬詞元):輸入 0.75、快取讀取 0.075、輸出 4.50。
比較同一模型在不同供應商的價格與服務表現。
| 供應商 | Discount | 輸入/M | 輸出/M | 緩存讀取/M | ||||
|---|---|---|---|---|---|---|---|---|
OpenAI OpenAI 官方 API | 省35% | $0.4875 | $2.925 | $0.04875 | ||||
Azure 直接連線至 Microsoft Azure API,服務穩定可靠 | 省32.5% | $0.50625 | $3.0375 | $0.050625 |
左右滑動表格,查看完整價格與效能。
標準化評測得分。百分比越高越好,並展示排名百分位。
指標來源:Artificial Analysis 2026-09-30·GPT 5.4 Mini
目前基準快照不包含此模型。
缺少模型或測量值不代表零分。
基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。
GPT-5.4 系列面向大量工作負載的高效率推理模型,適合程式設計、電腦操作與子代理任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。官方 Standard 費率(美元/百萬詞元):輸入 0.75、快取讀取 0.075、輸出 4.50。
GPT-5.4 mini 适合把规模较大的工作拆成明确的小任务来处理。开发团队可以用它解释单个模块、生成测试用例、审核局部改动,或让它作为智能体中的分工助手,完成资料查找、文件检查和结果整理。对于需要大量调用的应用,它提供了兼顾速度与分析能力的选择。
它可以理解文本与图片,因此除了文字客服和信息抽取,也能处理产品截图、界面状态和图文说明。例如,把报错截图与相关组件交给它,要求判断异常出现在哪个状态分支;把表单截图和字段规范一起提供,让它提取内容并指出缺失项。输出以文字或结构化数据返回。
代码辅助不必局限于补全几行代码。你可以给出接口契约、现有实现和失败测试,让它定位差异,再生成范围明确的修复建议。涉及多个模块或重大架构决策时,先用它整理证据和候选方案,再安排更深入的审查,可以使整体流程更高效。
函数调用和结构化输出方便它参与实际应用:查询订单、整理工单、调用测试工具或生成固定字段的审核结果。电脑操作、网页搜索和代码运行需要实际配置工具,模型负责选择步骤与理解反馈。应为分工任务设定输入范围、成功条件和返回格式,避免任务交接时丢失关键信息。
适合批量处理哪些内容? 格式相近的工单分类、文档字段提取、测试建议和局部代码审查都比较容易建立统一验收标准。
什么时候提高推理强度? 多条件排错、边界行为分析或涉及依赖关系时可以提高;简单提取与改写通常无需同样的思考预算。
Starting points for evaluation; supported inputs and options are listed in API access.
Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.
Summarize the following document in five bullet points. Separate confirmed facts from open questions, cite the relevant passages and do not invent missing information. Document: [paste your text]
将任务限制在一个模块或一个资料包,并给出固定返回格式。
审查下面这段分页组件代码及失败测试。
只检查页码切换、空列表和总条数变化的行为。
返回:发现的问题、触发步骤、涉及代码位置、最小修复、应补充的测试。
不要重构组件结构,也不要修改接口字段。
图片任务请描述关注区域,并附上需要匹配的业务规则。批量提取时给出字段定义、合法取值和缺失值写法,先验证少量代表样本,再扩大处理范围。
/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 |
|---|---|---|---|
| Azure | 無限制 | 無限制 | 無限制 |
| OpenAI | 無限制 | 無限制 | 無限制 |
無限制
GPT-5.4 系列面向大量工作負載的高效率推理模型,適合程式設計、電腦操作與子代理任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。官方 Standard 費率(美元/百萬詞元):輸入 0.75、快取讀取 0.075、輸出 4.50。
Create an API key with access to gpt-5.4-mini, 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 400000 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.
Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.
