# code-cushman-002

Calls to the model code-cushman-002 on OpenAI stopped working on March 23, 2023.

## The error OpenAI returns once code-cushman-002 is gone

HTTP 404

```json
{"error":{"message":"The model `code-cushman-002` 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 gpt-6-luna. gpt-4o, named first, stops working on 2027-01-14.

- API: OpenAI (api.openai.com)
- Model: code-cushman-002
- Kind: Model retirement
- Takes effect: March 23, 2023
- Calls after that day: fail
- Calls it hits: `model code-cushman-002`
- 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-cushman-002/

## OpenAI's words

> Shutdown date: 2023-03-23; Deprecated model: code-cushman-002; Recommended replacement: gpt-4o

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