Utility OpenAI

OpenAI Moderation API

Use the OpenAI Moderation API via RunAPI with a model skill, unified auth, and pay-as-you-go pricing.

runapi.ai
# Base URL
https://runapi.ai

# Endpoints
POST /v1/moderations
curl https://runapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "omni-moderation-latest",
  "prompt": "Generate a 4K product hero image of a matte-black water bottle on a beige stone surface, soft side light."
}'
from openai import OpenAI

client = OpenAI(
    base_url="https://runapi.ai/v1",
    api_key="your-runapi-key"
)

response = client.chat.completions.create(
    model="omni-moderation-latest",
    messages=[{"role": "user", "content": "Generate a 4K product hero image of a matte-black water bottle on a beige stone surface, soft side light."}]
)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://runapi.ai/v1",
  apiKey: "your-runapi-key"
});

const response = await client.chat.completions.create({
  model: "omni-moderation-latest",
  messages: [{ role: "user", content: "Generate a 4K product hero image of a matte-black water bottle on a beige stone surface, soft side light." }]
});
https://runapi.ai 1 endpoint
OVERVIEW

About OpenAI Moderation

The OpenAI Moderation API delivers a strong quality-to-cost ratio in the utility space. Multiple variants let you pick the tier that matches your latency, quality, and budget targets — start on a fast or lite variant for prototyping, then graduate to pro or max for production. Install the OpenAI Moderation skill to bring docs, typed schemas, pricing notes, and step-by-step setup into your coding workspace. The skill works with Claude Code, Codex, Gemini CLI, Cursor, and VS Code, so your agent has the right context before you write integration code. All variants share a single RunAPI API key, unified billing in USD, and the same async task lifecycle — submit, poll or stream, and receive results via webhook callback.

Provider
OpenAI
Modality
Utility

OpenAI Moderation API endpoints

EndpointProtocol
POST /v1/moderationsOpenAI Moderations
PRICING

Pricing

Failed generations are not charged
Moderation
Free / request
SPEC SHEET

Technical details

Model ID omni-moderation-latest
Provider OpenAI
Modality utility
Task type synchronous
Billing unit call
API endpoint /v1/moderations
Commercial license Yes — included via API
Catalog status Operational
HOW IT WORKS

Get Started with OpenAI Moderation

  1. Create an API key

    Sign up and generate an API key from the dashboard.

  2. Pick a version

    Choose the version that best matches your quality and cost requirements.

  3. Send a request

    Submit your prompt and parameters to the model's documented endpoint.

  4. Get your result

    Poll the task or set a webhook, then download the completed output.

CONTEXT

About OpenAI Moderation on RunAPI

The OpenAI Moderation API exposes a utility model from OpenAI, accessible through RunAPI with a single API key and per-call billing. Developers call OpenAI Moderation the same way they call any other model in the RunAPI catalog — set the model parameter, submit a request, and receive structured JSON. The model skill packages docs, typed schemas, pricing notes, and setup steps so your coding agent has the right context before you write integration code. Billing is unified across all providers, failed generations are never charged, and results are retrievable by task ID.

Provider
OpenAI
See all →
Modality
Utility
Browse models →

Why Use OpenAI Moderation Through RunAPI

One auth, every provider

A single RunAPI API key unlocks the whole model catalog across all providers. No separate accounts to create, no API keys to rotate per integration, and no credential management overhead. Add a new model to your app by changing one parameter.

Unified pricing & billing

Per-call pricing in USD, billed monthly into a single invoice. No subscription tiers, no minimum spend, and failed generations are never charged. The pricing page and check_pricing API show exact costs before you commit to a model.

Schema-first SDK

Typed schemas, parameter constraints, and setup notes are packaged in the model skill so your implementation starts from the right contract. The skill loads into Claude Code, Codex, Gemini CLI, Cursor, and VS Code — your agent knows the correct request shape before you write a line of code.

OpenAI Moderation Questions

What inputs can omni-moderation-latest classify?

It accepts text, text arrays, and mixed text-and-image content using image URLs or base64 data, and returns a synchronous OpenAI-compatible moderation result.

Which variant should I start with?

Pick the cheapest variant that meets your quality bar. Most teams start on the fast variant and graduate to pro for production.

Is there a free tier?

Creating an account and API key is free. API calls use prepaid, pay-as-you-go billing; add funds before making requests.

Do you stream results?

Where streaming is available, RunAPI streams end-to-end.

How are failures billed?

Failed generations are not charged.

Are outputs cached?

Generated outputs are stored and retrievable by task ID. Inputs are not cached.

SIMILAR MODELS

Similar Utility Models

Start generating with OpenAI Moderation