GPT-4o-mini (2024-07-18)
ActiveGPT-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...
Overview
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...
History
GPT-4o-mini (2024-07-18) became available via the OpenAI API on 2024-07-18.
Training & availability
Training data has a knowledge cutoff of 2023-10-31 — information about events after that date is unlikely to appear in the model's responses. OpenAI has not released the underlying model weights — access is via their hosted API only.
Capabilities
-
Context window: 128K tokens.
-
Max output: 16K tokens.
-
Input modalities: text, image, file.
Recommended for: vision, agentic, cheap.
Limitations
- The knowledge cutoff is 30 months old — this model will not know about recent events, releases, or API changes.
Pricing
- Input: $0.1500 per 1M tokens
- Output: $0.6000 per 1M tokens
Use the cost calculator above to estimate monthly spend for your workload.
Quick start
Minimal example using the openai API. Copy, paste, replace the key.
from openai import OpenAI
client = OpenAI(api_key="sk-...")
resp = client.chat.completions.create(
model="gpt-4o-mini-2024-07-18",
messages=[{"role": "user", "content": "Explain quantum computing in one sentence."}],
)
print(resp.choices[0].message.content)Cost calculator
Estimate your monthly bill. Presets are typical workload sizes.
Providers & performance
1 providerMulti-provider inference routes for this model — sorted by throughput. Latency is time-to-first-token; throughput is output tokens per second. Data from OpenRouter, measured over the last 30 minutes.
| Provider | Throughput | Latency (TTFT) | Input $ / 1M | Output $ / 1M | Context | Quant | Supports |
|---|---|---|---|---|---|---|---|
| OpenAI | 42tok/s | 508ms | $0.15 | $0.6 | 128K | — | tools · json |
Integrations & tooling support
- Tool calling
- Supported
- Structured outputs
- Not supported
Price vs quality
Priced low — good for high-volume tasks. Quality tier pending more benchmark coverage.
- Quality percentile
- —
- Effective price
- $0.487/1M
- Pricing breakdown
- $0.15/1M in
$0.6/1M out
Community ratings
Rate GPT-4o-mini (2024-07-18)
Sign in to rate and review.
Comments
Sign in to leave a comment.