o4-mini pricing & specs

OpenAI · released 2025-04-16 · ● verified 2026-10-11 · deprecated

This model is deprecated. Cheapest compatible replacement: Gemma 4 E2B IT.

input / 1M$1.10
output / 1M$4.40
context200K
max output100K

// price history ($/1M tokens)

$5.06
input $/1Moutput $/1M2025-04-16 → 2026-10-11

// cheaper or similar alternatives

modelinoutctxvs o4-mini
Gemma 4 E2B IT$0.04$0.08131.1K−97.4%
Qwen3.7 Flash$0.03$0.131M−97.1%
Qwen3.5 9B$0.10$0.15262.1K−94.2%
Gemma 4 26B A4B IT$0.07$0.34262.1K−92.9%
GPT-5 Nano$0.05$0.40400K−92.9%

// price by host

hostin $/1Mout $/1M
Azure$1.10$4.40

// faq

How much does o4-mini cost?

o4-mini costs $1.10 per million input tokens and $4.40 per million output tokens. At 50M input and 10M output tokens per month that is about $99.00.

What is the context window of o4-mini?

200K tokens, with up to 100K output tokens per request.

Does o4-mini support prompt caching?

Yes. Cached input tokens cost $0.275 per million.

What are cheaper alternatives to o4-mini?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out), Qwen3.5 9B ($0.10 in / $0.15 out) offer the same input types and capabilities for less.

// spec sheet

input / 1M
$1.10
output / 1M
$4.40
cache read / 1M
$0.275
blended (3:1)
$1.925
context
200K
max output
100K
input types
text · image
reasoning
yes
tool calling
yes
structured output
yes
open weights
no
knowledge cutoff
2024-05
price source
OpenAI

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
Qwen3.5 9B$0.10$0.15$6.50
o4-mini$1.10$4.40$99.00

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.