OpenAI o4-mini

OpenAI

Updated mini reasoning model. Similar pricing to o3-mini with updated capabilities.

Context Window: 200K tokens Released: 2025-04 Best For: General reasoning, coding tasks
  • Updated reasoning
  • Efficient inference
  • OpenAI o4-mini Pricing

    Token TypePrice per Million
    Input tokens$1.10
    Output tokens$4.40

    Estimated Cost by Project Size

    Realistic cost estimates for common coding scenarios. Assumes 30% cache hit rate where caching is available.

    ScenarioToken UsageEstimated Cost
    Small Script (1K lines) 50K input / 30K output $0.17
    Medium Feature (10K lines) 500K input / 200K output $1.27
    Large Project (50K lines) 2,500K input / 1,000K output $6.33
    Code Review (5K lines) 250K input / 25K output $0.30

    Benchmark Performance — OpenAI o4-mini

    Third-party benchmark scores normalized to 0-100 scale. Higher is better. Aggregated scores from published third-party benchmarks. SWE-bench measures real GitHub issue resolution. LiveCodeBench measures competitive programming ability. HumanEval measures basic code generation. BigCodeBench measures practical, multi-step coding tasks. All scores normalized to 0-100 scale.

    Overall Score 72/100
    SWE-bench Verified
    66
    LiveCodeBench
    74
    HumanEval
    92
    BigCodeBench
    56

    Sources: SWE-bench Verified, LiveCodeBench, HumanEval, BigCodeBench

    Get Access to OpenAI o4-mini

    Ready to start using OpenAI o4-mini? Get API access directly from OpenAI.

    Get API Access → Try OpenAI o4-mini Free →

    How Does OpenAI o4-mini Compare?

    ModelInput ($/M)Medium Feature Cost
    OpenAI o4-mini $1.10 $1.27 selected
    OpenAI o1-mini $1.10 $1.27 Compare
    OpenAI o3-mini $1.10 $1.27 Compare
    Claude Sonnet 4 Lite $1.00 $1.55 Compare
    Gemini 2.5 Pro $1.25 $2.44 Compare
    Gemini 1.5 Pro $1.25 $1.44 Compare

    Related Models

    Categories