OpenAI: GPT-5.4 Nano
Chat-20%openai/gpt-5.4-nanoGPT-5.4 nano is the most lightweight and cost-efficient variant of the GPT-5.4 family, optimized for speed-critical and high-volume tasks. It supports text and image inputs and is designed for low-latency use cases such as classification, data extraction, ranking, and sub-agent execution.
Context Window
400K
Max Output Tokens
128K
Released
2026-03-17
Capabilities
VisionFunction CallingReasoningPrompt CachingWeb Search
Available Providers
Azure
Supported Protocols
openaianthropic
Providers
Azure
-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
$32/M
Web Search
$0.035/R
Protocols
openai
/v1/chat/completions/v1/responsesanthropic
Code Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.io/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).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1404 | 1400–1408 | #121 of 374 | 53,078 |
| Hard Prompts | 1423 | 1419–1428 | #119 of 374 | 34,785 |
| Coding | 1461 | 1455–1468 | #102 of 369 | 14,887 |
| Math | 1427 | 1415–1439 | #84 of 362 | 2,801 |
| Creative Writing | 1337 | 1329–1345 | #159 of 372 | 8,601 |
| Instruction Following | 1388 | 1382–1394 | #127 of 374 | 17,846 |
| Chinese | 1422 | 1409–1435 | #130 of 344 | 2,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.
Related Models
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.
OpenAI: GPT-5.4 Nano supports a context window of 400K tokens with max output of 128K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.io/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
OpenAI: GPT-5.4 Nano supports the following capabilities: Vision, Function Calling, Reasoning, Prompt Caching, Web Search. Access all features through the Ofox.ai unified API.