One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $0.15 = $0.15
- Output0.1M x $0.60 = $0.06
$0.21per session
OpenAI - Closed weights
GPT-4o Mini is a closed-weights model from OpenAI that costs $0.15 per 1M input tokens and $0.60 per 1M output tokens on the first-party API, with a 128K-token context window.
Last verified from developers.openai.com. All sources
| Item | Price / 1M tokens |
|---|---|
| Input | $0.15 |
| Output | $0.60 |
| Cache read | $0.075 |
| Batch inputBatch requests | $0.075 |
| Batch outputBatch requests | $0.30 |
| Fast mode inputFast mode requests | $0.25 |
| Fast mode outputFast mode requests | $1 |
Note: Default snapshot gpt-4o-mini-2024-07-18.
gpt-4o-miniopenai/gpt-4o-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.
$0.21per session
10,000 requests a day at 2K input and 500 output tokens each.
$6.00per day
$180.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.1425per session
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-4o Mini (this page) | $0.15 | $0.60 |
| Command R 08-2024Cohere | $0.15 | $0.60 |
| Mistral Small 4Mistral AI | $0.15 | $0.60 |
| Hy3Tencent | $0.132 | $0.528 |
| Claude Haiku 5.5Anthropic | $0.10 | $0.50 |
| GPT-6 LunaOpenAI | $0.10 | $0.50 |
| GPT-4.1 nanoOpenAI | $0.10 | $0.40 |
| GPT-5 nanoOpenAI | $0.05 | $0.40 |
| GPT-5.6 LunaOpenAI | $0.20 | $1.20 |
| GPT-5.4 nanoOpenAI | $0.20 | $1.25 |
| GPT-3.5 TurboOpenAI | $0.50 | $1.50 |
GPT-4o Mini costs $0.15 per 1M input tokens and $0.60 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.075, and the batch rate is $0.075 input and $0.30 output.
GPT-4o Mini has a 128,000-token context window and returns up to 16,384 output tokens per response.
No. GPT-4o Mini is a closed-weights model. You call it through OpenAI's API as gpt-4o-mini or through Vercel AI Gateway as openai/gpt-4o-mini.
OpenAI released GPT-4o Mini on July 18, 2024.
Last verified from developers.openai.com.
Newsletter
One email per week. New model releases, price cuts and what they mean for your bill.