# code-search-babbage-text-001

Calls to the model code-search-babbage-text-001 on OpenAI stopped working on January 4, 2024.

On January 4, 2024, OpenAI shut down model code-search-babbage-text-001. Calls targeting this model fail since that day.

## The error OpenAI returns once code-search-babbage-text-001 is gone

HTTP 404

```json
{"error":{"message":"The model `code-search-babbage-text-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

Move to text-embedding-3-small, recommended by OpenAI.

- API: OpenAI (api.openai.com)
- Model: code-search-babbage-text-001
- Kind: Model retirement
- Takes effect: January 4, 2024
- Calls after that day: fail
- Calls it hits: `model code-search-babbage-text-001`
- Source: [Deprecations page](https://developers.openai.com/api/docs/deprecations?ref=manifest.build)
- Verified: November 30, 2026, against OpenAI's own pages
- Page: https://manifest.build/models/openai/code-search-babbage-text-001/

## OpenAI's words

> Shutdown date: Jan 4, 2024; Affected model or feature: code-search-babbage-text-001 Historical price $5.00 / 1M tokens; Listed replacement: text-embedding-3-small; Notice date: Jul 6, 2023

This data is open source (MIT): https://github.com/mnfst/model-deprecations. Edit this entry: https://github.com/mnfst/model-deprecations/blob/main/models/openai/code-search-babbage-text-001.yaml
