OpenAI: GPT-4o-mini
🇺🇸 OpenAI · GPT-4o-mini
Overview
OpenAI: GPT-4o-mini is a large language model API from OpenAI, part of its GPT-4o-mini model family. At $0.150 per million input tokens and $0.600 per million output tokens, it sits in the budget tier — among the cheaper options for high-throughput or cost-sensitive workloads. Output tokens cost about 4× as much as input, so prompt-heavy workloads run noticeably cheaper than generation-heavy ones. The 128K-token context window — around 192 pages of text — comfortably handles long documents, multi-file code, or extended conversations. Beyond plain text it also accepts Image, File input, so it can be applied to multimodal tasks rather than text alone. On Artificial Analysis's Intelligence Index it scores 7 (F grade), a useful proxy for its general reasoning strength relative to the other models tracked here. All prices on this page reflect OpenRouter's routed rates and are re-synced automatically every day; confirm against the provider's official pricing before committing to production.
| Dimension | Unit | Price (USD) |
|---|---|---|
| Input | per 1M tokens | $0.150 |
| Output | per 1M tokens | $0.600 |
| Cached Input | per 1M tokens | $0.075 |
- Provider
- OpenAI
- Model Family
- GPT-4o-mini
- Version String
- openai/gpt-4o-mini
- Status
- Active
- Modality
- Text, Image, File
- Context Window
- 128,000 tokens
- Output Limit
- 16,384 tokens
Index Metrics
Cross-domain capability indexes evaluated by Artificial Analysis — Artificial Analysis
Benchmark Scores
Data source: Artificial Analysis
Performance Metrics
Real-world benchmarks, updated every 72 hours by Artificial Analysis — Artificial Analysis
Use Case Analysis
Model strengths, weaknesses, and ideal use cases based on benchmarks and official documentation
Strength
- Extreme Cost Efficiency $0.15 per 1M input tokens, 60% cheaper than GPT-3.5 Turbo. Official
- Math & Coding MGSM math 87.0%, HumanEval coding 87.2%. Outperforms Gemini Flash and Claude Haiku. Official
Best For
- Cost-Sensitive Applications High-volume tasks where cost matters more than maximum capability. Official
- Function Calling Strong performance in function calling for building agent applications. Official
Weakness
- Limited Reasoning Depth Not designed for complex multi-step reasoning. Use o3-mini for reasoning tasks. Official
90-Day Price Trend
Input / Output price (USD per 1M tokens)
Past 90 days of records; every price change is shown here
| Date | Dimension | Price (USD) | Source |
|---|---|---|---|
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter | |
| Input | $0.150 | OpenRouter | |
| Cached Input | $0.075 | OpenRouter | |
| Output | $0.600 | OpenRouter |
Key Insights
Key data points from this page for quick reference and citation.
- OpenAI: GPT-4o-mini Input price: $0.15/M tokens
- OpenAI: GPT-4o-mini Output price: $0.6/M tokens
- Context window: 128,000 tokens
- Provider: OpenAI
- Model family: GPT-4o-mini
- Modalities: Text, Image, File
- Data source: OpenRouter, updated daily