Logo
Back to all models

text-moderation-latest - In-Depth Overview

OpenAI · text-moderation

Current
Latest in family

Model ID: text-moderation-latest

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, harmful_content_detection, available API code samples, and performance strengths.

Key Metrics

Input Limit

32.8K tokens

Output Limit

32.8K 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

Moderation models are free models designed to detect harmful content. This is our text only moderation model; we expect omni-moderation-* models to be the best default moving forward.

Supported Data Types

Input Types

text

Output Types

text

Strengths & Weaknesses

Exceptional at

content moderation
harmful content detection

Additional Information

Latest Update

Sep 1, 2021

Knowledge Cutoff

Sep 1, 2021