# code-cushman-002

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

On March 23, 2023, the model code-cushman-002 was shut down. Requests sent to model code-cushman-002 fail since that day. This retirement directly impacts any remaining integrations targeting this legacy model identifier.

## 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. Note that gpt-4o, which was named first, stops working on January 14, 2027.

- 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?ref=manifest.build)
- Verified: November 30, 2026, against OpenAI's own pages
- Page: https://manifest.build/models/openai/code-cushman-002/

## OpenAI's words

> Shutdown date: Mar 23, 2023; Affected model or feature: code-cushman-002; Listed replacement: gpt-4o; Notice date: Mar 20, 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-cushman-002.yaml
