Openai logoOpenai

    gpt-5.4

    Auto-router

    openai/gpt-5.4

    ChatVisionFilesToolsSystem promptReasoning

    Context

    600K

    Max output

    200K

    Input / 1M

    $2.25

    Output / 1M

    $18.00

    Cached / 1M

    $0.225

    Cutoff

    Dec 2025

    About this model

    GPT-5.4 is our most advanced general-purpose model in the GPT-5 family. Optimized for complex reasoning, long-context agentic workflows, multimodal processing, and superior code generation.

    Best suited for

    • Advanced reasoning, long-context agentic tasks, multimodal workflows, enterprise-grade code generation, and high-precision research applications

    Built-in tools

    Image generationWeb searchGtwy web search

    Hosted by the gateway — enable them per request without wiring your own endpoint.

    Capabilities

    Vision

    Accepts images alongside text in the same message.

    Files

    Accepts file attachments — PDFs, transcripts, spreadsheets.

    Tools

    Native function calling, so agents can invoke your endpoints.

    System prompt

    Honours a dedicated system role, separate from the user turn.

    Reasoning

    Emits a separate thinking pass before the answer.

    Supported parameters

    max_tokens

    Specifies the maximum number of text units (tokens) allowed in a response, limiting its length.

    tools

    Lists tool definitions or capabilities available to the model.

    tool_choice

    Decides whether to use tools or just the model for generating responses.

    response_type

    Defines the format or type of the generated response.

    parallel_tool_calls

    Enables parallel execution of tools, allowing multiple tools to run simultaneously.

    reasoning

    Controls how much reasoning effort the model applies before generating a response.

    verbosity

    Controls the level of detail and length of the generated responses.

    stream

    Sends the response in real-time as it's being generated.