OpenAI

GPT 5.4

OpenAIToken-basedDynamic Pricing
Alias:gpt-5.4
Create API Key

Compare gpt-5.4 API pricing, supported endpoints, capabilities and access options on Modelsell.

textimagestreamingfunction_callingtoolsstructured_outputjson_modevisionweb_searchcachingreasoningcode_interpretercontext:1050000
Starting price
View full pricing
Context
1.1M
Maximum input window
Max output
128K
Maximum tokens per response
Modalities
→
Knowledge cutoff
Aug 2025
Released
Mar 2026

Pricing by Supplier

OpenAI
-40%
Openai官方接口
standardInput ≤ 272K tokens
Input/ 1M tokens
$1.5$2.5
Output/ 1M tokens
$9$15
Cache Read/ 1M tokens
$0.15$0.25
long_contextInput > 272K tokens
Input/ 1M tokens
$3$5
Output/ 1M tokens
$13.5$22.5
Cache Read/ 1M tokens
$0.3$0.5
Azure
-40%
微软云API直连,稳定可靠
standardInput ≤ 272K tokens
Input/ 1M tokens
$1.5$2.5
Output/ 1M tokens
$9$15
Cache Read/ 1M tokens
$0.15$0.25
long_contextInput > 272K tokens
Input/ 1M tokens
$3$5
Output/ 1M tokens
$13.5$22.5
Cache Read/ 1M tokens
$0.3$0.5
GPT官+AZ 混合
-40%
适合生产环境,az 和官 key 混合渠道
standardInput ≤ 272K tokens
Input/ 1M tokens
$1.5$2.5
Output/ 1M tokens
$9$15
Cache Read/ 1M tokens
$0.15$0.25
long_contextInput > 272K tokens
Input/ 1M tokens
$3$5
Output/ 1M tokens
$13.5$22.5
Cache Read/ 1M tokens
$0.3$0.5
GPT特价
-90%
适合vibe coding自用,gpt pro 号池
standardInput ≤ 272K tokens
Input/ 1M tokens
$0.25$2.5
Output/ 1M tokens
$1.5$15
Cache Read/ 1M tokens
$0.025$0.25
long_contextInput > 272K tokens
Input/ 1M tokens
$0.5$5
Output/ 1M tokens
$2.25$22.5
Cache Read/ 1M tokens
$0.05$0.5

Capabilities / Supported modalities

StreamingFunction callingToolsStructured outputVisionWeb searchPrompt cachingReasoningCode interpreter
Input
Output

Provider & data privacy

Provider
OpenAIDocs
Tokenizer
o200k_base
License
Proprietary (commercial)Proprietary
Data retention30 daysNot used for upstream training by default

Performance

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows

Metrics sourced fromArtificial Analysis 2026-09-30·GPT 5.4

This model is not included in the current benchmark snapshot.

Missing models or measurements are not zero scores.

Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.

About GPT 5.4

连接分析、编程与日常办公

GPT-5.4 可以把需求理解、推理和工具调用放进同一条工作流程。它适合处理具有明确目标的专业任务,例如从产品规则设计接口、检查一组经营数据的异常、把分散的会议资料整理成行动计划,或根据页面截图分析交互问题。输入可以包含文字与图片,结果以文字或约定的数据结构返回。

开发者可以用它理解现有代码、补充实现、解释测试失败和评估重构风险。把运行环境、关联文件和不能改变的行为一并提供,可以让它给出更贴近项目的修改建议。对于复杂故障,要求先列出可验证假设,再依据日志排除,通常比直接要求“修好代码”更便于协作。

在业务工作中,它能从较长的文档中抽取信息、比较方案并起草报告。百万 Token 级上下文方便处理大型资料包,仍建议按主题标注来源、区分新旧版本,并明确哪份文件具有最终效力。结构化输出可用于生成工单、分类结果或数据提取记录;函数调用则可以让应用把需要查询或执行的步骤交给真实工具。

它提供从不额外推理到更高强度推理的设置。表单整理、文案改写可优先考虑响应速度;涉及复杂计算、代码设计或多条件判断时,可以提高推理强度并预留输出预算。网页检索、计算环境和电脑操作都需要调用端实际提供相应工具,接入后应按步骤检查工具结果。

实际选用问题

能根据截图修改页面吗? 可以理解截图并生成修改方案或代码;真正写入项目、启动页面和检查效果需要编辑与运行工具。

能把结果直接接进系统吗? 可以定义字段和格式,让程序解析输出;业务校验、权限判断和数据保存仍应由应用执行。

Use cases and prompting

给任务增加可验证的终点

将输入资料、限制条件和交付物写在同一条请求中。

根据这份季度销售表和两张仪表盘截图,检查三个区域的收入变化。
先核对图表与表格是否一致,再区分销量、单价和退款的影响。
输出一页管理层简报:关键变化、证据、需要补充的数据、下季度行动建议。
所有金额保留原币种;缺少的数据不要估算。

工具工作流中,可以约定“查询完成后先核对行数与时间范围,再生成报告”。代码任务则指定允许修改的文件、测试命令和验收行为,让最终回复包含实际完成内容与尚待验证的问题。

API access

API documentation

Code samples

RequestPOST/v1/chat/completions
Example request
Parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Rate limits

SupplierRPMTPMRPD
AzureUnlimitedUnlimitedUnlimited
defaultUnlimitedUnlimitedUnlimited
GPT官+AZ 混合UnlimitedUnlimitedUnlimited
GPT特价UnlimitedUnlimitedUnlimited
OpenAIUnlimitedUnlimitedUnlimited

No restriction

Frequently asked questions about gpt-5.4

What is gpt-5.4?

Compare gpt-5.4 API pricing, supported endpoints, capabilities and access options on Modelsell.

How do I call gpt-5.4?

Create an API key with access to gpt-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 gpt-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 gpt-5.4?

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?

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 for my project?

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