GPT-5.4-Mini runs at 18% off on API Token Router.
OpenAI: GPT-5.4-Mini
GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for high-throughput workloads. It supports text and image inputs with strong performance across reasoning, coding, and tool use, while reducing latency and cost for large-scale deployments. The model is designed for production environments that require a balance of capability and efficiency, making it well suited for chat applications, coding assistants, and agent workflows that operate at scale. GPT-5.4 mini delivers reliable instruction following, solid multi-step reasoning, and consistent performance across diverse tasks with improved cost efficiency.
Modalities
Price (in / out)
18% off$0.618 / $3.708$0.75 / $4.5per 1M
Context
1M
Released
Mar 17, 2026
Call the GPT-5.4-Mini API
Model ID gpt-5.4-mini · replace <ATR_API_KEY> with your API key
OpenAI-compatible
curl https://api.apitokenrouter.com/v1/chat/completions \
-H "Authorization: Bearer <ATR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.4-mini","messages":[{"role":"user","content":"Hello"}]}'Providers
API Token Router routes by health and cost within the discount range and provider list you configured. When one returns an error we fall through to the next best — you don't pick a provider in the request. Configure discount range
Need a specific set of providers?
| Provider | Context | Input | Output | Cache | Latency | Throughput | Uptime | No training |
|---|---|---|---|---|---|---|---|---|
| OpenAI | 1M | $0.75$0.618 | $4.5$3.708 | $0.075$0.0618 | — | — | — | No training |
Uptime
API Token Router continuously probes every provider and falls through to the next best one on error.
Uptime (24h)
—
Uptime (3d)
—
Uptime, last 3 days
—
Uptime, last 24 hours
One line per upstream provider, taking the best success rate among that provider's channels. The API Token Router line counts only the final attempt of each request — the end-to-end result after all fallbacks.
AVAILABILITY · LAST 24H · API TOKEN ROUTER GATEWAY
Data security
API Token Router does not use your data to train models.
For the full data-security policy, learn more.
Need to pick your own providers? .
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.apitokenrouter.com/v1", # the only line that changes
api_key="<ATR_API_KEY>",
)
response = client.chat.completions.create(
model="gpt-5.4-mini",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Endpoint: https://api.apitokenrouter.com/v1
About GPT-5.4-Mini
GPT-5.4-Mini is a OpenAI model. On API Token Router its model ID is gpt-5.4-mini, and the same API Token Router API key works for it and every other model. Setup steps are in the API docs.
- Model ID
gpt-5.4-mini- Provider
- OpenAI
- Context window
- 1M tokens
- Official list price
- $0.75 input / $4.50 output per 1M tokens
- Released
- Mar 17, 2026
More OpenAI models
- GPT 6.2 Astra
- GPT 6.2 Astra (Fast)
- GPT 6.2 Sol
- GPT 6.2 Sol (Fast)
- GPT Image 2.6 Flare 4K Upscale
- GPT Image 2.6 Sunburst 4K Upscale
- GPT Image 2.6 Sunburst
- GPT Image 2.6 Flare
- GPT 6.1 Terra
- GPT 6.1 Sol
- GPT 6.1 Sol (Fast)
- GPT-6 Sol
Similar-priced models
- DeepSeek V4 Pro 260425 $1.74 / $3.48
- Doubao Seed 2.1 Pro $0.86 / $4.29
- Qwen4 Max $1.41 / $4.24
- GLM-5.3 $1.40 / $4.40
- GLM-5.2 $1.40 / $4.40
- Claude Haiku 4.5 $1 / $5
Use the GPT-5.4-Mini API
Point the base URL at API Token Router and use gpt-5.4-mini as the model name; nothing else changes. Python example:
from openai import OpenAI
client = OpenAI(
base_url="https://api.apitokenrouter.com/v1", # the only line that changes
api_key="<ATR_API_KEY>",
)
response = client.chat.completions.create(
model="gpt-5.4-mini",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Use GPT-5.4-Mini in Codex / OpenCode
Codex
# ~/.codex/config.toml
model_provider = "apitokenrouter"
model = "gpt-5.4-mini"
[model_providers.apitokenrouter]
name = "API Token Router"
base_url = "https://api.apitokenrouter.com/v1"
env_key = "OPENAI_API_KEY"
wire_api = "responses"
# export OPENAI_API_KEY=<your API Token Router API key>OpenCode
OpenCode → Settings → Providers → Custom provider
Provider ID: apitokenrouter
Base URL: https://api.apitokenrouter.com/v1
API key: <your API Token Router API key>
Model ID: gpt-5.4-miniGPT-5.4-Mini guides
- GPT-6.2 Astra Is Out: Pricing at $8 / $40 and How to Use It in Codex
- GPT-6.2 Sol Is Live at $2 / $10: How to Use It in Codex
- Switching to GPT-6.2: Codex, the OpenAI SDK and Claude Code From GPT-6 Astra (2026)
- Codex or ChatGPT Account Deactivated? How to Keep Using Codex With a Pay-As-You-Go API Key
- GPT Image 2.6 API: Sunburst vs Flare, GIF and SVG Output, Complexity and Pricing (2026)
- GPT Image 2.6 vs Nano Banana 2.1, Nano Banana Pro, Seedream 5.0 and Qwen Image 3.0: Which Image API to Use (2026)
GPT-5.4-Mini FAQ
- What is the GPT-5.4-Mini API model ID?
- The model ID is gpt-5.4-mini. The OpenAI-compatible base URL is https://api.apitokenrouter.com/v1.
- How do I get a GPT-5.4-Mini API key?
- You don't need a OpenAI account. Sign up for API Token Router, create a key (sk-atr-…) under API Keys in the dashboard, top up from $5, and call gpt-5.4-mini — the same key also works for every other model. Create an API key.
- How large is the GPT-5.4-Mini context window?
- GPT-5.4-Mini has a 1M-token context window.
- How much does the GPT-5.4-Mini API cost?
- The official list price of GPT-5.4-Mini is $0.75 input / $4.50 output per 1M tokens. API Token Router bills per use with no monthly fee; see the price table on this page for the current discounted price.
- How do I pay for the GPT-5.4-Mini API?
- New accounts start with a $0 balance. Top up from $5 by card in the API Token Router dashboard, then usage is deducted per request, with no subscription. Top up.
- Can I use GPT-5.4-Mini from Russia?
- Yes. API Token Router works from Russia without a VPN, and the Russian version of the site lets you pay in rubles with SBP, SberPay, T-Bank or YooMoney. GPT-5.4-Mini на русском.
- Can I use GPT-5.4-Mini in Codex?
- Yes. Add a API Token Router model provider to ~/.codex/config.toml (base_url = https://api.apitokenrouter.com/v1, wire_api = responses) and set model to gpt-5.4-mini. Full config: Codex setup.
- Can I pay for the GPT-5.4-Mini API with USDT?
- Yes. In the top-up dialog, click "Pay with crypto" and send USDT, USDC or ETH from Binance, OKX or any wallet. The minimum is $5 and no browser extension is needed. Step by step: how to pay for the API with USDT.