Model overview
NanoLow costVisionToolsGPT-5.4 nano is optimized for speed and cost-sensitive tasks such as classification, extraction, ranking, and lightweight agent steps. It supports text and image input, text output, structured outputs, and Responses API access.
Company: OpenAIProvider: OpenAI
Model capabilities
Input modalityT
Output modalityT
Model experience✓
Function calling✓
Structured output✓
Web search✓
Prefix completion-
Context cache✓
Batch inference✓
Fine-tuning×
Model pricing
Input$0.20/1M tokens
Input (cache hit)$0.02/1M tokens
Output$1.25/1M tokens
Input (Batch)$0.10/1M tokens
Input (Batch cache hit)$0.01/1M tokens
Output (Batch)$0.625/1M tokens
Tool call pricing
Web search Responses API$10/1K calls + model token charges
File search Responses APIUsage based
Rate limits and context
Maximum input length400K
Context length400K
Maximum output length128K
Knowledge cutoff2025-08-31
Supported endpointsResponses / Chat Completions / Batch
API reference
EndpointPOST /v1/chat/completions or POST /v1/responses
SDKOpenAI-compatible
API code examples
from openai import OpenAI client = OpenAI( api_key="$WLROUTER_API_KEY", base_url="https://api.wlrouter.com/v1" ) response = client.chat.completions.create( model="gpt-5.4-nano", messages=[ {"role": "user", "content": "Reply with one short sentence."} ], max_tokens=32 ) print(response.choices[0].message.content)