text-moderation-stable to omni-moderation
Some values not published Checked 2026-11-12.
Price per 1M tokens
| Field | Old | New | Change |
|---|---|---|---|
| Input | Not published | Not published | Not published |
| Output | Not published | Not published | Not published |
| Cached input | Not published | Not published | Not published |
| Example monthly cost | Not published | Not published | Example only |
Context and max output
| Limit | Old | New | Change |
|---|---|---|---|
| Context window | Not published | Not published | Not published |
| Max output | 32,768 | Not published | Not published |
Capabilities that differ
No differing capability values are published for both models.
API changes
No parameter change is listed on the official pages we checked. The sample below only swaps the model id.
Code
python before
from openai import OpenAI
client = OpenAI()
response = client.moderations.create(
model="text-moderation-stable",
input="...text to classify goes here...",
)
python after
from openai import OpenAI
client = OpenAI()
response = client.moderations.create(
model="omni-moderation",
input="...text to classify goes here...",
)
typescript before
import OpenAI from "openai";
const openai = new OpenAI();
const moderation = await openai.moderations.create({
model: "text-moderation-stable",
input: "...text to classify goes here...",
});
typescript after
import OpenAI from "openai";
const openai = new OpenAI();
const moderation = await openai.moderations.create({
model: "omni-moderation",
input: "...text to classify goes here...",
});
curl before
curl https://api.openai.com/v1/moderations \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{"model":"text-moderation-stable","input":"...text to classify goes here..."}'
curl after
curl https://api.openai.com/v1/moderations \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{"model":"omni-moderation","input":"...text to classify goes here..."}'
Checklist
- Read the shutdown date for text-moderation-stable on the linked official page.
- Point your requests at omni-moderation.
- Re-check price, context, and parameters on the provider pages linked here.
- Ship the change before the published shutdown date.