OpenAI
GPT-5.4
GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system.
At a glance
- Input / 1M
- $2.50
- Output / 1M
- $15
- Context
- 1.05M
- Max output
- 128K
- Intelligence
- 39
- Released
- Mar 2026
Pricing
GPT-5.4 API pricing
Per-token rates, plus what common tasks actually cost.
| Input tokensPer 1M tokens | $2.50 |
|---|---|
| Output tokensPer 1M tokens | $15 |
| Cached input (read)Per 1M tokens | $0.25 |
| Cache writePer 1M tokens | Not available |
| Long-context pricingPrompts above 272K tokens | $5 in / $22.50 out |
| Web searchPer request | $0.01 |
Chat message
2K in, 500 out
$12.50
per 1,000 requests
Coding task
30K in, 4K out
$135
per 1,000 requests
Long document summary
150K in, 2K out
$405
per 1,000 requests
Benchmarks
GPT-5.4 benchmark scores
Independent scores from Artificial Analysis. Higher is better.
Intelligence index
39
Coding index
71.1
Agentic index
Not available
Specs
Context window and capabilities
What it can read, what it can write, and which API features it supports.
- Context window
- 1.05M tokens
- Max output
- 128K tokens
- Input types
- File, Image, Text
- Output types
- Text
- Reasoning effort
- Extra high, High, Medium, Low, None
- Release date
- March 5, 2026
- Tool calling
- Structured outputs
- JSON mode
- Reasoning
- Temperature
- Stop sequences
- Deterministic seed
- Verbosity control
Compare
GPT-5.4 vs other models
See how GPT-5.4 stacks up head to head on price, benchmarks, and features.
GPT-5.4 vs GPT-5.6 Sol
OpenAI vs OpenAI
See comparisonGPT-5.4 vs Kimi K3
OpenAI vs Moonshot AI
See comparisonGPT-5.4 vs GPT-5.6 Terra
OpenAI vs OpenAI
See comparisonGPT-5.4 vs Claude Opus 4.8
OpenAI vs Anthropic
See comparisonGPT-5.4 vs Gemini 3.8 Flash
OpenAI vs Google
See comparisonGPT-5.4 vs Claude Opus 4.7
OpenAI vs Anthropic
See comparisonAlternatives
GPT-5.4 alternatives
Similar models worth considering, and where each one has the edge.
OpenAI
GPT-5.6 Sol
Moonshot AI
Kimi K3
OpenAI
GPT-5.6 Terra
Want to learn about other models? Browse all models
FAQ
Frequently asked questions
How much does GPT-5.4 cost?
GPT-5.4 costs $2.50 per 1M input tokens and $15 per 1M output tokens through the API. A typical chat message costs about $12.50 per 1,000 messages.
What is the context window of GPT-5.4?
GPT-5.4 accepts up to 1.05M tokens of input and can write up to 128K tokens in a single response.
What is the best alternative to GPT-5.4?
GPT-5.6 Sol from OpenAI is a strong alternative. It offers: 1.5x cheaper output, higher intelligence score, newer release.
Can I use GPT-5.4 alongside other models?
Yes. Shortcut Chat sends one prompt to GPT-5.4 and any other models you pick at the same time, so you can compare answers side by side.
Try GPT-5.4 next to every other model.
Use GPT-5.4 alongside all the other models. Use one at a time, or multiple together. Get the best answer from every AI.