openai/gpt-5.4-2026-03-05

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

The openai/gpt-5.4-2026-03-05 model, developed by OpenAI, is a large language model designed for tasks requiring extended context understanding and multi-modal reasoning. It supports a context window of 1,050,000 tokens and a maximum output of 128,000 tokens, enabling processing of lengthy documents, multiple images, and file attachments within a single request. Input modalities include text, image, and file, making it suitable for complex analysis that combines visual and textual data. The model achieved a score of 92.0 on the GPQA Diamond benchmark, indicating strong performance on graduate-level reasoning questions. This model is accessed through OrcaRouter's OpenAI-compatible API at the base URL https://api.orcarouter.ai/v1 using the model ID "openai/gpt-5.4-2026-03-05". OrcaRouter provides a gateway that supports the same syntax and endpoints as the OpenAI API, allowing for seamless integration. Pricing and latency details are not publicly disclosed in the available facts; users should contact OrcaRouter or refer to their documentation for current rates and performance characteristics.

Max output128K
Inputtext + image + file
Outputtext
p50 TTFT1.57 s
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Runs inEuropean Union
Context window1Mtokens
INPUT$2.50/ 1M tokens
OUTPUT$15.00/ 1M tokens
p50 TTFT1.57 s7d
p95 TTFT3.45 s7d

Pricing

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

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $10.00 · With prompt caching $8.20

1.6M input × $2.5/M + 400K output × $15/M

Prompt caching assumes half of the input tokens are read from cache at $0.25/M.

Estimate based on list price

Tiered pricing — this estimate uses base-tier rates.

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0050$5.00
Summarize a long doc30K / 1K$0.090$90.00
Code review8K / 2K$0.050$50.00

Token & cost estimator

Input tokens: 20Cost per request: $0.007550

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

Compare monthly costs across models in the LLM cost calculator

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["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)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "openai/gpt-5.4-2026-03-05",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
max_completion_tokensUpper limit on generated tokens, reasoning tokens included.
tool_choiceWhether the model must, may or must not call a tool.

Full API reference

Use cases and examples

  • Long context — 1M-token context window: whole codebases, long reports or chat histories in one request.
  • Multimodal input — Takes text + image + file in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Reasoning — Works through a problem before answering: math, science and multi-step tasks.
  • Strong benchmarks — AA Intelligence 39 · AA Coding 71.1
  • Long-document summarization and analysis (e.g., legal contracts, research papers, books)
  • Multi-modal reasoning combining images, text, and files (e.g., diagram interpretation, document scanning)
  • Complex problem-solving requiring large context (e.g., code repositories, full conversation logs)
  • High-stakes verification tasks that benefit from the GPQA Diamond score (e.g., academic question answering)
  • Generating extended outputs like reports, stories, or code surpassing 16K tokens

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
1.57 s
#33 fastest of 150 models
Output speedHow many tokens per second the model streams once it starts answering.
16.4 tok/s
#143 fastest of 144 models
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
3.45 s
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
75.6%

Benchmarks

OrcaRouter leaderboard
71.1
AA CodingArtificial Analysis Coding Index: one 0–100 score that combines its coding evaluations.
Better than 82% of models compared
#24 of 138
39.0
AA IntelligenceArtificial Analysis Intelligence Index: one 0–100 score that combines its evaluations of reasoning, knowledge, math and coding.
Better than 83% of models compared
#25 of 153
GPQA DiamondGPQA Diamond: graduate-level biology, physics and chemistry questions written to be hard to look up.
92.0#24 of 137
Humanity's Last ExamHumanity's Last Exam: expert-written questions at the frontier of human knowledge, across dozens of subjects.
43.7#23 of 141
IFBenchIFBench: how precisely the model follows new, checkable instructions about the shape of its answer.
73.9#34 of 104
Long-Context RecallLong-Context Recall: answering questions that need facts found and combined across long documents.
82.0#25 of 136
SciCodeSciCode: writing code that solves research-level problems in physics, chemistry, biology and math.
56.6#17 of 141
tau_bankingτ²-Bench: acting as a customer-service agent that uses tools and follows policy while talking to a simulated user.
39.6#16 of 80
TerminalBench HardTerminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
57.6#6 of 99
terminalbench_v2_1Terminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
78.3#30 of 80
τ²-Benchτ²-Bench: acting as a customer-service agent that uses tools and follows policy while talking to a simulated user.
87.1#35 of 104
Source: artificialanalysis.ai

Compare models

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 in•1571ms p50•via 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