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

OpenAI: GPT-5.4 Nano

Chat-20%
openai/gpt-5.4-nano

GPT-5.4 Nano is the lightest and most cost-efficient member of the GPT-5.4 family, released on 2026-03-17 and optimized for speed-critical, high-volume tasks such as classification, data extraction, ranking, and sub-agent execution. It accepts text and image input and supports reasoning, tool use (function calling), prompt caching, and web search. Context: 400K tokens, output: 128K. Available via OpenAI and Anthropic protocols.

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

Providers

Azureprovider.type: "azure_foundry"
-20%
Input Tokens
$0.16/M
$0.2/M
Output Tokens
$1/M
$1.25/M
Cache Read
$0.016/M
$0.02/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-nano",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Uptime & Status

Benchmarks

LMArena โ†—Evaluated as gpt-5.4-nano-high

OpenAI: GPT-5.4 Nano scores 1404 in the Overall category of the LMArena text leaderboard (style control), ranking #121 of 374 models based on 53,078 human preference votes (updated 2026-07-12).

Benchmark scores for gpt-5.4-nano-high on LMArena
CategoryArena Score95% CIRankVotes
Overall14041400โ€“1408#121 of 37453,078
Hard Prompts14231419โ€“1428#119 of 37434,785
Coding14611455โ€“1468#102 of 36914,887
Math14271415โ€“1439#84 of 3622,801
Creative Writing13371329โ€“1345#159 of 3728,601
Instruction Following13881382โ€“1394#127 of 37417,846
Chinese14221409โ€“1435#130 of 3442,723

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 Nano on Ofox.ai costs $0.2/M per million input tokens and $1.25/M per million output tokens. Pay-as-you-go, no monthly fees.