# GPT-4.1 mini

> 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.

Source page: https://www.aimodel.directory/models/gpt-4-1-mini
Last verified: 4 Oct 2026

## Specifications

- **Developer:** OpenAI
- **Release date:** 14 Apr 2025 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Status:** Generally available (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Weights:** Proprietary (API only) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Context window:** 1M (1,047,576 tokens) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Max output:** 33K tokens (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Knowledge cutoff:** Apr 2024 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Input:** Text, images and PDFs (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Output:** Text (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Reasoning mode:** No (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Tool calling:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)
- **Structured output:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-4.1-mini.toml)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| OpenAI API | $0.40 | $1.60 | $0.10 | 1M |
| OpenRouter | $0.40 | $1.60 | $0.10 | 1M |
| Vercel AI Gateway | $0.40 | $1.60 | $0.10 | 1M |
| Vercel AI Gateway | $0.70 | $2.80 | $0.17 | 1M |

## FAQ

### 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.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "GPT-4.1 mini", https://www.aimodel.directory/models/gpt-4-1-mini