Logo SVG copied to clipboard
Custom development The team behind Manifest can help you develop what your company needs around your LLM gateway. Talk to us

OpenAI gpt-4.1-mini model retirement

Stops workingin 45 days

On January 14, 2027, OpenAI will retire the model gpt-4.1-mini. Calls using this model will fail after that date. The affected model identifier is gpt-4.1-mini.

View as Markdown

The error you get from January 14, 2027

What OpenAI answers a call to gpt-4.1-mini once the model is gone, as recorded from real responses:

HTTP 404
{"error":{"message":"The model `gpt-4.1-mini` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations","type":"invalid_request_error","param":null,"code":"model_not_found"}}

What to use instead of gpt-4.1-mini

Move to gpt-6-luna, which is recommended by OpenAI.

In OpenAI's words

Shutdown date: Jan 14, 2027; Affected model: GPT-4.1 mini ( gpt-4.1-mini-2025-04-14 ); Status: Deprecated; Recommended replacement: gpt-6-luna; Notice date: Oct 14, 2026

OpenAI, Deprecations page

Facts

API
OpenAI api.openai.com
Model
gpt-4.1-mini
Released
April 14, 2025 (models.dev)
Kind
Model retirement
Takes effect
January 14, 2027
Calls after that day
Fail
Last updated
Verified
, against OpenAI's own pages

This data is open source (MIT): mnfst/model-deprecations. Something wrong or missing? Edit on GitHub.

Self-host for free, or let us run it for $19/month.