# gpt-4.1-mini-2025-04-14

Calls to the model gpt-4.1-mini-2025-04-14 on OpenAI stop working on January 14, 2027.

On January 14, 2027, model gpt-4.1-mini-2025-04-14 will reach its shutdown date and be retired. Requests specifying model gpt-4.1-mini-2025-04-14 after this day will fail. Developers relying on this model should plan their transition before the retirement date.

## The error OpenAI returns once gpt-4.1-mini-2025-04-14 is gone

HTTP 404

```json
{"error":{"message":"The model `gpt-4.1-mini-2025-04-14` 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

Move to gpt-6-luna, which is the recommended replacement from OpenAI.

- API: OpenAI (api.openai.com)
- Model: gpt-4.1-mini-2025-04-14
- Released: April 14, 2025 (models.dev)
- Kind: Model retirement
- Takes effect: January 14, 2027
- Calls after that day: fail
- Calls it hits: `model gpt-4.1-mini-2025-04-14`
- Source: [Deprecations page](https://developers.openai.com/api/docs/deprecations)
- Verified: November 6, 2026, against OpenAI's own pages
- Page: https://www.okapi.bot/models/openai/gpt-4.1-mini-2025-04-14/

## OpenAI's words

> Shutdown date: January 14, 2027; Model / system: GPT-4.1 mini ( gpt-4.1-mini-2025-04-14 ); Recommended replacement: gpt-6-luna

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
