Logo
Back to all models

text-moderation-007 - In-Depth Overview

OpenAI · Moderation

deprecated

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, 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="This is some text to moderate.",
  model="text-moderation-007"
)

moderation_output = response.results
print(moderation_output)

Required Libraries

openai
openai

Notes

Previous generation text-only moderation model. Use omni-moderation for text and image moderation.

Capabilities

content moderation

Supported Data Types

Input Types

text

Output Types

json

Strengths & Weaknesses

Good at

Detecting unsafe text content

Poor at

Multimodal moderation
Generating text

Additional Information

Latest Update

May 18, 2025

Knowledge Cutoff

No data