The error you get
What OpenAI answers a call to davinci-002 once the model is gone, as recorded from real responses:
{"error":{"message":"The model `davinci-002` 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 of davinci-002
Move to gpt-5.6-terra, recommended by OpenAI. Because gpt-5.6-terra is not served on /v1/completions, moving to it requires more than updating an identifier: transfer calls to Chat Completions (/v1/chat/completions) or the Responses API (/v1/responses), converting the prompt string into messages or input.
gpt-5.6-terra is not served on /v1/completions. Move the call to Chat Completions (/v1/chat/completions) or the Responses API (/v1/responses): the prompt string becomes messages or input.
In OpenAI's words
Shutdown date: Sep 28, 2026; Affected model or feature: davinci-002; Listed replacement: gpt-5.6-terra; Notice date: Sep 26, 2025
Facts
- API
- OpenAI
api.openai.com - Model
davinci-002- Kind
- Model retirement
- Takes effect
- September 28, 2026
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against OpenAI's own pages
Questions
When does davinci-002 shut down?
Calls to the model davinci-002 on OpenAI stopped working on September 28, 2026.
What happens to calls after September 28, 2026?
They have failed since September 28, 2026.
What error does davinci-002 return once it is shut down?
OpenAI answers HTTP 404: "The model `davinci-002` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.
More from OpenAI 10
| Effective | Model | Status |
|---|---|---|
sora-2 | stopped working | |
sora-2-2025-10-06 | stopped working | |
sora-2-2025-12-08 | stopped working | |
sora-2-pro | stopped working | |
sora-2-pro-2025-10-06 | stopped working | |
babbage-002 | stopped working | |
gpt-3.5-turbo-1106 | stopped working | |
gpt-3.5-turbo-instruct | stopped working | |
gpt-5.4-cyber | stopped working | |
ft-babbage-002 | stopped working |