GPT-5.4 mini
Language Available Full comparison ↗ openai/gpt-5.4-mini · by OpenAI
· decoder-only-transformer
Pricing — 1 offering(s)
About this offering: OpenAI's GPT-5.4 mini, a small, cost-efficient model at $0.75 input and $4.50 output per 1M tokens ($0.075 for cached input). It's now a previous-generation model: GPT-6 Luna ($0.10 / $0.50) is OpenAI's current cost-optimised option (OpenAI pricing page, checked 2026-10-11).
Input tokens
- $0.75 / 1M tokens (input) Current 2026-06-12 → present
Output tokens
- $4.50 / 1M tokens (output) Current 2026-06-12 → present
Batch
Batch input tokens
- $0.375 / 1M tokens (input) Current 2026-11-03 → present
Batch output tokens
- $2.25 / 1M tokens (output) Current 2026-11-03 → present
Showing the active price and any recorded history. Full pricing history is available via the paid API — see API docs.
See how GPT-5.4 mini fits into a cost-aware routing setup
See how →Capability profile
How GPT-5.4 mini rates across core capability dimensions, with the task-level evidence behind each rating.
OpenAI API docs (developers.openai.com): 'Our strongest mini model yet for coding, computer use, and subagents'. Qualitative vendor evidence; no numeric benchmark published in API docs.
400,000-token context window (developers.openai.com/api/docs/models/gpt-5.4-mini, live-browser-verified 2026-07-20 — this doc's earlier pass didn't check that page and left the number unrecorded).
Coding benchmarks
View the full coding benchmark leaderboard →| Benchmark | Score | Harness | Source |
|---|---|---|---|
| swe-bench-verified ↗ | 73.0% 2026-09 | mini-swe-agent | 📊 leaderboard ↗ |
| terminal-bench-2-1 | 54.7% 2026-09 | terminus-2 | 📊 leaderboard ↗ |
| terminal-bench-4-0 | 2.5% 2026-09 | mini-swe-agent | 📊 leaderboard ↗ |
| livecodebench ↗ | 81.5% 2026-09 | — | 📊 leaderboard ↗ |
Operator guidance
A previous-generation small OpenAI model at $0.75 / $4.50 per 1M tokens. For new high-volume work, GPT-6 Luna ($0.10 / $0.50) is OpenAI's current cost-optimised model; step up to GPT-6.1 Sol ($2 / $10) when a task needs more reasoning or coding depth.
Use cases
- Cost-efficient, high-throughput general tasks
- Replacement for the deprecated gpt-4o-mini / o4-mini
Limitations
- Lower reasoning/coding ceiling than GPT-5.5
- Capability ratings are qualitative, not a single cited benchmark run