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 4 Oct 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 4 Oct 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, 4 Oct 2026 |
| OpenRouter openai/gpt-4.1-mini | $0.40 | $1.60 | $0.10 | 1M | OpenRouter, 4 Oct 2026 |
| Vercel AI Gateway openai/gpt-4.1-mini | $0.40 | $1.60 | $0.10 | 1M | models.dev, 4 Oct 2026 |
| Vercel AI Gateway openai/gpt-4.1-mini-fast | $0.70 | $2.80 | $0.17 | 1M | models.dev, 4 Oct 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 4 Oct 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.
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