[BUG] Model not found gpt-4.1-mini

I make calls to the OpenAI API as usual using the Python SDK. However, with the same configuration and call, when I run it 10 times, 2-3 times it reports an error:

Error code: 404 - {‘error’: {‘message’: ‘Model not found gpt-4.1-mini’, ‘type’: ‘invalid_request_error’, ‘param’: ‘model’, ‘code’: None}}

Is this an error on the API’s side? If it is, why isn’t there any notification on https://status.openai.com/?

5 Likes

Same here, made like 3000 requests with current code and today I started getting 404 - {'error': {'message': 'Model not found gpt-4.1-mini'... randomly, sometimes it works, sometimes it fails with 404.

2 Likes

Me too, error_log.txt Model not found gpt-4.1-mini
it happened in the first hour of this posting, but not anymore now

I had the same problem … Because of that, I ended up being forced to implement a model fallback in the system’s code. If it fails with 4.1 mini, use another one in its place during retries … :confused:

This is a documented incident:

1 Like

Still getting sometimes, so fully recovered doesn’t seem to be truth.

3 Likes

I completely agree with what you said. It seems that at the moment, the frequency of errors has decreased. However, this issue hasn’t been completely resolved. I ran 80 unit tests, and at least one of them encountered this problem.

2 Likes

I just got this error as well