OpenAI

OpenAI: GPT-5.4

Chat
openai/gpt-5.4

GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system. It features a 1M+ token context window (922K input, 128K output) with support for text and image inputs, enabling high-context reasoning, coding, and multimodal analysis within the same workflow.The model delivers improved performance in coding, document understanding, tool use, and instruction following. It is designed as a strong default for both general-purpose tasks and software engineering, capable of generating production-quality code, synthesizing information across multiple sources, and executing complex multi-step workflows with fewer iterations and greater token efficiency.

1M 上下文窗口
128K 最大输出 token
发布日期: 2026-03-05
支持的协议:OpenAIopenai
可用供应商:AzureAzure
能力:视觉函数调用推理提示缓存网络搜索

定价

类型价格
输入 Token$2.5/M
输出 Token$15/M
缓存读取$0.25/M
网络搜索$0.01/R

代码示例

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-5.4",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

常见问题

OpenAI: GPT-5.4 在 Ofox.ai 上的价格为输入 $2.5/M/百万 Token,输出 $15/M/百万 Token。按量计费,无月费。

微信社群

扫码加入开发者交流群

微信社群

Discord

加入 Discord 社区

Discord

技术顾问

扫码添加技术顾问

技术顾问