OpenAI · Released Mar 5, 2026
GPT-5.4
GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system. It features a 1M+ token context window (922K input, 128K output) with support for...
- Top 5%Terminal-Bench
- Top 14%GPQA Diamond
- Top 16%CritPt
- Top 18%SciCode
- Released
- Mar 5 2026
- Context window
- 1.05M 128K out
- Input / 1M tokens
- $2.50 from Free
- Output / 1M tokens
- $15.00 from Free
Where to run it
46 providers compared
Free to try on UnoRouter — free endpoints are often limited-time and rate-limited. Included in GitLab Duo. Cheapest: Xpersona at $0.75 / $6.00 per 1M input / output tokens — 82% less than the priciest option.
| Provider | Input | Output | Cache read | Context | Max output | Uptime | vs. best |
|---|---|---|---|---|---|---|---|
| UnoRouterfree · may be limited-time | Free | Free | — | 1.05M | 128K | — | Free |
| GitLab Duosubscription plan | Plan | Plan | — | 1.05M | 128K | — | Plan |
| Xpersona | $0.75 | $6.00 | $0.075 | 1.05M | 128K | — | Cheapest |
| OpenAI | $1.25 | $7.50 | $0.13 | 1.05M | 128K | 66.3%24h | +36% |
| UnoRouter | $1.80 | $10.80 | — | 1.05M | 128K | — | +96% |
| Poe | $2.27 | $13.64 | $0.23 | 1.05M | 128K | — | +148% |
| Azure | $2.50 | $15.00 | $0.25 | 1.05M | 128K | 100%24h | +173% |
| OpenAI | $2.50 | $15.00 | $0.25 | 1.05M | 128K | 100%24h | +173% |
| NanoGPT | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Cloudflare AI Gateway | $2.50 | $15.00 | $0.25 | 1M | 128K | — | +173% |
| Venice AI | $2.50 | $15.00 | $0.25 | 1M | 131K | — | +173% |
| Snowflake Cortex | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Kilo Gateway | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Vercel AI Gateway | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| LLM Gateway | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| FreeModel | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| DaoXE | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Databricks | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Pioneer | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| AI-ROUTER | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| SAP AI Core | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| AIHubMix | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| 302.AI | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| DigitalOcean | $2.50 | $15.00 | $0.25 | 400K | 128K | — | +173% |
| ZenMux | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| GitHub Copilot | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Perplexity Agent | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Prime Inference | $2.50 | $15.00 | — | 1.05M | 128K | — | +173% |
| Neon | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Azure Cognitive Services | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Vivgrid | $2.50 | $15.00 | $0.25 | 400K | 128K | — | +173% |
| Abacus | $2.50 | $15.00 | $0.25 | 400K | 128K | — | +173% |
| CrossModel | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| DevPass (LLM Gateway) | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| CommandCode | $2.50 | $15.00 | $0.25 | 400K | 128K | — | +173% |
| Merge Gateway | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Ofox | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| LowRouter | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Impossibl | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| OrcaRouter | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| OpenCode | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| NEAR AI Cloud | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Eden AI | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Opper | $2.50 | $15.00 | $0.25 | 1.05M | 128K | — | +173% |
| Cortecs | $2.90 | $15.45 | $0.24 | 1.05M | 128K | — | +193% |
| Azureeu | $2.75 | $16.50 | $0.28 | 1.05M | 128K | 100%24h | +200% |
| Azureus | $2.75 | $16.50 | $0.28 | 1.05M | 128K | — | +200% |
| Amazon Bedrockus-east-1 | $2.75 | $16.50 | $0.28 | 1.05M | 128K | — | +200% |
| Requesty | $2.75 | $16.50 | $0.28 | 1.05M | 128K | — | +200% |
| AI/ML API | $3.25 | $19.50 | $0.33 | 1.05M | 128K | — | +255% |
| OpenAIfast | $5.00 | $30.00 | $0.50 | 1.05M | 128K | — | +445% |
Value
Price vs. performance
GPT-5.4 Other OpenAI Other labs Value frontier · GPQA Diamond vs. input price per 1M tokens (log scale) · Drag to pan, pinch or Ctrl + scroll to zoom, double-click to zoom in.
Benchmarks
27 benchmark scores
| Benchmark | Score | Rank | Leader |
|---|---|---|---|
| DeepSWESoftware engineering · Original long-horizon tasks across active open-source repos | 51.8% | #20of 26 | GPT-6 Astra74.1% |
| SWE-bench VerifiedSoftware engineering · Real GitHub issues fixed in Python repos | 76.9% | #8of 32 | Claude Opus 4.783.5% |
| Terminal-BenchSoftware engineering · Tasks completed with the programs in a real terminal (best agent) | 81.8% | #2of 40 | GPT-5.584.7% |
| MirrorCodeSoftware engineering · Reimplement whole programs end-to-end without the source | 15.6% | #8of 10 | Claude Opus 5.577.4% |
| GBAEvalSoftware engineering · Build a Game Boy Advance emulator from scratch | 45.1% | #10of 23 | Claude Opus 579.6% |
| GSOSoftware engineering · Optimize real code to make it significantly faster | 31.4% | #10of 27 | Claude Fable 5.188.2% |
| SciCodeSoftware engineering · Research-coding problems from the natural sciences | 56.6% | #18of 102 | Claude Opus 5.566.9% |
| METR time horizonSoftware engineering · Length of software task solved more often than not | 5.7 h | #5of 23 | Claude Opus 4.612 h |
| APEX-AgentsAgents & computer use · Long professional tasks in banking, consulting and law | 52.4% | #24of 51 | Gemini 4 Argon82.4% |
| Vending-Bench 2Agents & computer use · Run a simulated vending business for a year (final balance) | $6,144 | #20of 61 | GPT-6 Astra$15,515 |
| PostTrainBenchAgents & computer use · Post-train small models under a fixed compute budget | 19.0% | #11of 11 | Claude Fable 541.8% |
| DeepResearch BenchWriting & content · Find and synthesize information from the web | 35.1% | #20of 21 | Claude Opus 4.655.3% |
| SimpleQA VerifiedWriting & content · Factual accuracy on 1,000 short questions | 45.1% | #36of 79 | Gemini 4 Argon76.0% |
| WebDev ArenaDesign & visual · People vote on which model builds the better website (Elo) | 1463 | #52of 90 | Claude Opus 5.51820 |
| Blueprint-Bench 2Design & visual · Turn apartment photos into 2D floor plans | 27.1% | #21of 32 | Gemini 4 Argon54.4% |
| Furniture AssemblyDesign & visual · Spot mistakes in photos of IKEA builds | 37.5% | #18of 34 | Claude Opus 5.583.3% |
| GPQA DiamondReasoning & knowledge · PhD-level biology, chemistry and physics questions | 93.3% | #16of 122 | Gemini 4 Argon96.4% |
| Humanity's Last ExamReasoning & knowledge · Expert questions across 100+ subjects | 36.2% | #7of 32 | GPT-6 Astra54.8% |
| ARC-AGI-2Reasoning & knowledge · Few-shot abstract reasoning on grid puzzles | 74.0% | #18of 75 | GPT-6 Astra95.0% |
| ARC-AGI-1Reasoning & knowledge · Pattern induction from input–output examples | 93.7% | #21of 75 | Gemini 4 Argon98.5% |
| CritPtReasoning & knowledge · Open-ended, research-level physics problems | 23.4% | #17of 111 | GPT-5.6 Sol32.3% |
| Chess PuzzlesReasoning & knowledge · Find the single best move in 100 new puzzles | 48.0% | #17of 83 | GPT-6 Astra76.0% |
| LMCAReasoning & knowledge · Judge the quality of conceptual arguments like experts | 52.0% | #22of 123 | Claude Sonnet 5.568.3% |
| FrontierMathMaths · Expert-written problems, undergrad to early research (tiers 1–3) | 78.6% | #18of 87 | GPT-6.1 Sol93.7% |
| FrontierMath Tier 4Maths · Exceptionally hard research-level problems | 49.0% | #18of 64 | GPT-6.1 Sol100.0% |
| ProofBenchMaths · Graduate maths proofs verified in Lean 4 | 56.0% | #24of 70 | Claude Sonnet 5.5100.0% |
| OTIS Mock AIMEMaths · Competition-style problems harder than MATH Level 5 | 97.8% | #27of 120 | Gemini 4 Argon100.0% |
Specs
Details
- Model ID
openai/gpt-5.4- Developer
- OpenAI
- Release date
- Mar 5, 2026 ·
- Context window
- 1,050,000 tokens
- Max output
- 128,000 tokens
- API price
- $2.50 / $15.00 per 1M input / output tokens
- Providers
- 46
- Input types
- text, image, file
- Reasoning
- Yes
- Tool calling
- Yes
- Open weights
- No
- Free tier
- No
Release date and prices from OpenRouter's catalog; providers from OpenRouter and models.dev. Buying directly from a provider can cost a little differently. Speed, latency and uptime are measured on OpenRouter only; uptime is the share of OpenRouter requests each provider served over the last day. Benchmark scores are the best result per benchmark from Epoch AI, licensed CC BY 4.0. Rank counts every model tracked here with a score.