Due to an upstream channel cost increase, all Claude models are now billed at 20% of Anthropic's official API prices (previously 18%), effective immediately. Pricing for other providers is unchanged.View latest pricing
OpenAI

GPT-5.4

Official

openai/gpt-5.4

The prior-generation GPT-5.4. Strong reasoning and coding at roughly half the token price of 5.5, with a 1M-token context window. A solid default when 5.5 is overkill.

1000K 上下文视觉理解推理工具调用编码提示词缓存

定价

来源: openai_x0.10 · 核验于 2026-08-02

输入官方 $2.5 / 百万 tokens
$0.25/ 百万 tokens1折
¥1.7 / 百万 tokens
输出官方 $15 / 百万 tokens
$1.5/ 百万 tokens1折
¥10.2 / 百万 tokens

Fast $0.5 / $3 /M

缓存读 $0.025/M · 缓存写 /M

档位输入缓存读缓存写输出
Standard ≤272K$0.25$2.5−90%$0.025$0.25−90%$1.5$15−90%
Standard >272K$0.5$5−90%$0.05$0.5−90%$2.25$22.5−90%
Priority$0.5$5−90%$0.05$0.5−90%$3$30−90%

本币价按固定汇率折算(1 美元 = 6.8 CNY),汇率更新于 2026-08-02,仅供参考;计费始终以美元结算。

成本估算

预估费用$0.004

支持协议

  • OpenAI Chat CompletionsStatus: 可用: 支持流式https://api.routemux.com/v1
  • OpenAI ResponsesStatus: 可用: 支持流式https://api.routemux.com/v1
  • Anthropic MessagesStatus: 可用: 支持流式https://api.routemux.com/anthropic
  • Google Vertex AIStatus: 不支持
  • OpenAI ImagesStatus: 不支持
  • OpenAI SoraStatus: 不支持

调用 ID

API 调用时用任一 ID 都可以。

RouteMux 名openai/gpt-5.4

动手试一下

把 ROUTEMUX_KEY 占位符替换为你的 API Key。 创建 →

from openai import OpenAI

client = OpenAI(
    base_url="https://api.routemux.com/v1",
    api_key="<ROUTEMUX_KEY>",
)

completion = client.chat.completions.create(
    model="openai/gpt-5.4",
    messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)
base_url: https://api.routemux.com/v1

同族其他变体

常见问题

GPT-5.4 是什么?

OpenAI GPT-5.4 — strong general model, 1M context, lower cost than 5.5.

GPT-5.4 的上下文窗口有多大?

GPT-5.4 支持最多 1M tokens 的上下文窗口,单次最多输出 128K tokens。

GPT-5.4 的 API 价格是多少?

通过 RouteMux 调用 GPT-5.4:输入 $0.25、输出 $1.5(USD / 1M tokens),低于官方定价。

如何通过 API 调用 GPT-5.4?

GPT-5.4 兼容 OpenAI 接口:把 base URL 换成 RouteMux、model 填 openai/gpt-5.4 即可,无需改代码。

GPT-5.4 支持哪些输入输出模态?

GPT-5.4 的输入模态:text, image;输出模态:text。