gpt-5.4-nanoGPT-5.4 系列的輕量推理模型,適合分類、資料擷取、排序及子代理等重視速度與成本的任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。官方 Standard 費率(美元/百萬詞元):輸入 0.20、快取讀取 0.02、輸出 1.25。
比較同一模型在不同供應商的價格與服務表現。
| 供應商 | Discount | 輸入/M | 輸出/M | 緩存讀取/M | ||||
|---|---|---|---|---|---|---|---|---|
OpenAI OpenAI 官方 API | 省35% | $0.13 | $0.8125 | $0.013 | ||||
Azure 直接連線至 Microsoft Azure API,服務穩定可靠 | 省32.5% | $0.135 | $0.84375 | $0.0135 |
左右滑動表格,查看完整價格與效能。
標準化評測得分。百分比越高越好,並展示排名百分位。
指標來源:Artificial Analysis 2026-09-30·GPT 5.4 Nano
目前基準快照不包含此模型。
缺少模型或測量值不代表零分。
基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。
GPT-5.4 系列的輕量推理模型,適合分類、資料擷取、排序及子代理等重視速度與成本的任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。官方 Standard 費率(美元/百萬詞元):輸入 0.20、快取讀取 0.02、輸出 1.25。
GPT-5.4 nano 适合规则明确、需要频繁执行的工作,例如给客服消息分配类别、从收据中提取字段、筛选产品评论、整理搜索候选,或为后续处理生成简短摘要。它的重点是速度与成本,适合作为业务流程前端的初筛和整理助手。
它接受文本与图片输入,可以把视觉内容纳入同一套处理规则。比如,从商品截图中识别标题与促销信息,再按给定规则生成标签;从票据图片中提取日期、币种和金额,并标出看不清的字段。对于图片里的细字或关键数字,建议让它返回对应原文,方便核验。
结构化输出使结果容易交给程序处理。设计请求时,先列出固定字段、枚举范围和缺失值规则,再给少量代表样例,通常比要求自由发挥更适合批量任务。函数调用也可以让它把已识别的需求转交给查询或处理工具,承担智能体中的单一步骤。
候选排序可以依据你提供的相关性、时效性或业务优先级进行,但这类判断应通过真实样本评估。遇到材料互相矛盾、需要长链推理或决策影响较大的情况,可以让它标记出来,交给更强模型或人工继续分析。清晰的升级条件比让每条输入都得到确定答案更实用。
分类标签太多怎么办? 把类别定义和边界案例写清楚,保留“其他”或“待复核”,并检查相近类别的混淆情况。
能直接做搜索排序吗? 可以为已提供的候选进行语义判断与排序;候选检索、索引维护和业务规则仍需要你的系统完成。
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]
为重复任务提供固定规则,输出保持简短。
将这条售后消息分为退款、物流、质量、咨询或其他。
返回 JSON:category、order_id、summary、needs_review。
order_id 只提取原文中明确出现的编号,缺失写 null。
summary 不超过 30 字;同时涉及多个诉求或信息不足时 needs_review 为 true。
消息:{客户原文}
图片提取时增加“看不清写 null,不补全数字”。候选排序时说明排序标准,并要求返回候选原有 ID,避免系统无法匹配结果。用包含模糊输入与边界类别的样本检查准确率后,再投入大量调用。
/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.20、快取讀取 0.02、輸出 1.25。
Create an API key with access to gpt-5.4-nano, 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.
