impulse

o4-mini

Frontier lab

OpenAI o4-mini is a compact reasoning model in the o-series, optimized for fast, cost-efficient performance while retaining strong multimodal and agentic capabilities.

API id o4-miniReleased 16 Apr 2025 (Apr 2025)
Azure OpenAI retires it on 19 Nov 2026 (tomorrow). 3 hosts keep serving it.
Input / 1M
$1.10
at OpenAI
Output / 1M
$4.40
at OpenAI
Context window
200K
tokens
Max output
100K
tokens per reply
Hosts
4
11 listings
Released
Apr 2025
16 Apr 2025

Pricing

List prices at OpenAI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$1.10$4.40
Cached input
75% off input
$0.275
Batch
50% off
$0.55$2.20
Flex
50% off
$0.55$2.20
Priority
82% more
$2.00$8.00
Web search
$10.00 per 1,000 searches

What it costs a month

At OpenAI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$586
  • RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$488
  • Coding agent1,000 requests a day, 40K in / 2K out, cached$891
  • Overnight batch20,000 requests a day, 4K in / 0.4K out, batch$1,848
Use your own numbers

Where to run it

4 hosts serve o4-mini. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
OpenAILab API
o4-mini
$1.10 / $4.40
ReplicateInference
o4-mini
$1.00 / $4.00
−9% vs headline
o4-mini
$1.10 / $4.40
Retires 19 Nov 2026
o4-mini
$1.10 / $4.40
Show 7 more listings: regions, snapshots and variants
OpenAI
2025-04-16
o4-mini-2025-04-16
$1.10 / $4.40
2025-04-16 · fine-tuning
ft:o4-mini-2025-04-16
$4.00 / $16.00
Azure OpenAI
2025-04-16
o4-mini-2025-04-16
$1.10 / $4.40
Retires 19 Nov 2026
us
o4-mini
$1.21 / $4.84
+10% vs headline
Retires 19 Nov 2026
eu
o4-mini
$1.21 / $4.84
+10% vs headline
Retires 19 Nov 2026
us · 2025-04-16
o4-mini-2025-04-16
$1.21 / $4.84
+10% vs headline
Retires 19 Nov 2026
eu · 2025-04-16
o4-mini-2025-04-16
$1.21 / $4.84
+10% vs headline
Retires 19 Nov 2026

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
TextImagesPDFs
Produces
Text
Features
PDF inputPrompt cachingBuilt-in web search

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

  • Replicate
    o4-mini
    $1.00 / $4.00
    9% less

Smaller OpenAI models

  • GPT-5.4 Mini
    OpenAI · on OpenAI
    $0.75 / $4.50
    Has every key capability
    12% less
  • GPT-5.4 Nano
    OpenAI · on OpenAI
    $0.20 / $1.25
    Has every key capability
    76% less
  • GPT-6 Luna
    OpenAI · on OpenAI
    $0.10 / $0.50
    Has every key capability
    90% less

Other frontier labs

  • Gemini 3.8 Flash
    Google · on Google AI Studio
    $0.75 / $3.75
    Has every key capability
    22% less
  • Grok Build 0.1
    xAI · on xAI
    $1.00 / $2.00
    Has every key capability
    35% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    90% less
  • Gemini 3.5 Flash Lite
    Google · on Google AI Studio
    $0.30 / $2.50
    Has every key capability
    56% less

Open-weight picks

  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    10% less
  • Kimi K2.7 Code
    Moonshot AI · on CLF AI Gateway
    $0.38 / $1.60
    Has every key capability
    64% less
  • DeepSeek Flash
    DeepSeek · on DeepSeek
    $0.30 / $1.20
    Has every key capability
    73% less
  • Qwen3.7 Plus
    Alibaba Qwen · on Replicate
    $0.276 / $1.10
    Has every key capability
    75% less

Benchmarks

Scores published on the model card.

  • Aider Polyglot72.0%

Model line

Newer and older versions, at each lab's own price.

  1. Apr 2025o4-miniThis page$1.10 / $4.40
  2. Jan 2025o3-mini$1.10 / $4.40
  3. Sep 2024o1-mini$1.10 / $4.40

Call it

Using OpenAI's API.

Python
from openai import OpenAI

client = OpenAI()  # reads OPENAI_API_KEY

response = client.responses.create(model="o4-mini", input="Hello")
print(response.output_text)

Quick answers

How much does o4-mini cost?

On OpenAI, o4-mini costs $1.10 per million input tokens and $4.40 per million output tokens. Cached input costs $0.275 per million tokens. The cheapest host is Replicate, at $1.00 per million input tokens and $4.00 per million output tokens.

Which APIs offer o4-mini?

o4-mini runs on 4 APIs: OpenAI, Replicate, Azure OpenAI and Vercel AI Gateway.

What is o4-mini's context window?

200K tokens, with up to 100K tokens in one reply.

Is o4-mini being retired?

Azure OpenAI retires it on 19 Nov 2026. 3 hosts keep serving it.

What are cheaper alternatives to o4-mini?

Models that cost less and keep most of what it can do: GPT-5.4 Mini on OpenAI (12% less), Gemini 3.8 Flash on Google AI Studio (22% less), Grok Build 0.1 on xAI (35% less) and Inkling on DeepInfra (10% less). o4-mini itself costs 9% less on Replicate. Savings are on a mix of 3 input tokens to 1 output token.

When was o4-mini released?

OpenAI released it on 16 Apr 2025.

What is o4-mini's API model id?

Use o4-mini with OpenAI.

Sources

Raw catalog entry for o4-mini on OpenAI
{
  "cache_read_input_token_cost": 2.75e-7,
  "cache_read_input_token_cost_flex": 1.38e-7,
  "cache_read_input_token_cost_priority": 5e-7,
  "deprecation_date": "2026-10-23",
  "deprecation_source": "https://developers.openai.com/api/docs/deprecations",
  "successor_model": "gpt-5.6-terra",
  "input_cost_per_token": 0.0000011,
  "input_cost_per_token_batches": 5.5e-7,
  "input_cost_per_token_flex": 5.5e-7,
  "input_cost_per_token_priority": 0.000002,
  "litellm_provider": "openai",
  "max_input_tokens": 200000,
  "max_output_tokens": 100000,
  "mode": "chat",
  "output_cost_per_token": 0.0000044,
  "fedramp_uplift_multiplier": 1.1,
  "output_cost_per_token_batches": 0.0000022,
  "output_cost_per_token_flex": 0.0000022,
  "output_cost_per_token_priority": 0.000008,
  "search_context_cost_per_query": {
    "search_context_size_high": 0.01,
    "search_context_size_low": 0.01,
    "search_context_size_medium": 0.01
  },
  "source": "https://developers.openai.com/api/docs/pricing",
  "supports_function_calling": true,
  "supports_parallel_function_calling": false,
  "supports_pdf_input": true,
  "supports_prompt_caching": true,
  "supports_reasoning": true,
  "supports_response_schema": true,
  "supports_tool_choice": true,
  "supports_vision": true,
  "supports_web_search": true
}