o4-mini API Cost Calculator

OpenAI's o4-mini: $1.1/M input · $4.4/M output · $0.275/M cached input. Price your own workload below.

OpenAI lists o4-mini as succeeded by GPT-5 mini.

Presets:

What o4-mini costs in practice

WorkloadInputOutputCost
Short chat message500250$0.0016
10-page document + summary7,000500$0.0099
Agent / coding session50,00010,000$0.099
1M tokens in + 1M out1,000,0001,000,000$5.50

o4-mini vs nearest rivals

Closest-priced alternatives on a mixed 10K-input / 2K-output request:

ModelInput $/MTokOutput $/MTokMixed request
o4-mini$1.1$4.4$0.020
Claude Haiku 4.5$1$5$0.020
Gemini 3.6 Flash$1.5$7.5$0.030
Mistral Medium 3.5$1.5$7.5$0.030

Frequently asked questions

How much does the o4-mini API cost?

o4-mini costs $1.1 per million input tokens and $4.4 per million output tokens, with cached input at $0.275 per million (75% off). Note: OpenAI lists o4-mini as succeeded by GPT-5 mini.

How much does a typical chat message cost with o4-mini?

A short chat message (about 500 input and 250 output tokens) costs roughly $0.0016 with o4-mini. At 1,000 such requests a day, that is about $49.50 per month.

Is o4-mini cheap compared to similar models?

o4-mini has the #12 cheapest input rate of the 26 models we track. On a mixed workload (10K input / 2K output), it costs $0.020 per request and $0.020 for Claude Haiku 4.5.

Related

Compare all models at once ·Count tokens in your prompt

Last updated 2026-08-03. Prices verified againstOpenAI's official pricing page; see themethodology.