OpenAI: GPT-4o-mini (2024-07-18) API pricing
$0.15 per 1M input tokens and $0.60 per 1M output tokens on OpenRouter. Context window: 128,000 tokens.
$0.15input / 1M tokens
$0.60output / 1M tokens
$0.075cached input / 1M
125Kcontext
text+image+file->textmodality
What it costs in practice
| Workload | Cost |
|---|---|
| Chatbot: 10,000 messages (1,500 in / 400 out tokens each) | $4.65 |
| RAG: 1,000 queries (8,000 in / 600 out each) | $1.56 |
| Summarize 100 long documents (50,000 in / 1,000 out each) | $0.810 |
Cross-check against the provider's list price
LiteLLM's price map lists gpt-4o-mini (openai) at $0.15 in / $0.60 out per 1M tokens. Matches OpenRouter
Price history
No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.
Cheaper alternatives with similar context
Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Google: Gemma 4 31B | $0.20 | $0.40 | 256K |
| NVIDIA: Nemotron 3.5 Super VL | $0.15 | $0.50 | 1M |
| Z.ai: GLM 5.3 Flash | $0.15 | $0.50 | 1M |
| OpenAI: GPT-5.4 Nano (batch) | $0.10 | $0.625 | 391K |
| Qwen: Qwen3.8 Omni Flash | $0.15 | $0.47 | 977K |
| Qwen: Qwen3.8 Flash | $0.15 | $0.47 | 977K |
| OpenAI: GPT-5.6 Luna Pro (batch) | $0.10 | $0.60 | 1.0013580322265625M |
| OpenAI: GPT-5.6 Luna (batch) | $0.10 | $0.60 | 1.0013580322265625M |
Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID openai/gpt-4o-mini-2024-07-18, listed Jul 18, 2024. Report an error.