OpenAI

OpenAI: GPT-5.4 Nano

Chat
openai/gpt-5.4-nano

GPT-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.

400K context window
128K max output tokens
Released: 2026-03-17
Supported Protocols:OpenAIopenai
Available Providers:AzureAzure
Capabilities:VisionFunction CallingReasoningPrompt CachingWeb Search

Pricing

TypePrice
Input Tokens$0.2/M
Output Tokens$1.25/M
Cache Read$0.02/M
Web Search$0.01/R

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)

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.

Discord

Join our Discord server

Discord โ†’