20% off all GPT ๐ŸŽ‰ 30% off DeepSeekLearn more

OpenAI: GPT-5.4

Chat-20%
openai/gpt-5.4

GPT-5.4 is OpenAI's frontier model, unifying the Codex and GPT lines into a single system. It takes text and image input for high-context reasoning, coding, and multimodal analysis, with improved document understanding, tool use, and instruction following โ€” positioned as a strong default for both general-purpose work and software engineering, generating production-quality code and executing complex multi-step workflows with fewer iterations. Reasoning, prompt caching, and web search are supported. Context: 1M+ tokens (922K input), output: 128K. Available via OpenAI and Anthropic protocols.

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

Providers

Azureprovider.type: "azure_foundry"
-20%
Input Tokens
$2/M
$2.5/M
Output Tokens
$12/M
$15/M
Cache Read
$0.2/M
$0.25/M
Output Image
$25.6/M
$32/M
Web Search
$0.035/R
Protocols
openai/v1/chat/completions/v1/responses
anthropic

Code Examples

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)

Uptime & Status

Benchmarks

LMArena โ†—Evaluated 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
Overall1462โ€“1470#31 of 37458,105
Hard Prompts1483โ€“1493#30 of 37437,873
Coding1506โ€“1519#30 of 36916,064
Math1449โ€“1471#38 of 3623,109
Creative Writing1425โ€“1440#45 of 3729,338
Instruction Following1455โ€“1467#28 of 37419,470
Chinese1483โ€“1507#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.