Okapi Okapi

OpenAI · Model retirement

gpt-4

Stops working (tomorrow)

On October 23, 2026, the model gpt-4 will be retired. Calls using model gpt-4 will fail after this date. This retirement affects all requests targeting that specific model on api.openai.com.

What to use instead of gpt-4

Move to gpt-5.6-sol, which is recommended by OpenAI.

Facts

API
OpenAI api.openai.com
Model
gpt-4
Kind
Model retirement
Takes effect
October 23, 2026
Calls after that day
Fail
Source
Deprecations page
Last updated

More from OpenAI

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub