OpenAI: GPT-4o-mini (2024-07-18)✓ Catalog verified
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 than other recent frontier models, and more than 60% cheaper than GPT-3.5 Turbo. It maintains SOTA intelligence, while being significantly more cost-effective. GPT-4o mini achieves an 82% score on MMLU and presently ranks higher than GPT-4 on chat preferences common leaderboards. Check out the launch announcement to learn more. #multimodal
Overview
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 than other recent frontier models, and more than 60% cheaper than GPT-3.5 Turbo. It maintains SOTA intelligence, while being significantly more cost-effective. GPT-4o mini achieves an 82% score on MMLU and presently ranks higher than GPT-4 on chat preferences common leaderboards. Check out the launch announcement to learn more. #multimodal
Access: available through the official OpenAI API. Context window: 128K.
Specifications
| API identifier | openai/gpt-4o-mini-2024-07-18 |
| Provider | OpenAI |
| Model type | Multimodal LLM |
| Context window | 128K catalog |
| Input modalities | text · image · file |
| Output modalities | text |
| Released | Jul 18, 2024 |
| Tokenizer | GPT |
| Moderated | Yes |
| Architecture modality | text+image+file->text |
Pricing
Live pricing components for openai/gpt-4o-mini-2024-07-18 as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $1.5e-7 | $0.15 / 1M | Per input token |
| Completion tokens | $6e-7 | $0.60 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0.2Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | ✓ Supported | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | ✓ Supported | Supports tools / function calling |
| Self-Hosting | Not advertised | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call OpenAI: GPT-4o-mini (2024-07-18) through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="openai/gpt-4o-mini-2024-07-18",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| AllenAI: Olmo 2 32B Instruct | Allenai | 128K | $0.05 | View → |
| Amazon: Nova Micro 1.0 | Amazon | 128K | $0.04 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does OpenAI: GPT-4o-mini (2024-07-18) cost?
$0.15 per 1M input tokens and $0.60 per 1M output tokens on the official OpenAI API.
What is the context window of OpenAI: GPT-4o-mini (2024-07-18)?
OpenAI: GPT-4o-mini (2024-07-18) supports up to 128K tokens of context.
Does OpenAI: GPT-4o-mini (2024-07-18) support tool / function calling?
Yes, OpenAI: GPT-4o-mini (2024-07-18) supports tool / function calling — you can register tools and the model will emit structured tool calls.
How do I access OpenAI: GPT-4o-mini (2024-07-18)?
Use the official OpenAI API with the model id `openai/gpt-4o-mini-2024-07-18`. See the Quick start section above for code examples.