OpenAI · live price
GPT-4o-mini (2024-07-18) API pricing
GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...
- Input
- $0.15
- per 1M tokens
- Output
- $0.6
- per 1M tokens
- Cached input
- $0.075
- per 1M tokens
- Context
- 128K
- 16K max output
List price from OpenRouter, which passes OpenAI's price through without markup. Refreshed hourly. Released July 18, 2024. Model id openai/gpt-4o-mini-2024-07-18.
What GPT-4o-mini (2024-07-18) costs in practice
1,000 chat messages
$0.45
1,000 input + 500 output tokens each
1,000 RAG questions
$1.50
8,000 input + 500 output tokens each
100 coding-agent steps
$0.57
30,000 input + 2,000 output tokens each, no caching
GPT-4o-mini (2024-07-18) price history
GPT-4o-mini (2024-07-18) price by host
- OpenAI$0.15 in · $0.6 out · 128K ctx · 100.0% uptime 24h
Where to buy OpenAI credits for less
Disclosure: this site is run by the team behind smaaart, one of the options compared. Tables are ranked by price only, from live quotes and published fees, including when smaaart isn't first. How we compare
GPT-4o-mini (2024-07-18) cost calculator
Cheaper alternatives to GPT-4o-mini (2024-07-18)
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Qwen: Qwen3.8 Omni Flash | $0.15 | $0.47 |
| DeepSeek: DeepSeek V4.1 Flash | $0.03 | $0.5 |
| Qwen: Qwen3.8 Flash | $0.15 | $0.47 |
| Z.ai: GLM 5.3 Flash | $0.15 | $0.5 |
| Qwen: Qwen3.7 Flash | $0.03 | $0.13 |
| DeepSeek: DeepSeek V4 Pro 0423 | $0.209 | $0.418 |
Other OpenAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-4o-mini | $0.15 | $0.6 |
| GPT-4o (2024-08-06) | $2.50 | $10 |
| GPT-4o | $2.50 | $10 |
| GPT-4o (2024-05-13) | $5 | $15 |
| GPT-4 Turbo | $10 | $30 |
| GPT-4o (2024-11-20) | $2.50 | $10 |