Openai logoOpenai

    gpt-4o-mini

    Auto-router

    openai/gpt-4o-mini

    ChatVisionFilesToolsSystem prompt

    Context

    128K

    Max output

    8K

    Input / 1M

    $0.15

    Output / 1M

    $0.60

    Cached / 1M

    $0.075

    Cutoff

    Oct 2023

    About this model

    GPT-4o mini (“o” for “omni”) is a fast, affordable small model for focused tasks. It accepts both text and image inputs, and produces text outputs (including Structured Outputs). It is ideal for fine-tuning, and model outputs from a larger model like GPT-4o can be distilled to GPT-4o-mini to produce similar results at lower cost and latency.

    Best suited for

    • High-volume chatbots, customer support, fast responses, simple summarization, function calling, and cost-efficient everyday AI 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.

    Supported parameters

    creativity_level

    Controls the creativity of responses. Higher values (e.g., 0.7) increase creativity; lower values (e.g., 0.2) make responses more predictable.

    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.

    stream

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

    service_tier
    temperature