Favicon for openai

OpenAI: GPT-5.4

openai/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 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.

Modalities
In / out price
$2.50 / $15per 1M
Context
1.1M
Released
Mar 5, 2026

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).

  • Not used in Standard routing:Why these endpoints are not used

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

Input
$1.081/M tokens
Output
$15.19/M tokens
Price history
No effective price data for this selection
  • Not used in Standard routing:Why these endpoints are not used

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).

Throughput
80tok/s

P50, best across providers

Latency
0.64s

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.

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.80%

Availability over the last 3 days

Last 72 hours
Availability 99.80%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.78%
Without Routing
98.33%

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.

Benchmark score summary for OpenAI: GPT-5.4 (Artificial Analysis, Design Arena and Vals AI)
SourceBenchmarkScore
Artificial AnalysisGPT-5.4 (Xhigh) Coding Index71.1
Artificial AnalysisGPT-5.4 (Xhigh) GPQA Diamond92.0%
Artificial AnalysisGPT-5.4 (Xhigh) HLE43.7%
Artificial AnalysisGPT-5.4 (Xhigh) IFBench73.9%
Artificial AnalysisGPT-5.4 (Xhigh) τ²-Bench Telecom87.1%
Artificial AnalysisGPT-5.4 (Xhigh) AA-LCR82.0%
Artificial AnalysisGPT-5.4 (Xhigh) τ-Bench Banking39.6%
Artificial AnalysisGPT-5.4 (Xhigh) GDPval-AA37.8%
Artificial AnalysisGPT-5.4 (Xhigh) CritPt23.4%
Artificial AnalysisGPT-5.4 (Xhigh) Terminal-Bench Hard57.6%
Artificial AnalysisGPT-5.4 (Xhigh) Terminal-Bench 2.178.3%
Artificial AnalysisGPT-5.4 (Low) GPQA Diamond87.1%
Artificial AnalysisGPT-5.4 (Low) HLE30.8%
Artificial AnalysisGPT-5.4 (Low) IFBench65.9%
Artificial AnalysisGPT-5.4 (Low) τ²-Bench Telecom74.6%
Artificial AnalysisGPT-5.4 (Low) AA-LCR76.7%
Artificial AnalysisGPT-5.4 (Low) CritPt7.4%
Artificial AnalysisGPT-5.4 (Low) Terminal-Bench Hard43.2%
Artificial AnalysisGPT-5.4 (Non-reasoning) GPQA Diamond74.8%
Artificial AnalysisGPT-5.4 (Non-reasoning) HLE11.3%
Artificial AnalysisGPT-5.4 (Non-reasoning) IFBench48.4%
Artificial AnalysisGPT-5.4 (Non-reasoning) τ²-Bench Telecom36.0%
Artificial AnalysisGPT-5.4 (Non-reasoning) AA-LCR58.3%
Artificial AnalysisGPT-5.4 (Non-reasoning) CritPt0.6%
Artificial AnalysisGPT-5.4 (Non-reasoning) Terminal-Bench Hard37.9%
Design ArenaGPT-5.4 (Medium) Models Arena 3D Elo1080
Design ArenaGPT-5.4 (Medium) Models Arena Asciiart Elo1194
Design ArenaGPT-5.4 (Medium) Models Arena Code Categories Elo1199
Design ArenaGPT-5.4 (Medium) Models Arena Data Visualization Elo1233
Design ArenaGPT-5.4 (Medium) Models Arena Game Development Elo1228
Design ArenaGPT-5.4 (Medium) Models Arena SVG Elo1186
Design ArenaGPT-5.4 (Medium) Models Arena UI Component Elo1231
Design ArenaGPT-5.4 (Medium) Models Arena Website Elo1207
Vals AIGPT 5.4 (xhigh) AIME96.7%
Vals AIGPT 5.4 (xhigh) CaseLaw v263.8%
Vals AIGPT 5.4 (xhigh) Code Migration35.0%
Vals AIGPT 5.4 (xhigh) CorpFin v265.3%
Vals AIGPT 5.4 (xhigh) Finance Agent v1.157.2%
Vals AIGPT 5.4 (xhigh) GPQA Diamond91.7%
Vals AIGPT 5.4 (xhigh) Harvey's Legal Agent Benchmark v10.0%
Vals AIGPT 5.4 (xhigh) IOI v167.8%
Vals AIGPT 5.4 (xhigh) LiveCodeBench84.1%
Vals AIGPT 5.4 (xhigh) LegalBench86.0%
Vals AIGPT 5.4 (xhigh) MedCode41.3%
Vals AIGPT 5.4 (xhigh) MedQA96.1%
Vals AIGPT 5.4 (xhigh) MedScribe77.5%
Vals AIGPT 5.4 (xhigh) MMLU Pro87.5%
Vals AIGPT 5.4 (xhigh) MMMU Pro87.5%
Vals AIGPT 5.4 (xhigh) MortgageTax68.3%
Vals AIGPT 5.4 (xhigh) ProgramBench0.0%
Vals AIGPT 5.4 (xhigh) ProofBench v156.0%
Vals AIGPT 5.4 (xhigh) SAGE v143.3%
Vals AIGPT 5.4 (xhigh) SkillsBench51.7%
Vals AIGPT 5.4 (xhigh) SWE-bench78.2%
Vals AIGPT 5.4 (xhigh) TaxEval v274.0%
Vals AIGPT 5.4 (xhigh) Terminal-Bench 2.058.4%
Vals AIGPT 5.4 (xhigh) Vals Index66.1%
Vals AIGPT 5.4 (xhigh) Vals Multimodal Index65.2%
Vals AIGPT 5.4 (xhigh) Vibe Code Bench v1.167.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.

1.
10.4Btokens
2.
Favicon for https://openai.com/codex
Codex
7.87Btokens
3.
Favicon for https://nousresearch.com
Hermes Agent
7.63Btokens
4.
4.93Btokens
Rest of OpenRouter
5.64B
Top 5 Apps
425M

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