OpenAI

GPT 5.4 Pro

OpenAI按量收費動態收費
Alias:gpt-5.4-pro

采用更多计算量进行深入思考的 GPT-5.4 专业推理模型,适合困难问题与要求准确性的工作。仅支持 Responses 接口。支持文本与图像输入、文本输出。上下文窗口 1,050,000,最大输出 128,000 个词元。输入超过 272,000 个词元时,整次请求按长上下文费率计费。官方 Standard 价格(美元/百万 tokens):输入 $30、缓存读取 未单列、输出 $180。长上下文:输入 $60、缓存读取 未单列、输出 $270。

textimagestreamingfunction_callingtoolsvisionweb_searchreasoningcontext:1050000
起始價格
查看完整計費明細
上下文
1.1M
最大輸入窗口
最大輸出
128K
單次回應最大 token 數
模態
→
知識截止
Aug 2025
發佈於
Mar 2026

Pricing by Supplier

OpenAI
省40%
Openai官方接口
standard輸入 ≤ 272K tokens
輸入/ 1M tokens
$18$30
輸出/ 1M tokens
$108$180
long_context輸入 > 272K tokens
輸入/ 1M tokens
$36$60
輸出/ 1M tokens
$162$270

能力 / 支援的模態

串流輸出函數呼叫工具視覺網絡搜尋推理
輸入
輸出

廠商與數據私隱

供應商
OpenAI文件
分詞器
o200k_base
許可證
Proprietary (commercial)商業閉源
數據保留30 日預設不會用於上游訓練

效能

基準測試

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

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

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

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

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

About GPT 5.4 Pro

深入检查复杂问题的关键环节

GPT-5.4 Pro 面向需要反复推敲的工作,例如梳理跨服务故障、比较架构方案、检查算法边界,或从多份技术材料中找出相互矛盾的条件。它使用更多计算进行推理,接受文本和图片,输出文字分析与代码,适合对结论细节有较高要求的任务。

百万级上下文可以容纳较长的设计文档、日志片段、代码和讨论记录。材料较多时,先说明时间顺序、版本与各自用途,再要求模型把证据组成完整链条。图片可用于补充架构图、界面状态或图表,让文字描述与可见现象一起参与分析。

把结论变成可检查的方案

排障时可以要求按“触发条件、传播路径、可观察证据、修复与验证”展开,避免只得到常见原因清单。方案比较则应明确约束,例如延迟、可用性、改造范围和恢复成本,并要求检查失败情景与反例。资料不足的部分应列成待验证问题,后续补充结果再继续推理。

模型在 Responses 中支持函数调用、搜索、文件检索和计算机操作等工具协作。应用需要配置工具权限与执行环境,并传回实际结果,让后续分析基于新的观察。

调用时预留等待时间

本模型使用 Responses API,reasoning.effort 可选 medium、high 和 xhigh,默认 medium。困难请求可能需要数分钟,应安排足够的超时和任务状态管理;应用支持时可采用后台执行。适合需要深入分析的工作,使用前可先明确本轮最重要的判断与交付结果。

Use cases and prompting

分析跨服务故障

“结合调用链、错误日志、配置变更记录和架构图,重建这次超时发生的过程。检查哪些证据支持连接池耗尽,哪些现象还不能解释;比较临时缓解与长期修复方案,给出最小验证步骤及失败时的恢复条件。”

日志很多,应怎样提供?

先标明时间范围与服务关系,保留关键上下游记录,说明哪些字段可关联同一请求,减少无关重复材料。

如何选择推理档位?

从 medium 开始,复杂且需要更深入分析的任务再考虑 high 或 xhigh,同时预留更长等待时间并检查实际结果。

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 Key。

身份驗證

所有請求必須攜帶 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
OpenAI無限制無限制無限制

無限制

Frequently asked questions about gpt-5.4-pro

What is gpt-5.4-pro?

采用更多计算量进行深入思考的 GPT-5.4 专业推理模型,适合困难问题与要求准确性的工作。仅支持 Responses 接口。支持文本与图像输入、文本输出。上下文窗口 1,050,000,最大输出 128,000 个词元。输入超过 272,000 个词元时,整次请求按长上下文费率计费。官方 Standard 价格(美元/百万 tokens):输入 $30、缓存读取 未单列、输出 $180。长上下文:输入 $60、缓存读取 未单列、输出 $270。

How do I call gpt-5.4-pro?

Create an API key with access to gpt-5.4-pro, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is gpt-5.4-pro 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 gpt-5.4-pro?

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

What is the maximum output of gpt-5.4-pro?

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

How should I evaluate gpt-5.4-pro for my project?

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