OpenAIOpenAI

davinci: retirement date, replacement, how to migrate

davinci was retired on 2024-01-04 on the OpenAI API; the vendor's named replacement is davinci-002.

This date is the one in the OpenAI notice for the OpenAI API. Other platforms that host the same model publish their own dates.

Facts

Retirement date
Status
Retired, 1014 days ago
Replacement
davinci-002
Notice date

Find it in your code

npx @upseam/cli inspect openai

grep -rnF 'davinci' .

The first command reads your repository and the change data bundled in the package; nothing leaves your machine. The second is a plain text search.

Migrate

  • davinci davinci-002

Change the id in your code and config to the vendor's named replacement. The record does not say whether outputs, parameters or prices stay the same, so read the vendor's notice before you switch. Open the vendor's notice.

Retiring the same day

Get warned automatically

Upseam is Dependabot for APIs: it watches vendor changelogs and opens a checked pull request when a change affects your code. See how it works.

Last updated 2023-07-06 · Markdown copy