OpenAI

GPT 5.4 Mini

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

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

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

Pricing by Supplier

OpenAI
-50%
Openai官方接口
Input/ 1M tokens
$0.375$0.75
Output/ 1M tokens
$2.25$4.5
Cache Read/ 1M tokens
$0.0375$0.075
Azure
-55%
微软云API直连,稳定可靠
Input/ 1M tokens
$0.3375$0.75
Output/ 1M tokens
$2.025$4.5
Cache Read/ 1M tokens
$0.03375$0.075
GPT官+AZ 混合
-55%
适合生产环境,az 和官 key 混合渠道
Input/ 1M tokens
$0.3375$0.75
Output/ 1M tokens
$2.025$4.5
Cache Read/ 1M tokens
$0.03375$0.075
GPT特价
-95%
适合vibe coding自用,gpt pro 号池
Input/ 1M tokens
$0.0375$0.75
Output/ 1M tokens
$0.225$4.5
Cache Read/ 1M tokens
$0.00375$0.075

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 Mini

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 Mini

高频任务中的编程与执行助手

GPT-5.4 mini 适合把规模较大的工作拆成明确的小任务来处理。开发团队可以用它解释单个模块、生成测试用例、审核局部改动,或让它作为智能体中的分工助手,完成资料查找、文件检查和结果整理。对于需要大量调用的应用,它提供了兼顾速度与分析能力的选择。

它可以理解文本与图片,因此除了文字客服和信息抽取,也能处理产品截图、界面状态和图文说明。例如,把报错截图与相关组件交给它,要求判断异常出现在哪个状态分支;把表单截图和字段规范一起提供,让它提取内容并指出缺失项。输出以文字或结构化数据返回。

代码辅助不必局限于补全几行代码。你可以给出接口契约、现有实现和失败测试,让它定位差异,再生成范围明确的修复建议。涉及多个模块或重大架构决策时,先用它整理证据和候选方案,再安排更深入的审查,可以使整体流程更高效。

函数调用和结构化输出方便它参与实际应用:查询订单、整理工单、调用测试工具或生成固定字段的审核结果。电脑操作、网页搜索和代码运行需要实际配置工具,模型负责选择步骤与理解反馈。应为分工任务设定输入范围、成功条件和返回格式,避免任务交接时丢失关键信息。

选用与调节

适合批量处理哪些内容? 格式相近的工单分类、文档字段提取、测试建议和局部代码审查都比较容易建立统一验收标准。

什么时候提高推理强度? 多条件排错、边界行为分析或涉及依赖关系时可以提高;简单提取与改写通常无需同样的思考预算。

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
GPT官+AZ 混合UnlimitedUnlimitedUnlimited
GPT特价UnlimitedUnlimitedUnlimited
OpenAIUnlimitedUnlimitedUnlimited

No restriction

Frequently asked questions about gpt-5.4-mini

What is gpt-5.4-mini?

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

How do I call gpt-5.4-mini?

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.

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

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

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

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

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