Back to all models
Get all the details on text-moderation-latest, 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(
model="text-moderation-latest",
input="...text to classify goes here...",
)
print(response)
Required Libraries
openai
openai
Notes
Older model that supports only text inputs and fewer input categorizations. The newer omni-moderation models will be the best choice for new applications.
Capabilities
Supported Data Types
Input Types
text
Output Types
json
Strengths & Weaknesses
Good at
text content moderation
identifying harmful text
Poor at
image content moderation
multimodal inputs
Additional Information
Latest Update
May 22, 2025
Knowledge Cutoff
No data