GPT-4.1 mini
Summary
GPT-4.1 mini is a proprietary language model from OpenAI, released on 14 Apr 2025. It accepts text, images and PDFs and generates text, with a 1M-token context window and up to 33K output tokens per response. As of 18 Nov 2026, the lowest listed API price is $0.40 per million input tokens and $1.60 per million output tokens (OpenAI API), across 3 providers we track.
Affordable GPT-4.1 lane for fast coding help and structured extraction
Last verified 18 Nov 2026. Every figure on this page links to its source.
Specifications
| Developer | OpenAI |
|---|---|
| Release date | 14 Apr 2025 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Proprietary (API only) [models.dev] |
| Context window | 1M (1,047,576 tokens) [models.dev] |
| Max output | 33K tokens [models.dev] |
| Knowledge cutoff | Apr 2024 [models.dev] |
| Input | Text, images and PDFs [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | No [models.dev] |
| Tool calling | Yes [models.dev] |
| Structured output | Yes [models.dev] |
GPT-4.1 mini API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| OpenAI API gpt-4.1-mini | $0.40 | $1.60 | $0.10 | 1M | models.dev, 18 Nov 2026 |
| OpenRouter openai/gpt-4.1-mini | $0.40 | $1.60 | $0.10 | 1M | OpenRouter, 18 Nov 2026 |
| Vercel AI Gateway openai/gpt-4.1-mini | $0.40 | $1.60 | $0.10 | 1M | models.dev, 18 Nov 2026 |
| Vercel AI Gateway openai/gpt-4.1-mini-fast | $0.70 | $2.80 | $0.17 | 1M | models.dev, 18 Nov 2026 |
Frequently asked questions
What is the context window of GPT-4.1 mini?
GPT-4.1 mini has a context window of 1,047,576 tokens (1M) and can generate up to 32,768 tokens in a single response, according to models.dev.
How much does the GPT-4.1 mini API cost?
Through OpenAI API, GPT-4.1 mini costs $0.40 per million input tokens and $1.60 per million output tokens. Prices last verified 18 Nov 2026.
Is GPT-4.1 mini open source?
No. GPT-4.1 mini is a proprietary model; OpenAI has not released its weights. It is available through APIs including OpenAI API, OpenRouter, Vercel AI Gateway.
When was GPT-4.1 mini released?
OpenAI released GPT-4.1 mini on 14 Apr 2025, according to models.dev.
Which providers offer GPT-4.1 mini?
We track GPT-4.1 mini on 3 providers: OpenAI API, OpenRouter, Vercel AI Gateway.
Similar models from other labs
Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.
| Model | Lab | Released | Context | Input $/1M | Output $/1M | Weights |
|---|---|---|---|---|---|---|
| Gemini 2.5 Flash | Google DeepMind | 17 Jun 2025 | 1M | $0.30 | $2.50 | Closed |
| Qwen3 Coder Flash | Alibaba (Qwen) | 28 Jul 2025 | 1M | $0.20 | $0.97 | Closed |
| Palmyra X5 | Writer | 28 Apr 2025 | 1M | $0.60 | $6 | Closed |
| Gemini 2.5 Flash-Lite | Google DeepMind | 17 Jun 2025 | 1M | $0.10 | $0.40 | Closed |
| Nova 2 Lite | Amazon | 2 Dec 2025 | 1M | $0.30 | $2.50 | Closed |
| Morph V3 Fast | Morph | 7 Jul 2025 | 262K | $0.80 | $1.20 | Closed |
Change history
No changes detected since we started tracking this model. We re-check every source daily.
Sources
- https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml
- https://openrouter.ai/openai/gpt-4.1-mini
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/openai/gpt-4.1-mini.toml
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/openai/gpt-4.1-mini-fast.toml