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 最大出力トークン
リリース日: 2026-03-05
対応プロトコル:openai
利用可能なプロバイダー:Azure
機能:VisionFunction Calling推論プロンプトキャッシュWeb検索
料金
| タイプ | 料金 |
|---|---|
| 入力トークン | $2.5/M |
| 出力トークン | $15/M |
| キャッシュ読込 | $0.25/M |
| Web検索 | $0.01/R |
コード例
from openai import OpenAIclient = 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)
関連モデル
よくある質問
Ofox.aiでのOpenAI: GPT-5.4の料金は、入力100万トークンあたり$2.5/M、出力100万トークンあたり$15/Mです。従量課金制、月額料金なし。
OpenAI: GPT-5.4は1Mトークンのコンテキストウィンドウと最大128Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.ai/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
OpenAI: GPT-5.4は以下の機能に対応:Vision, Function Calling, 推論, プロンプトキャッシュ, Web検索。Ofox.ai統合APIですべての機能にアクセスできます。