# davinci: retirement date, replacement, how to migrate

`davinci` was retired on 2024-01-04 on the OpenAI API; the vendor names these replacements: `davinci-002`, `gpt-3.5-turbo`, and `gpt-4o`.

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: 2024-01-04
- Status: Retired, 1014 days ago
- Replacement: `davinci-002`, `gpt-3.5-turbo`, `gpt-4o`
- Official notice: https://developers.openai.com/api/docs/deprecations#2023-07-06-gpt-and-embeddings
- Notice date: 2023-07-06

## Find it in your code

```sh
npx @upseam/cli inspect openai
grep -rnF 'davinci' .
```

## Migrate

The vendor names more than one replacement. Which one applies is in its notice. Vendor's notice: https://developers.openai.com/api/docs/deprecations#2023-07-06-gpt-and-embeddings

## Get warned automatically

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

Last updated 2023-07-06
