Openai logoOpenai

    gpt-5

    Auto-router

    openai/gpt-5

    ChatVisionFilesToolsSystem promptReasoning

    Context

    400K

    Max output

    128K

    Input / 1M

    $1.25

    Output / 1M

    $10.00

    Cached / 1M

    $0.125

    Cutoff

    Oct 2024

    About this model

    GPT-5 model which is fast, Intelligent model for all purpose tasks. It accepts both text and image inputs, and produces text outputs.

    Best suited for

    • Complex reasoning, multi-step problem solving, code generation and review, advanced analysis, research tasks, and planning-heavy workflows.

    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_tokensMax Tokens Limit

    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 the level of reasoning used by the model.

    stream

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

    service_tier