OpenAI: GPT-5.4 Mini API pricing
$0.75 per 1M input tokens and $4.50 per 1M output tokens on OpenRouter. Context window: 400,000 tokens.
$0.75input / 1M tokens
$4.50output / 1M tokens
$0.075cached input / 1M
391Kcontext
text+image+file->textmodality
What it costs in practice
| Workload | Cost |
|---|---|
| Chatbot: 10,000 messages (1,500 in / 400 out tokens each) | $29.25 |
| RAG: 1,000 queries (8,000 in / 600 out each) | $8.70 |
| Summarize 100 long documents (50,000 in / 1,000 out each) | $4.20 |
Cross-check against the provider's list price
LiteLLM's price map lists gpt-5.4-mini (openai) at $0.75 in / $4.50 out per 1M tokens. Matches OpenRouter
Price history
No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.
Cheaper alternatives with similar context
Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| MoonshotAI: Kimi K3.1 Pro (batch) | $0.372 | $5.583 | 1M |
| Google: Gemini 3.8 Flash | $0.825 | $4.125 | 1M |
| SpaceXAI: Grok 4.3 | $1.25 | $2.50 | 977K |
| SpaceXAI: Grok 4.20 Multi-Agent | $1.25 | $2.50 | 1.9073486328125M |
| SpaceXAI: Grok 4.20 | $1.25 | $2.50 | 1.9073486328125M |
| Z.ai: GLM 5 | $1.00 | $3.20 | 200K |
| Google: Gemini 4 Hydrogen (batch) | $0.75 | $3.75 | 1M |
| Google: Gemini 3.7 Flash | $0.75 | $3.75 | 1M |
Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID openai/gpt-5.4-mini, listed Mar 17, 2026. Report an error.