# code-search-babbage-text-001

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

## 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)
- Verified: November 6, 2026, against OpenAI's own pages
- Page: https://www.okapi.bot/models/openai/code-search-babbage-text-001/

## OpenAI's words

> Shutdown date: 2024-01-04; Deprecated model: code-search-babbage-text-001; Deprecated model price: $5.00 / 1M tokens; Recommended replacement: text-embedding-3-small

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
