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 text and image inputs, enabling high-context reasoning, coding, and multimodal analysis within the same workflow.
The model delivers improved performance in coding, document understanding, tool use, and instruction following. It is designed as a strong default for both general-purpose tasks and software engineering, capable of generating production-quality code, synthesizing information across multiple sources, and executing complex multi-step workflows with fewer iterations and greater token efficiency.
Providers
Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).
| $2.50 | $15.00 | $0.250 | 1.74s | 50 tok/s | ||
| $2.50 | $15.00 | $0.250 | 4.47s | 80 tok/s | ||
Not used in Standard routing:Why these endpoints are not used | ||||||
Flex | $1.25 | $7.50 | $0.125 | 1.64s | 18 tok/s | |
| $2.75 | $16.50 | $0.275 | -- | -- | ||
| $2.75 | $16.50 | $0.275 | 0.64s | 72 tok/s | ||
| $2.75 | $16.50 | $0.275 | 2.99s | 66 tok/s | ||
Fast | $5.00 | $30.00 | $0.500 | -- | -- | |
- Input $2.50 / Output $15.0050 tok/s100.00% uptime
- Input $2.50 / Output $15.0080 tok/s100.00% uptime
- Not used in Standard routing:Why these endpoints are not used
- Input $1.25 / Output $7.5018 tok/s99.61% uptimeFlex
- Input $2.75 / Output $16.50-- tok/s100.00% uptime
- Input $2.75 / Output $16.5072 tok/s100.00% uptime
- Input $2.75 / Output $16.5066 tok/s-- uptime
- Input $5.00 / Output $30.00-- tok/s100.00% uptimeFast
Pricing
The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.
Weighted average
GPT-5.4 — Price history
| $1.044 | $15.11 | 66.3% | 93.5% | ||
| $1.504 | $15.03 | 52.2% | 4.5% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
Flex | $0.823 | $7.49 | 38.0% | 0.3% | |
| $2.070 | $16.50 | 27.5% | 0.6% | ||
| $2.174 | $16.50 | 23.3% | 0.8% | ||
| $2.358 | $16.50 | 15.8% | 0.3% | ||
Fast | $3.357 | $30.00 | 36.5% | 0.0% | |
- Effective in $1.044 / Effective out $15.11Token share93.5%
- Effective in $1.504 / Effective out $15.03Token share4.5%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.823 / Effective out $7.49FlexToken share0.3%
- Effective in $2.070 / Effective out $16.50Token share0.6%
- Effective in $2.174 / Effective out $16.50Token share0.8%
- Effective in $2.358 / Effective out $16.50Token share0.3%
- Effective in $3.357 / Effective out $30.00FastToken share0.0%
Performance
Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).
P50, best across providers
P50, best provider
Uptime
Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.
Availability over the last 3 days
Last 72 hoursAvailability over the last 24 hours
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.
Benchmarks
Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.
| Source | Benchmark | Score |
|---|---|---|
| Artificial Analysis | GPT-5.4 (Xhigh) Coding Index | 71.1 |
| Artificial Analysis | GPT-5.4 (Xhigh) GPQA Diamond | 92.0% |
| Artificial Analysis | GPT-5.4 (Xhigh) HLE | 43.7% |
| Artificial Analysis | GPT-5.4 (Xhigh) IFBench | 73.9% |
| Artificial Analysis | GPT-5.4 (Xhigh) τ²-Bench Telecom | 87.1% |
| Artificial Analysis | GPT-5.4 (Xhigh) AA-LCR | 82.0% |
| Artificial Analysis | GPT-5.4 (Xhigh) τ-Bench Banking | 39.6% |
| Artificial Analysis | GPT-5.4 (Xhigh) GDPval-AA | 37.8% |
| Artificial Analysis | GPT-5.4 (Xhigh) CritPt | 23.4% |
| Artificial Analysis | GPT-5.4 (Xhigh) Terminal-Bench Hard | 57.6% |
| Artificial Analysis | GPT-5.4 (Xhigh) Terminal-Bench 2.1 | 78.3% |
| Artificial Analysis | GPT-5.4 (Low) GPQA Diamond | 87.1% |
| Artificial Analysis | GPT-5.4 (Low) HLE | 30.8% |
| Artificial Analysis | GPT-5.4 (Low) IFBench | 65.9% |
| Artificial Analysis | GPT-5.4 (Low) τ²-Bench Telecom | 74.6% |
| Artificial Analysis | GPT-5.4 (Low) AA-LCR | 76.7% |
| Artificial Analysis | GPT-5.4 (Low) CritPt | 7.4% |
| Artificial Analysis | GPT-5.4 (Low) Terminal-Bench Hard | 43.2% |
| Artificial Analysis | GPT-5.4 (Non-reasoning) GPQA Diamond | 74.8% |
| Artificial Analysis | GPT-5.4 (Non-reasoning) HLE | 11.3% |
| Artificial Analysis | GPT-5.4 (Non-reasoning) IFBench | 48.4% |
| Artificial Analysis | GPT-5.4 (Non-reasoning) τ²-Bench Telecom | 36.0% |
| Artificial Analysis | GPT-5.4 (Non-reasoning) AA-LCR | 58.3% |
| Artificial Analysis | GPT-5.4 (Non-reasoning) CritPt | 0.6% |
| Artificial Analysis | GPT-5.4 (Non-reasoning) Terminal-Bench Hard | 37.9% |
| Design Arena | GPT-5.4 (Medium) Models Arena 3D Elo | 1080 |
| Design Arena | GPT-5.4 (Medium) Models Arena Asciiart Elo | 1194 |
| Design Arena | GPT-5.4 (Medium) Models Arena Code Categories Elo | 1199 |
| Design Arena | GPT-5.4 (Medium) Models Arena Data Visualization Elo | 1233 |
| Design Arena | GPT-5.4 (Medium) Models Arena Game Development Elo | 1228 |
| Design Arena | GPT-5.4 (Medium) Models Arena SVG Elo | 1186 |
| Design Arena | GPT-5.4 (Medium) Models Arena UI Component Elo | 1231 |
| Design Arena | GPT-5.4 (Medium) Models Arena Website Elo | 1207 |
| Vals AI | GPT 5.4 (xhigh) AIME | 96.7% |
| Vals AI | GPT 5.4 (xhigh) CaseLaw v2 | 63.8% |
| Vals AI | GPT 5.4 (xhigh) Code Migration | 35.0% |
| Vals AI | GPT 5.4 (xhigh) CorpFin v2 | 65.3% |
| Vals AI | GPT 5.4 (xhigh) Finance Agent v1.1 | 57.2% |
| Vals AI | GPT 5.4 (xhigh) GPQA Diamond | 91.7% |
| Vals AI | GPT 5.4 (xhigh) Harvey's Legal Agent Benchmark v1 | 0.0% |
| Vals AI | GPT 5.4 (xhigh) IOI v1 | 67.8% |
| Vals AI | GPT 5.4 (xhigh) LiveCodeBench | 84.1% |
| Vals AI | GPT 5.4 (xhigh) LegalBench | 86.0% |
| Vals AI | GPT 5.4 (xhigh) MedCode | 41.3% |
| Vals AI | GPT 5.4 (xhigh) MedQA | 96.1% |
| Vals AI | GPT 5.4 (xhigh) MedScribe | 77.5% |
| Vals AI | GPT 5.4 (xhigh) MMLU Pro | 87.5% |
| Vals AI | GPT 5.4 (xhigh) MMMU Pro | 87.5% |
| Vals AI | GPT 5.4 (xhigh) MortgageTax | 68.3% |
| Vals AI | GPT 5.4 (xhigh) ProgramBench | 0.0% |
| Vals AI | GPT 5.4 (xhigh) ProofBench v1 | 56.0% |
| Vals AI | GPT 5.4 (xhigh) SAGE v1 | 43.3% |
| Vals AI | GPT 5.4 (xhigh) SkillsBench | 51.7% |
| Vals AI | GPT 5.4 (xhigh) SWE-bench | 78.2% |
| Vals AI | GPT 5.4 (xhigh) TaxEval v2 | 74.0% |
| Vals AI | GPT 5.4 (xhigh) Terminal-Bench 2.0 | 58.4% |
| Vals AI | GPT 5.4 (xhigh) Vals Index | 66.1% |
| Vals AI | GPT 5.4 (xhigh) Vals Multimodal Index | 65.2% |
| Vals AI | GPT 5.4 (xhigh) Vibe Code Bench v1.1 | 67.4% |
Apps
Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.
Activity
Token volume and request traffic to this model over time.
API
Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.
Available through EU in-region routing
OpenAI: GPT-5.4 is available through EU in-region routing. Requests sent to eu.openrouter.ai are decrypted in the EU and routed only to shared provider endpoints in Europe (the EU/EEA, the UK, and Switzerland).
- Providers in Europe
- Azure
- Prices in Europe
- Azure: $2.75/M tokens input, $16.50/M tokens output
- Base URL
https://eu.openrouter.ai/api/v1- Plan
- Requires Business or Enterprise. Self-serve on Business: no contract, no monthly minimum. OpenRouter Business for EU in-region routing
Fails closed: if no shared provider endpoint in Europe is available, the request errors instead of leaving the region. Requests served by your own BYOK key go to your deployment’s region, which you control. In-region routing docs
Documentation
Guides, cookbooks, blog posts, and tools for building with OpenAI: GPT-5.4 on OpenRouter.
Frequently asked questions
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 text and image inputs, enabling high-context reasoning, coding, and multimodal analysis within the same workflow.
The GPT-5.4 documentation on OpenRouter includes the GPT-5.4 Migration Guide cookbook. The quickstart covers API keys and your first request, and the API reference lists every parameter.
GPT-5.4 costs $2.50/M input tokens and $15.00/M output tokens, with separate rates for Cache Read at $0.25/M tokens.
GPT-5.4 has a 1,050,000 token context window. It supports up to 128,000 completion tokens.
Yes. GPT-5.4 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
GPT-5.4 accepts text, images, and files such as PDFs as input and returns text.
GPT-5.4 is served by 3 providers on OpenRouter: OpenAI, Azure, and Amazon Bedrock. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.
GPT-5.4 was released on March 5, 2026.