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

技術顧問

掃碼新增技術顧問

技術顧問