One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $1.10 = $1.10
- Output0.1M x $4.40 = $0.44
$1.54per session
OpenAI - Closed weights
o4-mini is a closed-weights model from OpenAI that costs $1.10 per 1M input tokens and $4.40 per 1M output tokens on the first-party API, with a 200K-token context window.
Last verified from developers.openai.com. All sources
| Item | Price / 1M tokens |
|---|---|
| Input | $1.10 |
| Output | $4.40 |
| Cache read | $0.275 |
| Batch inputBatch requests | $0.55 |
| Batch outputBatch requests | $2.20 |
| Fast mode inputFast mode requests | $2 |
| Fast mode outputFast mode requests | $8 |
Note: Flex is $0.55 input / $0.138 cached / $2.20 output. Default snapshot o4-mini-2025-04-16.
o4-miniopenai/o4-miniWorked from the standard list rates above, with the math shown so you can swap in your own token counts.
1M input tokens and 100K output tokens, no caching.
$1.54per session
10,000 requests a day at 2K input and 500 output tokens each.
$44.00per day
$1,320.00 per 30-day month
90% of the input is read from the prompt cache. The one-time cache write premium is not included.
$0.7975per session
| Model | Input / 1M | Output / 1M |
|---|---|---|
| o4-mini (this page) | $1.10 | $4.40 |
| GLM-5.1Z.ai | $1.40 | $4.40 |
| GLM-5.2Z.ai | $1.40 | $4.40 |
| GLM-5.3Z.ai | $1.40 | $4.40 |
| o3-miniOpenAI | $1.10 | $4.40 |
| GPT-5.4 MiniOpenAI | $0.75 | $4.50 |
| GPT-3.5 Turbo InstructOpenAI | $1.50 | $2 |
| GPT-5 MiniOpenAI | $0.25 | $2 |
| GPT-4.1 MiniOpenAI | $0.40 | $1.60 |
| GPT-3.5 TurboOpenAI | $0.50 | $1.50 |
o4-mini costs $1.10 per 1M input tokens and $4.40 per 1M output tokens on OpenAI's first-party API, per developers.openai.com on October 17, 2026. Per 1M tokens, cache reads cost $0.275, and the batch rate is $0.55 input and $2.20 output.
o4-mini has a 200,000-token context window and returns up to 100,000 output tokens per response.
No. o4-mini is a closed-weights model. You call it through OpenAI's API as o4-mini or through Vercel AI Gateway as openai/o4-mini.
OpenAI released o4-mini on April 16, 2025.
Last verified from developers.openai.com.
Newsletter
One email per week. New model releases, price cuts and what they mean for your bill.