← All models
O

o4-mini

OpenAI

Fast, efficient reasoning model optimized for STEM and coding tasks

Input price$1.10 / 1M tokens
Output price$4.40 / 1M tokens
Context window200k tokens
Last updated2026-04-20

Quick calculator

tokens
tokens
req/day
Per request
$0.003300
Daily
$33.00
Monthly
$990.00
per month · 30-day estimate
Yearly
$12,045.00

Tips to reduce cost

  • Use prompt caching to reuse repeated system prompts
  • Trim whitespace and reduce verbose instructions
  • Use a smaller model for classification or routing tasks
  • Batch async requests to get 50% discount (OpenAI/Anthropic)
  • Cache identical requests at the application layer

Similar models from OpenAI

Compared at your current token settings

About o4-mini

o4-mini is a mid-range large language model from openai, priced at $1.1/1M input tokens and $4.4/1M output tokens. It is 55% cheaper than the market average and best suited for stem & coding. The 200k context window handles long documents, extended conversations, and large code files comfortably.

As a reasoning model, o4-mini generates internal thinking tokens before responding. These are billed at the output token rate and can add 3–5x to effective output cost. For tasks requiring deep reasoning — math, complex coding, multi-step analysis — this overhead is usually justified by fewer errors and retries.

Frequently Asked Questions

How much does o4-mini cost per 1,000 tokens?
o4-mini costs $0.0011 per 1,000 input tokens and $0.0044 per 1,000 output tokens.
What is o4-mini's context window?
o4-mini supports a context window of 200k tokens, which is suitable for long documents and multi-turn conversations.
How does o4-mini compare to GPT-4o on price?
o4-mini is 55% cheaper than the market average on input tokens. At $1.1/1M input vs $2.50/1M for GPT-4o, the cost difference becomes significant at scale — 10,000 requests/day with 1,000 input tokens each costs $330/month with o4-mini vs $750/month with GPT-4o.

Compare o4-mini with other models

o4-mini vs Claude Haiku 4.5o4-mini vs Gemini 2.5 Proo4-mini vs Gemini 1.5 Proo4-mini vs Claude 3.5 Haikuo4-mini vs DeepSeek R2o4-mini vs DeepSeek R1