Skip to content
OpenAI · OpenAI o-series

o3-mini-medium API

Use o3-mini-medium on Openrouter API for text chat and reasoning through an OpenAI-compatible API.

ReasoningChat & TextSynchronous
Model id
o3-mini-medium

o3-mini-medium API pricing

All prices in USD. Openrouter API rates compared with the official list price for the same unit.

Token typeOpenrouter APIOfficialSave
Input per 1M tokens$0.968$1.10−12%
Output per 1M tokens$3.87$4.40−12%

What is o3-mini-medium?

o3-mini-medium is an OpenAI o-series model for text chat and reasoning. Its mini naming positions it as a lighter reasoning tier, suited to teams evaluating multi-step question answering, analytical assistants, and text-based problem solving. On Openrouter API, select o3-mini-medium in the model parameter and send conversation messages with role and content fields through the OpenAI-compatible Chat Completions interface. The listed limits are 200,000 input tokens and 100,000 output tokens.

Openrouter API provides one API key and the base URL https://openrouterapi.ru/v1. The general chat interface supports streaming or complete responses and a max_tokens control for generation length; check model-specific documentation before relying on other optional controls. Pricing is pay-as-you-go: $0.968 per 1M tokens for input and $3.87 per 1M tokens for output. The default configuration is about 12% below the developer's list price, and Openrouter API bills only for successful requests.

o3-mini-medium highlights

Text Chat and Reasoning

An OpenAI o-series model in the chat / reasoning category. Its mini name positions it as a lighter reasoning tier.

Large Token Limits

Accepts a maximum of 200,000 input tokens and generates a maximum of 100,000 output tokens.

Compatible Chat Interface

Call the model through Openrouter API's OpenAI-compatible Chat Completions format using model and messages fields.

Below List Pricing

Input costs $0.968 per 1M tokens and output costs $3.87 per 1M tokens. The default configuration is about 12% below the developer's list price.

How to call the o3-mini-medium API in 4 steps

  1. 01

    Get an API key

    Sign in to Openrouter API, top up from $50, and create an sk-ora key in the console.

  2. 02

    Set the base URL

    Use https://openrouterapi.ru/v1 as the base URL in your SDK or HTTP client.

  3. 03

    Send the request

    Call POST /v1/chat/completions with "model": "o3-mini-medium" and the parameters below.

  4. 04

    Handle the response

    Read the response (or stream tokens with stream: true). Usage and cost appear in your console.

curl https://openrouterapi.ru/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTERAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "o3-mini-medium",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredgpt-5Model name
messagesarrayRequired—List of conversation messages
rolestringRequireduserRole type
contentstringRequired—Message content
temperaturenumberOptional—Controls output randomness, range 0-2
max_tokensintegerOptional—Maximum number of tokens to generate
streambooleanOptional—Whether to use streaming output
top_pnumberOptional—Nucleus sampling parameter, range 0-1
frequency_penaltynumberOptional—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberOptional—Presence penalty, range -2.0 to 2.0
stopstring or arrayOptional—Stop sequences
nintegerOptional—Number of completions to generate

What you can build with o3-mini-medium

Analytical Assistants

Build text assistants that help users break down questions, compare alternatives, and work through multi-step problems. Validate conclusions against your application's requirements.

Document Question Answering

Supply relevant document text in messages and ask for answers grounded in that material, keeping input within the listed token limit.

Decision Support Drafts

Ask the model to organize supplied constraints into options, trade-offs, and draft recommendations for human review.

Multi-Turn Help Desks

Include prior user and assistant messages to build a conversational support workflow that reasons over the context you provide.

Tips for better results

  • 01

    Specify the Model

    Set the model parameter explicitly to o3-mini-medium; the general chat endpoint has a different default model.

  • 02

    Bound Generation Length

    Use max_tokens to set an output budget appropriate to the task, within the 100,000-token output limit. Shorter requested responses can help manage output costs.

  • 03

    Choose Response Delivery

    Set stream to true for SSE output or false to receive the complete response at once rather than relying on an endpoint default.

  • 04

    Track Token Usage

    Use the response's prompt_tokens and completion_tokens usage fields to monitor input and output consumption against their separate rates.

Limits and things to know

  • Maximum input is 200,000 tokens; maximum output is 100,000 tokens.

  • General API parameter documentation does not establish support for every optional control on this model.

  • Published information does not confirm image input, tool support, or Responses API availability for this model.

o3-mini-medium API FAQ

How much does o3-mini-medium cost on Openrouter API?

Input costs $0.968 per 1M tokens and output costs $3.87 per 1M tokens. The default configuration is about 12% below the developer's list price, with pay-as-you-go billing only for successful requests.

How do I call o3-mini-medium through Openrouter API?

Use the base URL https://openrouterapi.ru/v1 and POST to /chat/completions with Bearer Token authentication. Set model to o3-mini-medium and provide a messages array containing role and content fields.

Which parameters can I use?

The general Chat Completions interface documents max_tokens, stream, temperature, top_p, frequency_penalty, presence_penalty, stop, and n alongside model and messages. Check model-specific documentation for optional parameter compatibility.

What are the token limits?

The listed maximum input is 200,000 tokens, and the maximum output is 100,000 tokens. Set your generation budget with max_tokens within the output limit.

Can I use o3-mini-medium commercially?

Commercial use is subject to the model developer's terms. Review those terms and Openrouter API's applicable terms before deploying your application.

How does o3-mini-medium compare with other o-series models?

The o-series naming indicates reasoning positioning, while mini suggests a lighter tier. Published information does not establish performance differences or define how the medium suffix compares with sibling configurations.

Related models

Depth: 250+ models · Minimum top-up $50

Start building with o3-mini-medium

One key, pay as you go from $50, billed only for successful requests.