GPT-5.4 mini
Officialopenai/gpt-5.4-mini
The efficient member of the GPT-5 family, tuned for high-throughput, latency-sensitive workloads. Text + image input, 400K-token context, strong reasoning/coding/tool use at the lowest GPT-5 per-token rate.
Pricing
Source: openai_x0.10 · Verified 2026-08-02
Fast $0.15 / $0.9 /M
Cache read $0.0075/M · Cache write —/M
| Tier | Input | Cache read | Cache write | Output |
|---|---|---|---|---|
| Standard | $0.075 | $0.0075 | — | $0.45 |
| Priority | $0.15 | $0.015 | — | $0.9 |
Estimate cost
Protocols
- OpenAI Chat CompletionsStatus: Available: Streaminghttps://api.routemux.com/v1
- OpenAI ResponsesStatus: Available: Streaminghttps://api.routemux.com/v1
- Anthropic MessagesStatus: Available: Streaminghttps://api.routemux.com/anthropic
- Google Vertex AIStatus: Not supported—
- OpenAI ImagesStatus: Not supported—
- OpenAI SoraStatus: Not supported—
Call IDs
Use either ID to call this model via the API.
openai/gpt-5.4-miniTry it
Replace the ROUTEMUX_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.routemux.com/v1",
api_key="<ROUTEMUX_KEY>",
)
completion = client.chat.completions.create(
model="openai/gpt-5.4-mini",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)Other variants in this family
OpenAI's flagship GPT-5.6 for the hardest reasoning, coding, and agentic work.
$0.5/M↓ · $3/M↑
Balanced GPT-5.6 quality and cost for production workloads.
$0.2/M↓ · $1.2/M↑
The most efficient GPT-5.6 for high-volume and latency-sensitive work.
$0.02/M↓ · $0.12/M↑
OpenAI GPT-5.4 — strong general model, 1M context, lower cost than 5.5.
$0.25/M↓ · $1.5/M↑
OpenAI GPT-5.5 — flagship, 1M context, top reasoning & agentic coding.
$0.5/M↓ · $3/M↑
Frequently asked questions
›What is GPT-5.4 mini?
OpenAI GPT-5.4 mini — fast, cheapest GPT-5 text route.
›How large is the context window of GPT-5.4 mini?
GPT-5.4 mini supports a context window of up to 400K tokens, with up to 128K output tokens per request.
›How much does the GPT-5.4 mini API cost?
Through RouteMux, GPT-5.4 mini costs $0.075 for input and $0.45 for output (USD per 1M tokens), below the official list price.
›How do I call GPT-5.4 mini via API?
GPT-5.4 mini is OpenAI-compatible: point your base URL at RouteMux and set the model field to openai/gpt-5.4-mini — no code changes needed.
›Which input and output modalities does GPT-5.4 mini support?
GPT-5.4 mini accepts text, image as input and produces text as output.