openai/gpt-5.4-2026-03-05

openai/gpt-5.4-2026-03-05
VisionToolsJSONReasoning
by openai

OpenAI GPT-5.4-2026-03-05: 1.05M context, 128K output, 92.0 GPQA Diamond. Text, image, file input.

ctx1.05M tokens
Max output128K
Inputtext + image + file
Outputtext
p50 TTFT1.19 s
INPUT$2.50/ 1M tokens
OUTPUT$15.00/ 1M tokens
p50 TTFT1.19 s7d
p95 TTFT2.62 s7d
TRAFFIC591.0Ktokens / 7d

This is a large language model from OpenAI with a context window of 1,050,000 tokens and a maximum output of 128,000 tokens. It accepts text, image, and file inputs, allowing users to combine visual…

What is openai/gpt-5.4-2026-03-05 and who is it for?

What input formats does it support?

Does it support system prompts, temperature, and other parameters?

What are the main advantages of this model over smaller alternatives?

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://api.orcarouter.ai/v1
from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="openai/gpt-5.4-2026-03-05",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

  • include_reasoning
  • max_completion_tokens
  • max_tokens
  • reasoning
  • response_format
  • seed
  • stream
  • structured_outputs
  • tool_choice
  • tools

Pricing

TierInput / 1M tokensOutput / 1M tokensCache read / 1M
272K$2.50$15.00$0.250
$5.00$22.50$0.500
Tier selected by input token count of each request

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $62.50 · With prompt caching $54.63

Estimate based on list price

Tiered pricing — this estimate uses base-tier rates.

Token & cost estimator

Input tokens: 20Cost per request: $0.007550

Estimate only — actual token counts depend on the provider's tokenizer.

Performance

p50 TTFT
1.19 s
Output speed
169 tok/s
p95 TTFT
2.62 s
Error rate
0%

Public benchmarks

57.3
AA Coding
Better than 83% of models compared
#18 of 106
56.8
AA Intelligence
Better than 78% of models compared
#24 of 110
GPQA Diamond
92.0
Humanity's Last Exam
41.6
IFBench
73.9
Long-Context Recall
74.0
SciCode
56.6
TerminalBench Hard
57.6
τ²-Bench
87.1
Source: artificialanalysis.ai

How it compares

openai/gpt-5.4-2026-03-05GPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$2.50$21.00$60.00$5.00
Output $/M$15.00$168.00$270.00$30.00
Context1.1M400K1.1M
Quality5/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

How much does it cost to use openai/gpt-5.4-2026-03-05?
Pricing is not publicly disclosed in the provided facts. For current per-token rates, refer to the OrcaRouter dashboard or contact their support. Costs will likely be higher than smaller models due to the massive context and output capabilities.
What is the context window size?
The context window is 1,050,000 tokens. This includes all input tokens from text, images, and files. The maximum output is 128,000 tokens.
What are the main strengths of this model?
Strengths include a very large context window for processing entire documents or long conversations, multimodal input (text, image, file), high output length, and a strong GPQA Diamond score of 92.0 indicating graduate-level reasoning.
How does it compare to GPT-4o?
This model has a context window 8 times larger (1.05M vs 128K) and output 8 times larger (128K vs 16K). It also scores higher on GPQA Diamond (92 vs ~80). GPT-4o may be cheaper and faster for short tasks.
Does it handle images and files?
Yes. Input modalities include text, image, and file. You can send a request with images (URLs or base64) and files (PDF, Word, etc.) along with text.
How do I call it from my code?
Use OrcaRouter's OpenAI-compatible API at base_url https://api.orcarouter.ai/v1 with model ID "openai/gpt-5.4-2026-03-05". Use any OpenAI client library with the modified base URL and your OrcaRouter API key.
What happens to my data when I use this model on OrcaRouter?
Data handling policies depend on OrcaRouter's terms and OpenAI's policies. The provided facts do not specify data retention or privacy details. Contact OrcaRouter for their data processing and privacy practices.
Is it suitable for production use?
Yes, but evaluate latency and cost for your specific workload. The large context may lead to slower responses and higher bills. Test with a representative sample before full deployment.
Can I stream the output?
Yes. Set the 'stream' parameter to true in the API call. The model will send Server-Sent Events as tokens are generated, just like OpenAI's streaming.
What is the maximum output length?
The maximum output is 128,000 tokens. Set the 'max_tokens' parameter up to 128,000. The model will stop generating when it reaches that limit or a stop sequence.

Embed this badge

openai/gpt-5.4-2026-03-05$2.50/M in1187ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-5.4-2026-03-05" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-5.4-2026-03-05.svg" alt="openai/gpt-5.4-2026-03-05 on OrcaRouter" /> </a>
Markdown [![openai/gpt-5.4-2026-03-05](https://www.orcarouter.ai/embed/openai/gpt-5.4-2026-03-05.svg)](https://www.orcarouter.ai/models/openai/gpt-5.4-2026-03-05)

Model card as data

GET /api/public/models/openai/gpt-5.4-2026-03-05Open
Machine-readable:/llms.txt/llms-full.txt