OpenAI

OpenAI: GPT-5.4 Nano

Chat
openai/gpt-5.4-nano
CompareGet Started

GPT-5.4 Nano is the lightest and most cost-efficient member of the GPT-5.4 family ($0.20/M input, $1.25/M output), 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
AzureAzure
Supported Protocols
OpenAIopenaiAnthropicanthropic

Providers

AzureAzure
Input Tokens
$0.2/M
Output Tokens
$1.25/M
Cache Read
$0.02/M
Output Image
$32/M
Web Search
$0.035/R
Protocols
OpenAIopenai/v1/chat/completions/v1/responses
Anthropicanthropic

Code Examples

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

LMArenaEvaluated 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
Overall140414001408#121 of 37453,078
Hard Prompts142314191428#119 of 37434,785
Coding146114551468#102 of 36914,887
Math142714151439#84 of 3622,801
Creative Writing133713291345#159 of 3728,601
Instruction Following138813821394#127 of 37417,846
Chinese142214091435#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.