GPT-5.4 nano until 2027-03-31
openai/gpt-5.4-nano
Overview
Chat
Low cost
OpenAI's cheapest GPT-5.4-class model, for simple high-volume tasks such as classification, extraction, ranking and sub-agents.
Made by OpenAI · released Mar 2026
Input
Text · Images · FileOutput
Text- Context
- 400.000
- Input, maximum
- 272.000
- Output, maximum
- 128.000
- Default output
- 4.096
- Reasoning Not supported
- Tool calling Supported
- Prompt caching Supported
- Automatic fallback routes Not supported
Routes and pricing
Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.
OpenAI
primary until 2027-03-31- Input
- Rp3.700per million tokens$0.2
- Output
- Rp23.130per million tokens$1.25
- Cache read
- Rp370per million tokens$0.02
Per-part units
- Max tokens per input image
- 36.000 OpenAI images guide, 2026-09-07
- Tokens per input image, low detail
- 308 OpenAI images guide, 2026-09-07
- Tokens per document page
- 40.000 OpenAI PDF guide, 2026-09-07
batch
- Input: Rp1.850 per million tokens
- Output: Rp11.570 per million tokens
- Cache read: Rp190 per million tokens
Today's reference rate: Rp18.500/USD
Prices exclude the 5,5% service fee
Data and privacy
OpenAI OpenAI, Your data
- Used to train models
- No
- Retention
- Up to 30 days for abuse monitoring, unless the law requires longer.
- Processing location
- Not stated; storing data in a chosen region is a separate opt-in.
- At indoRouter
- We don't store your prompts or responses. Files you upload, batches, and responses you send with
store: trueare kept encrypted for up to 30 days.
Code samples
Use this model ID with any OpenAI SDK. The base URL is the same for every model.
curl https://api.indorouter.ai/v1/chat/completions \
-H "authorization: Bearer $INDOROUTER_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "openai/gpt-5.4-nano",
"messages": [{"role": "user", "content": "halo"}]}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.indorouter.ai/v1",
api_key=os.environ["INDOROUTER_API_KEY"],
)
reply = client.chat.completions.create(
model="openai/gpt-5.4-nano",
messages=[{"role": "user", "content": "halo"}],
)
print(reply.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.indorouter.ai/v1",
apiKey: process.env.INDOROUTER_API_KEY,
});
const reply = await client.chat.completions.create({
model: "openai/gpt-5.4-nano",
messages: [{ role: "user", content: "halo" }],
});
console.log(reply.choices[0].message.content);