Model retirement dates / OpenAI

text-moderation-007

OpenAI retired text-moderation-007 on 27 October 2025. API calls to it now fail. The recommended replacement is omni-moderation-latest.

ProviderOpenAI
StatusRetired (as of 11 Nov 2026)
Shutdown27 October 2025
Replacementomni-moderation-latest
Model typeModeration
SourceOpenAI deprecations page

Check your code for it

Run this in your repository. No install and no API key; it lists every OpenAI, Anthropic and Google model ID it finds, with its retirement date and replacement:

npx -y @aidriftline/driftline .

Or look for this ID only: grep -rn "text-moderation-007" . (misses aliases, Bedrock and Vertex names, and IDs split across lines).

To be warned automatically before the next retirement, add the free Driftline GitHub Action. It annotates the exact line in pull requests and can fail the build on retired models.

Same date at OpenAI

o1-mini text-moderation-latest text-moderation-stable

Checked against OpenAI's official page on 11 November 2026. Something wrong? hello@aidriftline.com