OpenAI

GPT-4.1 mini

Generally availableProprietary1M context

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

DeveloperOpenAI
Release date14 Apr 2025 [models.dev]
StatusGenerally available [models.dev]
WeightsProprietary (API only) [models.dev]
Context window1M (1,047,576 tokens) [models.dev]
Max output33K tokens [models.dev]
Knowledge cutoffApr 2024 [models.dev]
InputText, images and PDFs [models.dev]
OutputText [models.dev]
Reasoning modeNo [models.dev]
Tool callingYes [models.dev]
Structured outputYes [models.dev]

GPT-4.1 mini API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
OpenAI API
gpt-4.1-mini
$0.40$1.60$0.101Mmodels.dev, 4 Oct 2026
OpenRouter
openai/gpt-4.1-mini
$0.40$1.60$0.101MOpenRouter, 4 Oct 2026
Vercel AI Gateway
openai/gpt-4.1-mini
$0.40$1.60$0.101Mmodels.dev, 4 Oct 2026
Vercel AI Gateway
openai/gpt-4.1-mini-fast
$0.70$2.80$0.171Mmodels.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