GPT-5.4 Mini

openai/gpt-5.4-mini
VisionToolsJSONReasoning
by OpenAI · 2026-03-17

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,...

ctx400K tokens
Max output128K
Inputfile + image + text
Outputtext
p50 TTFT1.57 s
INPUT$0.75/ 1M tokens
OUTPUT$4.50/ 1M tokens
p50 TTFT1.57 s7d
p95 TTFT5.00 s7d
TRAFFIC1.5Mtokens / 7d

GPT‑5.4 Mini is a compact language model from OpenAI that balances capability with lower computational overhead. It supports a context window of 400,000 tokens and a maximum output of 128,000 tokens,…

What is GPT‑5.4 Mini?

Who should use GPT‑5.4 Mini?

What input modalities does it support?

How does the context window work in practice?

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://api.orcarouter.ai/v1
from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="openai/gpt-5.4-mini",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

  • include_reasoning
  • max_completion_tokens
  • max_tokens
  • reasoning
  • response_format
  • seed
  • stream
  • structured_outputs
  • tool_choice
  • tools

Pricing

Input / 1M tokens$0.750
Output / 1M tokens$4.50
Cache read / 1M$0.075
CurrencyUSD

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $18.75 · With prompt caching $16.39

Estimate based on list price

Token & cost estimator

Input tokens: 20Cost per request: $0.002265

Estimate only — actual token counts depend on the provider's tokenizer.

Performance

p50 TTFT
1.57 s
Output speed
223 tok/s
p95 TTFT
5.00 s
Error rate
0%

Public benchmarks

48.5
AA Coding
Better than 64% of models compared
#38 of 106
48.5
AA Intelligence
Better than 63% of models compared
#41 of 110
49.5
AA Math
Better than 25% of models compared
#61 of 81
GPQA Diamond
44.5 index
Humanity's Last Exam
26.6
IFBench
73.3
Long-Context Recall
69.3
MMLU-Pro
58.5 index
SciCode
49.9
TerminalBench Hard
52.3
τ²-Bench
34.5 index
Source: artificialanalysis.ai

How it compares

GPT-5.4 MiniGPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$0.75$21.00$60.00$5.00
Output $/M$4.50$168.00$270.00$30.00
Context400K400K1.1M
Quality8/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost per token for GPT‑5.4 Mini on OrcaRouter?
OrcaRouter bills at provider rate with zero markup: $0.75 per 1M input tokens and $4.50 per 1M output tokens. Input tokens include file and image tokens; output tokens count all generated text.
What is the context window and max output?
GPT‑5.4 Mini supports a context window of 400,000 tokens and a maximum output of 128,000 tokens. The context includes both input and output tokens.
What are the key strengths of GPT‑5.4 Mini?
Strengths include a large 400K context, high reasoning performance (GPQA Diamond 87.5), multimodal input (file, image, text), and a high output limit (128K). It balances capability and cost.
How does GPT‑5.4 Mini compare to GPT‑4o?
GPT‑5.4 Mini has a larger context window (400K vs 128K) and higher max output (128K vs 4K‑16K typical). Pricing is different: $0.75/$4.50 vs GPT‑4o's $2.50/$10 per 1M tokens. Benchmarks favour GPT‑5.4 Mini on reasoning.
Does OrcaRouter store or access my data when using this model?
OrcaRouter passes requests directly to OpenAI without caching or storing content beyond what is necessary for routing and billing. Refer to OrcaRouter's privacy policy for details. OpenAI's data handling policies apply.
How do I call GPT‑5.4 Mini via an OpenAI‑compatible API?
Set base_url to https://api.orcarouter.ai/v1, use model ID "openai/gpt-5.4-mini", and provide your OrcaRouter API key. All standard OpenAI chat completion parameters work. A Python example is available in the API section.
What is the latency for GPT‑5.4 Mini?
Latency depends on input/output size and OpenAI's infrastructure. For short prompts (10K in, 500 out) expect under 5 seconds. For long outputs, streaming reduces perceived latency. OrcaRouter adds negligible overhead (<50ms).
Can I use GPT‑5.4 Mini for image understanding?
Yes, it accepts image and file inputs alongside text. Image tokens are counted according to OpenAI's tokenisation rules. The model can describe, analyse, or answer questions about visual content.

Embed this badge

OpenAI: GPT-5.4 Mini$0.75/M in1571ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-5.4-mini" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-5.4-mini.svg" alt="OpenAI: GPT-5.4 Mini on OrcaRouter" /> </a>
Markdown [![OpenAI: GPT-5.4 Mini](https://www.orcarouter.ai/embed/openai/gpt-5.4-mini.svg)](https://www.orcarouter.ai/models/openai/gpt-5.4-mini)

Model card as data

GET /api/public/models/openai/gpt-5.4-miniOpen
Machine-readable:/llms.txt/llms-full.txt