Openai logoOpenai

    o4-mini

    Auto-router

    openai/o4-mini

    ReasoningVisionFilesToolsSystem promptReasoning

    Context

    200K

    Max output

    100K

    Input / 1M

    $1.10

    Output / 1M

    $4.40

    Cached / 1M

    $0.275

    Cutoff

    Jun 2024

    About this model

    o4-mini is our latest small o-series model. It's optimized for fast, effective reasoning with exceptionally efficient performance in coding and visual tasks.

    Best suited for

    • Fast, Intelligent model suitable for all purpose tasks

    Built-in tools

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

    stream

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

    service_tier