OpenAI Moderation Endpoint Release

OpenAI has introduced a new Moderation endpoint that provides developers with free access to GPT-based classifiers designed to detect undesired content. This tool allows developers to protect their applications from misuse by automating the detection of content that violates safety policies.

Automated Content Classification Capabilities

The Moderation endpoint analyzes text inputs to determine if the content falls into categories prohibited by OpenAI's content policy. Specifically, the tool assesses whether text is:

  • Sexual
  • Hateful
  • Violent
  • Promoting self-harm

The endpoint is engineered for speed and accuracy to ensure robust performance across various applications, reducing the risk of AI-generated content producing inappropriate outputs when deployed at scale. This capability enables the use of AI in sensitive environments, such as education, where high confidence in content safety is required.

Developer Integration and Accessibility

OpenAI provides the Moderation endpoint as a free service for the moderation of all OpenAI API-generated content. By providing this infrastructure, OpenAI removes the need for developers to build and maintain their own custom classifiers, which the company describes as an extensive process.

Key integration details include:

  • Access: Available via a single API call.
  • Scope: Currently supports OpenAI API-generated content; monitoring of third-party traffic is not supported.
  • Use Case: Inworld, an OpenAI API customer, utilizes the endpoint to ensure their AI-based virtual characters remain appropriate for their target audiences.

Research Contributions and Transparency

To support the broader AI safety ecosystem, OpenAI has released the following resources alongside the tool:

  • Technical Paper: A document describing the methodology used to develop the Moderation endpoint.
  • Evaluation Dataset: A dataset featuring Common Crawl data labeled within the moderation categories to encourage further research in content classification.

Sources