OpenAI
text-moderation-007 model retirement
Stopped workingSubscribe to OpenAIShare
Calls to the model text-moderation-007 on OpenAI stopped working on October 27, 2025.
The error you get
What OpenAI answers a call to text-moderation-007 once the model is gone, as recorded from real responses:
{"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 of text-moderation-007
Move to omni-moderation, recommended by OpenAI.
In OpenAI's words
Shutdown date: 2025-10-27; Model / system: text-moderation-007; Recommended replacement: omni-moderation
Facts
- API
- OpenAI
api.openai.com - Model
text-moderation-007- Kind
- Model retirement
- Takes effect
- October 27, 2025
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against OpenAI's own pages
Questions
When does text-moderation-007 shut down?
Calls to the model text-moderation-007 on OpenAI stopped working on October 27, 2025.
What happens to calls after October 27, 2025?
They have failed since October 27, 2025.
What error does text-moderation-007 return once it is shut down?
OpenAI answers HTTP 404: "The model `text-moderation-007` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from OpenAI 10
-
gpt-4-32kModel retirement Stopped working -
gpt-4.5-previewModel retirement Stopped working -
o1-previewModel retirement Stopped working -
gpt-4o-audio-preview-2024-10-01Model retirement Stopped working -
gpt-4o-realtime-preview-2024-10-01Model retirement Stopped working -
o1-miniModel retirement Stopped working -
text-moderation-latestModel retirement Stopped working -
text-moderation-stableModel retirement Stopped working -
codex-mini-latestModel retirement Stopped working -
chatgpt-4o-latestModel retirement Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.