Logo
Back to all models

Text Moderation - In-Depth Overview

OpenAI · Moderation

deprecated

Model ID: text-moderation-stable

Get all the details on Text Moderation, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as content_moderation, available API code samples, and performance strengths.

Key Metrics

Input Limit

No data tokens

Output Limit

No data tokens

Input Cost

$0.00/1M

Output Cost

$0.00/1M

Sample API Code

from openai import OpenAI
client = OpenAI()
response = client.moderations.create(
    input="I want to kill them."
)
print(response)

Required Libraries

openai
openai

Notes

Previous generation text-only moderation model. It is deprecated in favor of `omni-moderation`.

Capabilities

Supported Data Types

Input Types

text

Output Types

json

Strengths & Weaknesses

Good at

detecting unsafe text content

Additional Information

Latest Update

Jan 1, 2023

Knowledge Cutoff

No data