Model retirements · OpenAI API · checked
gpt-4.1-mini-2025-04-14 shutdown on 14 January 2027
OpenAI shuts down gpt-4.1-mini-2025-04-14 on the OpenAI API on 14 January 2027 and recommends gpt-6-luna as the replacement. No price ratio: this dated snapshot is not in OpenAI’s standard price table (only its fine-tuning rows are) when checked on 19 October 2026, so no ratio is given. OpenAI's deprecation page documents no API changes for this move. Record your answers before 14 January 2027: after that nobody can ask gpt-4.1-mini-2025-04-14 again.
Find every place your code and config name it, with this page's facts beside each:
$ npx --allow-remote=root https://agentwares.vercel.app/dl/model-migrate-0.2.0.tgz scan
npx --allow-remote=root https://agentwares.vercel.app/dl/model-migrate-0.2.0.tgz scan lists every model ID in your code and config that has a shutdown date, with its replacement, price ratio and this page's link. It needs no account and no API key, reads your files on your machine and sends nothing; its one request fetches this data. Free and MIT licensed.
The facts
- Platform
- OpenAI API
- Model ID
gpt-4.1-mini-2025-04-14- Announced
- 14 October 2026
- Shutdown
- 14 January 2027
- Recommended replacement
gpt-6-luna- List price per million tokens, input / output
- This dated snapshot is not in OpenAI’s standard price table (only its fine-tuning rows are) when checked on 19 October 2026, so no ratio is given.
Prices are the provider's list prices for the standard tier, text input and the shortest context tier. A per-token ratio leaves out how many tokens each model spends on the same prompt; only your own prompts show that.
What changes when you move
OpenAI's deprecation page lists no parameter or API changes for this move. The model's answers still change: a replacement is a different model.
- Fine-tuned models built on this snapshot shut down on the same date as the base model.
- OpenAI's notice names the dated snapshots only; the bare alias `gpt-4.1-mini` is not named in it (read 19 October 2026).
- OpenAI’s standard price table lists `gpt-4.1-mini` at $0.40 / $1.60 per million input / output tokens and `gpt-6-luna` at $0.10 / $0.50 for up to 272K input tokens ($0.20 / $0.75 above that), read 19 October 2026.
How to test the replacement on your own prompts
- Find every call that names
gpt-4.1-mini-2025-04-14:npx --allow-remote=root https://agentwares.vercel.app/dl/model-migrate-0.2.0.tgz scanprints each file and line. - Before 14 January 2027, record what gpt-4.1-mini-2025-04-14 answers on a sample of your real prompts, with the token counts OpenAI reports, on your own key:
npx --allow-remote=root https://agentwares.vercel.app/dl/model-migrate-0.2.0.tgz capture prompts.jsonl --model gpt-4.1-mini-2025-04-14. After the shutdown that record cannot be made. - Run the same prompts on
gpt-6-luna, a cheaper sibling and a model from another provider, and compare with checks that need no judge: exact or normalised match, JSON validity and schema, tool-call names and arguments, refusals and length.npx --allow-remote=root https://agentwares.vercel.app/dl/model-migrate-0.2.0.tgz comparedoes this on your keys. - Price the move with the token counts each provider reports for those prompts, not with the list price alone;
comparereports the cost per 1,000 calls.
Keep testing until the date
capture and compare run on your keys and keep everything on your machine. To re-run the same prompts against your own endpoint whenever a provider ships a model, with the history kept, npx --allow-remote=root https://agentwares.vercel.app/dl/model-migrate-0.2.0.tgz export --agentcheck writes them as traces that agentcheck imports onto a target you monitor there. On its Pro plan they become checks that re-run when a provider ships a model, with 90 days of history. Re-run them on agentcheck Pro.
Migration watch is not built. It would re-run your captured prompts on each replacement and each new model until 14 January 2027, with no endpoint needed, and email you what changed. If you would pay for that, say so with one click. The click is counted, and nothing else is sent or stored unless you then leave an email.
Counted. Thank you; nothing else was sent.
Also shutting down on 14 January 2027
- gpt-4o-2024-08-06 (OpenAI API)
- gpt-4o-mini-2024-07-18 (OpenAI API)
- gpt-4.1-2025-04-14 (OpenAI API)
Other OpenAI API retirements
- ft-babbage-002 — 23 Oct 2026
- ft-davinci-002 — 23 Oct 2026
- ft-gpt-3.5-turbo — 23 Oct 2026
- ft-gpt-4 — 23 Oct 2026
- ft-gpt-4.1-nano-2025-04-14 — 23 Oct 2026
- ft-o4-mini-2025-04-16 — 23 Oct 2026
Every announced shutdown, by date
Sources
- OpenAI API deprecations — shutdown date and replacement, read 19 Oct 2026
Built only from the providers' own pages. No vendor intent is implied: a date is what the page says on the day it was read. Data: /models/retirements.json.
model-migrate is a free tool from agentcheck, which re-runs an agent's checks when a provider ships a model and replays recorded traces nightly, so a model change that breaks it arrives as one diff by email.