OpenAI: GPT-4.1 mini
GPT-4.1 mini is a language model from OpenAI released on Apr 14, 2025. It reads text, images and files and writes text, with a 1.05M token context window and up to 33K tokens per reply.
Show moreShow less
It costs $0.40 per million input tokens and $1.60 per million output tokens. Cached input bills at $0.10, 75% less than fresh input.
It supports tool calling, structured JSON output and prompt caching.
25 providers serve it, including Vercel AI Gateway, Ofox and Poe. The lowest input price is $0.32 per million tokens at Ofox.
- Modalities
- In / out price
- $0.40 / $1.60 per 1M
- Context
- 1.05M
- Max output
- 33K
- Released
- Apr 14, 2025
- Knowledge cutoff
- Apr 2024
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
GPT-4.1 mini pricing
USD, as listed on Oct 15, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.40 / 1M tokens | |
|---|---|---|
| Output | $1.60 / 1M tokens | |
| Cached input (read) | $0.10 / 1M tokens | 75% off input |
GPT-4.1 mini providers
25 providers serve it, including Vercel AI Gateway, Ofox and Poe. The lowest input price is $0.32 per million tokens at Ofox. 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 |
|---|---|---|---|---|---|
| OpenAI First party | $0.40 | $1.60 | $0.10 | 1.05M | 33K |
| Vercel AI Gateway | $0.70 | $2.80 | $0.175 | 1.05M | 33K |
| Ofox | $0.32 | $1.28 | $0.08 | 1.05M | 33K |
| Poe | $0.36 | $1.40 | $0.09 | 1.05M | 33K |
| 302.AI | $0.40 | $1.60 | – | 1.05M | 33K |
| Abacus | $0.40 | $1.60 | $0.10 | 1.05M | 33K |
| Cloudflare AI Gateway | $0.40 | $1.60 | $0.10 | 1.05M | 33K |
| DevPass (LLM Gateway) | $0.40 | $1.60 | $0.10 | 1M | 33K |
| Eden AI | $0.40 | $1.60 | $0.10 | 1.05M | 33K |
| Helicone | $0.40 | $1.60 | $0.10 | 1.05M | 33K |
| Impossibl | $0.40 | $1.60 | $0.10 | 1.05M | 33K |
| Kilo Gateway | $0.40 | $1.60 | $0.10 | 1.05M | 33K |
Showing 12 of 25 providers: the lab first, then the major clouds, then the cheapest resellers.
What GPT-4.1 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-4.1 mini through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Temperature
temperature
Alternatives to GPT-4.1 mini
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 25 providers.
by googleFeb 18, 2026$0.25/M input tokens$1.50/M output tokens25 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 39 providers.
by openaiJul 9, 2026$0.20/M input tokens$1.20/M output tokens39 providers
- 1M context
Reads text, images, files and video. Tool calling, structured output, reasoning. Served by 7 providers.
by z-aiAug 26, 2026$0.37/M input tokens$1.25/M output tokens7 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning.
by vivgridMar 3, 2026$0.25/M input tokens$1.50/M output tokens
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 9 providers.
by googleMar 20, 2025$0.25/M input tokens$1.50/M output tokens9 providers
- 200K context
Reads text, images and files. Tool calling.
by anthropicMar 13, 2024$0.25/M input tokens$1.25/M output tokens
More from OpenAI
- Index 51.8
Reads text, images and files. Tool calling, structured output, reasoning. Served by 27 providers.
by openaiSep 29, 20261.05M context$2/M input tokens$10/M output tokens27 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiSep 29, 2026$2/M input tokens$10/M output tokens2 providers
- Index 38.1
Reads text, images and files. Tool calling, structured output, reasoning. Served by 27 providers.
by openaiSep 22, 20261.05M context$0.10/M input tokens$0.50/M output tokens27 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiSep 22, 2026$0.10/M input tokens$0.50/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 27 providers.
by openaiSep 22, 2026$2/M input tokens$10/M output tokens27 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiSep 22, 2026$2/M input tokens$10/M output tokens2 providers
GPT-4.1 mini questions
How much does the GPT-4.1 mini API cost?
$0.40 per million input tokens and $1.60 per million output tokens, with cached input at $0.10. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of GPT-4.1 mini?
1,047,576 tokens of input, and it can write up to 32,768 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Which providers serve GPT-4.1 mini?
25 providers serve it, including Vercel AI Gateway, Ofox and Poe. The lowest input price is $0.32 per million tokens at Ofox. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does GPT-4.1 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-4.1 mini open source?
No. OpenAI serves it through an API only, so you cannot download the weights or host it yourself.
When was GPT-4.1 mini released?
Apr 14, 2025, with training data up to Apr 2024.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.
Building on GPT-4.1 mini?
I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.
Book Meeting