OpenAI: GPT-4o mini
GPT-4o mini is a language model from OpenAI released on Jul 18, 2024. It reads text, images and files and writes text, with a 128K token context window and up to 16K tokens per reply.
Show moreShow less
It costs $0.15 per million input tokens and $0.60 per million output tokens. Cached input bills at $0.075, 50% less than fresh input.
It supports tool calling, structured JSON output and prompt caching.
24 providers serve it, including Vercel AI Gateway, Cloudflare AI Gateway and Poe. The lowest input price is $0.075 per million tokens at Cloudflare AI Gateway.
- Modalities
- In / out price
- $0.15 / $0.60 per 1M
- Context
- 128K
- Max output
- 16K
- Released
- Jul 18, 2024
- Knowledge cutoff
- Sep 2023
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
GPT-4o mini pricing
USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.15 / 1M tokens | |
|---|---|---|
| Output | $0.60 / 1M tokens | |
| Cached input (read) | $0.075 / 1M tokens | 50% off input |
GPT-4o mini providers
24 providers serve it, including Vercel AI Gateway, Cloudflare AI Gateway and Poe. The lowest input price is $0.075 per million tokens at Cloudflare AI Gateway. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.
| Provider | Input /M | Output /M | Cache read /M | Context | Max output |
|---|---|---|---|---|---|
| Vercel AI Gateway | $0.25 | $1 | $0.125 | 128K | 16K |
| Cloudflare AI Gateway | $0.075 | $0.30 | $0.0375 | 128K | 16K |
| Poe | $0.1364 | $0.5455 | $0.0682 | 124K | 4K |
| Abacus | $0.15 | $0.60 | n/a | 128K | 16K |
| AI/ML API | $0.15 | $0.60 | $0.075 | 128K | 16K |
| Concentrate | $0.15 | $0.60 | $0.075 | 128K | 16K |
| CrossModel | $0.15 | $0.60 | $0.075 | 128K | 16K |
| DevPass (LLM Gateway) | $0.15 | $0.60 | $0.075 | 128K | 16K |
| DigitalOcean | $0.15 | $0.60 | $0.075 | 128K | 16K |
| Eden AI | $0.15 | $0.60 | $0.075 | 128K | 16K |
| Helicone | $0.15 | $0.60 | $0.075 | 128K | 16K |
| Impossibl | $0.15 | $0.60 | $0.075 | 128K | 16K |
Showing 12 of 24 providers: the lab first, then the major clouds, then the cheapest resellers.
What GPT-4o mini costs per month
Pick a workload close to yours or type your own volumes.
Supported request parameters
What you can set when you call GPT-4o mini through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Temperature
temperature
Alternatives to GPT-4o mini
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- Index 11.3
Reads text, images and files. Tool calling, structured output, reasoning. Served by 14 providers.
by mistralaiMar 16, 2026262K context$0.15/M input tokens$0.60/M output tokens14 providers
- Index 43.4
Reads text, images and files. Tool calling, structured output, reasoning. Served by 48 providers.
by anthropicOct 7, 20261M context$0.10/M input tokens$0.50/M output tokens48 providers
- Index 38.1
Reads text, images and files. Tool calling, structured output, reasoning. Served by 49 providers.
by openaiSep 22, 20261.05M context$0.10/M input tokens$0.50/M output tokens49 providers
- Index 6
Reads text, images and files. Tool calling, structured output. Served by 10 providers.
by mistralaiDec 2, 2025262K context$0.20/M input tokens$0.20/M output tokens10 providers
- Index 41.8
Reads text, images, files and video. Tool calling, structured output, reasoning. Served by 128 providers.
by z-aiAug 26, 20261M context$0.1195/M input tokens$0.4183/M output tokens128 providers
- 128K context
Reads text, images and files. Tool calling, structured output.
by openaiJul 18, 2024$0.15/M input tokens$0.60/M output tokens
More from OpenAI
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiNov 24, 2026$10/M input tokens$50/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiNov 24, 2026$2/M input tokens$10/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiNov 24, 2026$8/M input tokens$40/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiNov 24, 2026$2/M input tokens$10/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.
by openaiNov 17, 2026$8/M input tokens$40/M output tokens26 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.
by openaiNov 17, 2026$2/M input tokens$10/M output tokens26 providers
GPT-4o mini questions
How much does the GPT-4o mini API cost?
$0.15 per million input tokens and $0.60 per million output tokens, with cached input at $0.075. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of GPT-4o mini?
128,000 tokens of input, and it can write up to 16,384 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Which providers serve GPT-4o mini?
24 providers serve it, including Vercel AI Gateway, Cloudflare AI Gateway and Poe. The lowest input price is $0.075 per million tokens at Cloudflare AI Gateway. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does GPT-4o mini support tool calling?
Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.
Is GPT-4o mini open source?
No. OpenAI serves it through an API only, so you cannot download the weights or host it yourself.
When was GPT-4o mini released?
Jul 18, 2024, with training data up to Sep 2023.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.