GPT-4o mini API pricing and context window
GPT-4o mini costs $0.15 per 1M input tokens and $0.60 per 1M output tokens on the OpenAI API. Cached input reads cost $0.075 per 1M. It accepts up to 128,000 input tokens and returns up to 16,384 output tokens. A typical chat request (10K input, 1K output) costs about $0.0021. Prices last updated November 27, 2026.
- Input
- $0.15 per 1M tokens
- Output
- $0.60 per 1M tokens
- Cached input
- $0.075 per 1M tokens
- Context window
- 128,000 tokens
- Max output
- 16,384 tokens
Deprecated; shuts down on January 14, 2027. Successor: GPT-6 Luna.
Pricing options
| Input /1M | Output /1M | vs standard (input / output) | |
|---|---|---|---|
| Batch API | $0.075 | $0.30 | -50% / -50% |
| Fast mode (formerly Priority) | $0.25 | $1.00 | +67% / +67% |
- The Batch API costs $0.075 input and $0.30 output per 1M: input and output 50% cheaper.
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.0021 |
| Codebase question (100K in + 2K out) | $0.016 |
| Same question with cached context (100K cached + 2K out) | $0.0087 |
| Filling the whole context once (128K in) | $0.019 |
| 1M tokens a month (750K in + 250K out) | $0.263 |
Estimate your own workload in the calculator
GPT-4o mini compared with the previous and next version
| Model | Input /1M | Output /1M | What changes | |
|---|---|---|---|---|
| Newer | GPT-5 mini | $0.25 +67% | $2.00 +233% | GPT-4o mini → GPT-5 mini: input: $0.15 → $0.25; output: $0.60 → $2.00; cached input: $0.075 → $0.025; context: 128K → 272K+7 more differencesmax output: 16K → 128K; Batch API input: $0.075 → $0.125; Batch API output: $0.30 → $1.00; Flex: listed only for GPT-5 mini; Fast mode (formerly Priority) input: $0.25 → $0.45; Fast mode (formerly Priority) output: $1.00 → $3.60; shutdown date: January 14, 2027 → December 11, 2026 |
Capabilities and details
- Image input: Yes
- Function calling: Yes
- Reasoning: Not listed
- Prompt caching: Yes
- PDF input: Yes
- Structured output: Yes
Similar models by price
| Model | Provider | Input /1M | Output /1M | Context window | vs this model (input / output) |
|---|---|---|---|---|---|
| DeepSeek V3.2 | DeepSeek | $0.28 | $0.40 | 160K | +87% / -33% |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | 1M | -33% / -17% |
| GPT-5 nano | OpenAI | $0.05 | $0.40 | 272K | -67% / -33% |
| GPT-5 | OpenAI | $1.25 | $10.00 | 272K | +733% / +1,567% |
| GPT-5.1 | OpenAI | $1.25 | $10.00 | 272K | +733% / +1,567% |
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $0.15 | $0.60 | $0.075 |
Tracking started on November 21, 2026. A new row appears only when a price changes.
Embed this price badge
The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.
<a href="https://vibecodingturkey.com/models/gpt-4o-mini"><img src="https://vibecodingturkey.com/models/badge/gpt-4o-mini.svg" alt="GPT-4o mini API price" height="20"></a>[](https://vibecodingturkey.com/models/gpt-4o-mini)
Questions
How is GPT-4o mini different from GPT-5 mini?
GPT-4o mini → GPT-5 mini: input: $0.15 → $0.25; output: $0.60 → $2.00; cached input: $0.075 → $0.025; context: 128K → 272K; max output: 16K → 128K; Batch API input: $0.075 → $0.125; Batch API output: $0.30 → $1.00. +4 more differences in the table above.
When will GPT-4o mini be shut down?
GPT-4o mini is deprecated and shuts down on January 14, 2027. The listed successor is GPT-6 Luna.
Is there a batch discount for GPT-4o mini?
Yes. Through the Batch API it costs $0.075 per 1M input and $0.30 per 1M output tokens.
Does GPT-4o mini support prompt caching?
Yes. Cached input reads cost $0.075 per 1M tokens, 50% less than standard input.