Logo SVG copied to clipboard
Custom development The team behind Manifest can help you develop what your company needs around your LLM gateway. Talk to us

OpenAI code-davinci-001 model retirement

Stopped working

On March 23, 2023, the model code-davinci-001 was shut down. Requests sent to model code-davinci-001 fail since that day.

View as Markdown

The error you get

What OpenAI answers a call to code-davinci-001 once the model is gone, as recorded from real responses:

HTTP 404
{"error":{"message":"The model `code-davinci-001` 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 code-davinci-001

Move to gpt-6-luna. While gpt-4o was named first as a replacement, it stops working on January 14, 2027.

In OpenAI's words

Shutdown date: Mar 23, 2023; Affected model or feature: code-davinci-001; Listed replacement: gpt-4o; Notice date: Mar 20, 2023

OpenAI, Deprecations page

Facts

API
OpenAI api.openai.com
Model
code-davinci-001
Kind
Model retirement
Takes effect
March 23, 2023
Calls after that day
Fail
Last updated
Verified
, against OpenAI's own pages

This data is open source (MIT): mnfst/model-deprecations. Something wrong or missing? Edit on GitHub.

Self-host for free, or let us run it for $19/month.