gpt-4.1-mini-2025-04-14
gpt-4.1-mini-2025-04-14 retires on 14 Jan 2027. Official source
Calls to gpt-4.1-mini-2025-04-14 fail with an error, so every feature that uses it stops working.
Recommended replacementgpt-6-luna
Where and when
| Platform | Change | Date | Time left | Replacement |
|---|---|---|---|---|
| OpenAI API | Retires | 14 Jan 2027 | 46 days | gpt-6-luna |
What to do before the date
1. Find every place your code uses it
Paste a public GitHub repository. The free scan lists each file and line that uses gpt-4.1-mini-2025-04-14, and every other AI model and API with a date. No sign-up, and your code is deleted when the scan ends.
2. Test gpt-6-luna on your own prompts first
A newer model can answer differently: longer, shorter, or in a format your code no longer parses. Replay your real prompts on both and compare, on your own API key, with the free open-source CLI or GitHub Action:
ai-change-guard replay --set golden.jsonl --old openai:gpt-4.1-mini-2025-04-14 --new openai:gpt-6-luna
3. Get a warning before the next one
Install the GitHub App on your repositories: every pull request is checked, and you get an email before each model you use changes. Install free · Have the switch tested for you
Other OpenAI changes coming up
- OpenAI Evals platform and API30 Nov 2026 1 day
- OpenAI Reusable Prompts API (/v1/prompts)30 Nov 2026 1 day
- chatgpt-image-latest1 Dec 2026 2 days
- gpt-image-1-mini1 Dec 2026 2 days
- gpt-image-1.51 Dec 2026 2 days
- gpt-image-1.5-2025-12-161 Dec 2026 2 days
Get the weekly deadline digest
Every Monday: the AI model and API changes coming up, each with the provider's own notice. One click to unsubscribe, and we delete your address.