GPT-5.6 is here 🎉 20% off all GPT 🎉 All July 🔥Learn more
OpenAI

OpenAI: GPT-5.4

Chat-20%
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.

Context Window
1M
Max Output Tokens
128K
Released
2026-03-05
Capabilities
VisionFunction CallingReasoningPrompt CachingWeb Search
Available Providers
AzureAzure
Supported Protocols
OpenAIopenaiAnthropicanthropic

Providers

AzureAzure
-20%
Input Tokens
$2/M
$2.5/M
Output Tokens
$12/M
$15/M
Cache Read
$0.2/M
$0.25/M
Output Image
$32/M
Web Search
$0.035/R
Protocols
OpenAIopenai/v1/chat/completions/v1/responses
Anthropicanthropic

Sign in to try OpenAI: GPT-5.4

Chat with this model right here.

Conversations live only in this page and are never stored.

Conversations are not saved — leaving or refreshing this page clears them.

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.io/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)

Uptime & Status

Benchmarks

LMArenaEvaluated as gpt-5.4

OpenAI: GPT-5.4 scores 1466 in the Overall category of the LMArena text leaderboard (style control), ranking #31 of 374 models based on 58,105 human preference votes (updated 2026-07-12).

Benchmark scores for gpt-5.4 on LMArena
CategoryArena Score95% CIRankVotes
Overall14621470#31 of 37458,105
Hard Prompts14831493#30 of 37437,873
Coding15061519#30 of 36916,064
Math14491471#38 of 3623,109
Creative Writing14251440#45 of 3729,338
Instruction Following14551467#28 of 37419,470
Chinese14831507#45 of 3443,098

Source: LMArena · CC BY 4.0 · Updated 2026-07-12 · Methodology · Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.

Frequently Asked Questions

OpenAI: GPT-5.4 on Ofox.ai costs $2.5/M per million input tokens and $15/M per million output tokens. Pay-as-you-go, no monthly fees.