AI Change Guard
Retired

text-davinci-002

text-davinci-002 was retired on 4 Jan 2024. Official source

Calls to text-davinci-002 fail with an error, so every feature that uses it stops working.

Recommended replacementgpt-3.5-turbo-instruct

Where and when

PlatformChangeDateTime leftReplacement
OpenAI APIRetires4 Jan 2024Passedgpt-3.5-turbo-instruct

What to do now

  1. 1. Find every place your code uses it

    Paste a public GitHub repository. The free scan lists each file and line that uses text-davinci-002, and every other AI model and API with a date. No sign-up, and your code is deleted when the scan ends.

  2. 2. Test gpt-3.5-turbo-instruct on your own prompts first

    A newer model can answer differently: longer, shorter, or in a format your code no longer parses. Replay your real prompts on both and compare, on your own API key, with the free open-source CLI or GitHub Action:

    ai-change-guard replay --set golden.jsonl --old openai:text-davinci-002 --new openai:gpt-3.5-turbo-instruct
  3. 3. Get a warning before the next one

    Install the GitHub App on your repositories: every pull request is checked, and you get an email before each model you use changes. Install free · Have the switch tested for you

Other OpenAI changes coming up

Get the weekly deadline digest

Every Monday: the AI model and API changes coming up, each with the provider's own notice. One click to unsubscribe, and we delete your address.