# text-moderation-007

Calls to the model text-moderation-007 on OpenAI stopped working on October 27, 2025.

## The error OpenAI returns once text-moderation-007 is gone

HTTP 404

```json
{"error":{"message":"The model `text-moderation-007` 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 omni-moderation, recommended by OpenAI.

- API: OpenAI (api.openai.com)
- Model: text-moderation-007
- Kind: Model retirement
- Takes effect: October 27, 2025
- Calls after that day: fail
- Calls it hits: `model text-moderation-007`
- 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/text-moderation-007/

## OpenAI's words

> Shutdown date: 2025-10-27; Model / system: text-moderation-007; Recommended replacement: omni-moderation

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