GPT-5.4
openai/gpt-5.4
Overview
Chat
OpenAI's more affordable model for coding and professional work, with a 1M-token context and configurable reasoning.
Made by OpenAI · released Mar 2026
Input
Text · Images · FileOutput
Text- Context
- 1.050.000
- Input, maximum
- 922.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- Input
- Rp46.250per million tokens$2.5
- Output
- Rp277.500per million tokens$15
- Cache read
- Rp4.630per million tokens$0.25
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: Rp23.130 per million tokens
- Output: Rp138.750 per million tokens
- Cache read: Rp2.410 per million tokens
Prompts from 272.001 tokens
- Input: Rp92.520 per million tokens
- Output: Rp416.250 per million tokens
- Cache read: Rp9.270 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",
"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",
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",
messages: [{ role: "user", content: "halo" }],
});
console.log(reply.choices[0].message.content);