OpenAI: GPT-4o-mini API Pricing & Monthly Cost Calculator
OpenAI: GPT-4o-mini by OpenAI is priced at $0.15 per 1M input tokens and $0.6 per 1M output tokens with a 128K context window. Prompt caching reduces repeated prefix reads to $0.075/1M (50% savings). Batch API lowers rates to $0.075 in / $0.3 out.
gpt-6-luna.
Direct Official vs. OpenRouter Gateway
Comparing direct vendor pricing against multi-provider OpenRouter routing for openai/gpt-4o-mini.
| Channel | Input / 1M | Output / 1M | Cache Read |
|---|---|---|---|
| Direct Official | $0.15 | $0.6 | $0.075 |
| OpenRouter Gateway | $0.15 | $0.6 | $0.075 |
1M to 1B Token Cost Tiers
Reference monthly spend assuming a standard 75% input / 25% output workload mix.
| Monthly Volume | Standard | 75% Cached | Batch API |
|---|---|---|---|
| 1M tokens | $0.26 | $0.22 | $0.13 |
| 10M tokens | $2.63 | $2.20 | $1.31 |
| 100M tokens | $26.25 | $22.03 | $13.13 |
| 1B tokens | $262.50 | $220.31 | $131.25 |
Interactive OpenAI: GPT-4o-mini Bill Estimator
Adjust request volume, tokens, and prompt cache hit ratio.
Closest Price-Tier Alternatives
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| OpenAI: GPT-4o-mini (2024-07-18) | $0.15 | $0.6 | 128K |
| Mistral: Mistral Small 4 | $0.15 | $0.6 | 262.1K |
| DeepSeek: DeepSeek V3 | $0.28 | $0.42 | 163.8K |
| DeepSeek: DeepSeek V3.2 | $0.28 | $0.4 | 163.8K |
| Qwen: Qwen3.8 Omni Flash | $0.15 | $0.47 | 1M |
| Qwen: Qwen3.8 Flash | $0.15 | $0.47 | 1M |
Optimize Inference & Self-Hosting
Compare OpenAI: GPT-4o-mini against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.
Model Specifications & FAQs
GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...
How much does OpenAI: GPT-4o-mini API cost per 1M tokens?
OpenAI: GPT-4o-mini costs $0.15 per 1M input tokens and $0.6 per 1M output tokens (official direct provider rate), verified on 2026-11-30.
Does OpenAI: GPT-4o-mini support prompt caching or batch discounts?
Yes, cached input reads cost $0.075 per 1M tokens (50% off standard input). Batch API reduces rates to $0.075 input and $0.3 output per 1M tokens.
What is the context window and max output for OpenAI: GPT-4o-mini?
OpenAI: GPT-4o-mini supports a 128,000-token context window and up to 16,384 output tokens per completion.