openai / text-generation API-only released 2026-03-17

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

Input / 1M
$0.75
Output / 1M
$4.50
Context
400K
AA Intelligence
24.1
Closed weights — available only as a hosted API file + image + text → text Knowledge cutoff Aug 2025 View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$0.75
input / 1M
$4.50
output / 1M
$0.075
cached input / 1M
$5.25
1M in + 1M out
:batch variant $0.38 in · $2.25 out
Context window
400,000 tokens
Max output
128,000 tokens
Providers
2
Cheapest provider
OpenAI · $0.38 / $2.25
Best throughput
—
AA Intelligence / Coding / Agentic
24.1 / 56.1 / 17.9
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $0.75 input · $4.50 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
24.1
AA Coding Index
56.1
AA Agentic Index
17.9

Providers

2 providers · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
OpenAI unknown 400K $0.38 $2.25 100% —
Azure unknown 400K $0.75 $4.50 100% —
OpenAI unknown 400K $0.75 $4.50 100% —
Azure unknown 400K $0.83 $4.95 — —
OpenAI unknown 400K $1.50 $9.00 100% —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2026-03-17
Context window
400,000 tokens
Max output
128,000 tokens
Input
file, image, text
Output
text
Knowledge cutoff
August 2025
Tokenizer
GPT
Moderated by provider
Yes
OpenRouter id
openai/gpt-5.4-mini
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.