Logo
Back to all models

text-moderation-007 - In-Depth Overview

OpenAI · Moderation

outdated

Model ID: text-moderation-007

Get all the details on text-moderation-007, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as content_moderation, text_classification, 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-007",
    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.

Supported Data Types

Input Types

text

Output Types

json

Strengths & Weaknesses

Good at

text content moderation
identifying harmful text

Poor at

image content moderation
multi-modal inputs

Additional Information

Latest Update

Jan 1, 2023

Knowledge Cutoff

No data