Model retirement dates / OpenAI

code-search-babbage-text-001

OpenAI retired code-search-babbage-text-001 on 4 January 2024. API calls to it now fail. The recommended replacement is text-embedding-3-small.

ProviderOpenAI
StatusRetired (as of 11 Nov 2026)
Shutdown4 January 2024
Replacementtext-embedding-3-small
Model typeEmbedding
SourceOpenAI deprecations page

Check your code for it

Run this in your repository. No install and no API key; it lists every OpenAI, Anthropic and Google model ID it finds, with its retirement date and replacement:

npx -y @aidriftline/driftline .

Or look for this ID only: grep -rn "code-search-babbage-text-001" . (misses aliases, Bedrock and Vertex names, and IDs split across lines).

To be warned automatically before the next retirement, add the free Driftline GitHub Action. It annotates the exact line in pull requests and can fail the build on retired models.

Same date at OpenAI

code-davinci-edit-001 code-search-ada-code-001 code-search-ada-text-001 code-search-babbage-code-001 text-ada-001 text-babbage-001 text-curie-001 text-davinci-001 text-davinci-002 text-davinci-003 text-davinci-edit-001 text-search-ada-doc-001

Checked against OpenAI's official page on 11 November 2026. Something wrong? hello@aidriftline.com