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

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, 18 Nov 2026
OpenRouter
openai/gpt-4.1-mini
$0.40$1.60$0.101MOpenRouter, 18 Nov 2026
Vercel AI Gateway
openai/gpt-4.1-mini
$0.40$1.60$0.101Mmodels.dev, 18 Nov 2026
Vercel AI Gateway
openai/gpt-4.1-mini-fast
$0.70$2.80$0.171Mmodels.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.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
Gemini 2.5 FlashGoogle DeepMind17 Jun 20251M$0.30$2.50Closed
Qwen3 Coder FlashAlibaba (Qwen)28 Jul 20251M$0.20$0.97Closed
Palmyra X5Writer28 Apr 20251M$0.60$6Closed
Gemini 2.5 Flash-LiteGoogle DeepMind17 Jun 20251M$0.10$0.40Closed
Nova 2 LiteAmazon2 Dec 20251M$0.30$2.50Closed
Morph V3 FastMorph7 Jul 2025262K$0.80$1.20Closed

Change history

No changes detected since we started tracking this model. We re-check every source daily.

Sources