GPT-4o mini
OpenAI deprecatedGPT-4o mini by OpenAI: $0.15/M cache-miss input, $0.6/M output tokens. Cached input: $0.075/M. 128K context, 16K max output. Vision & Function Calling. Price verified 2026-11-18.
Input Price
$0.15
cache miss / 1M tokens
Cached Input
$0.075
per 1M tokens
Output Price
$0.6
per 1M tokens
Context Window
128K
tokens
GPT-4o mini price history
No price changes recorded for GPT-4o mini in our AI API price change log (earliest entry: 2026-05-27). Current rates last verified against the official OpenAI pricing page on 2026-11-18. See all AI API price changes
Cheaper ways to use GPT-4o mini
Current free credits and discounts that apply to OpenAI models.
- 🧠OpenAI APIFree Trial— Usage-based API billing; new accounts use prepaid credits, free credits are not guaranteed
Specifications
| Provider | OpenAI |
| Model ID | gpt-4o-mini |
| Input Price | $0.15 / 1M cache-miss tokens |
| Cached Input Price | $0.075 / 1M tokens |
| Output Price | $0.6 / 1M tokens |
| Context Window | 128K tokens |
| Max Output | 16K tokens |
| Capabilities | textvisionfunction_callingstructured_output |
| Release Date | 2024-07 |
| Pricing Source | Official OpenAI pricing |
| Price Verified | 2026-11-18 |
| Notes | Deprecated; OpenAI shuts it down on 2027-01-14. Prefer a current GPT-6 model. |
Monthly Cost Estimates
Estimated monthly costs based on different daily usage levels (assuming 50% input / 50% output split). Input estimates use cache-miss pricing, so cache-heavy workloads can be lower.
| Daily Tokens | Monthly Cost | Annual Cost |
|---|---|---|
| 10K | $0.1125 | $1.35 |
| 50K | $0.5625 | $6.75 |
| 100K | $1.13 | $13.50 |
| 500K | $5.63 | $67.50 |
| 1.0M | $11.25 | $135.00 |
How GPT-4o mini Pricing Compares
Standard cache-miss input / output prices per 1M tokens, compared with active, price-verified models priced in USD. Cached, batch and long-context rates are not included.
- Within OpenAI: 1 of 15 other active OpenAI models has a lower input price, and 1 has a lower output price.
- Similar context window: among the 16 active models with a 64K–256K token context window, GPT-4o mini ranks #7 from cheapest at a 50/50 input/output mix. Cheapest: GLM-4.7-Flash ($0.00/$0.00). Most expensive: Jamba Large 1.7 ($2.00/$8.00).
Use our Token Counter to estimate how many tokens your prompts use, and our Pricing Calculator to compare costs across all models.
GPT-4o mini Key Details
- Pricing: $0.15/M cache-miss input tokens, $0.075/M cached input tokens, $0.6/M output tokens
- Context window: 128K tokens — 86 of 89 active models we track have a larger window
- Max output: 16K tokens per response
- Capabilities: text, vision, function_calling, structured_output
- Highlights: Deprecated; OpenAI shuts it down on 2027-01-14. Prefer a current GPT-6 model.
- Released: 2024-07
Other OpenAI Models
Similar Price Range
Related Tools
FAQ
How much does GPT-4o mini cost?
GPT-4o mini costs $0.15 per million cache-miss input tokens and $0.6 per million output tokens. Cached input costs $0.075 per million tokens. For a typical workload of 100K input tokens/day and 50K output tokens/day, expect approximately $1.35/month before cache-hit savings.
What is GPT-4o mini's context window?
GPT-4o mini supports a context window of 128K tokens. This means your combined input prompt and output response can be up to 128K tokens. The maximum output per response is 16K tokens.
Is GPT-4o mini good for my use case?
GPT-4o mini supports text, vision, function_calling, structured_output. We track pricing and limits, not output quality, so test it on your own prompts before committing. The price comparison above lists cheaper and pricier models with a similar context window, and the Pricing Calculator estimates your monthly cost across all of them.