models/Mistral/Mistral Moderation 2
Mistral

Mistral Moderation 2

moderation
Compare

Mistral's policy-aware moderator. Returns per-category scores.

MODALITIES
text

Mistral Moderation 2 (mistral/mistral-moderation-26-03) is a moderation model from Mistral. Context window: tokens; max output . Pricing via AIgateway: $0.0001 per request. Call it via https://api.aigateway.sh/v1/moderations — set model="mistral/mistral-moderation-26-03". Best for: Input/output moderation, UGC compliance.

model · mistral/mistral-moderation-26-03family · Moderation

Use this model

model: mistral/mistral-moderation-26-03
curl https://api.aigateway.sh/v1/moderations \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistral/mistral-moderation-26-03"}'

Capabilities

Strengths

  • 9-category moderation
  • Multi-lingual

Use cases

Input/output moderationUGC compliance

Pricing

Per request$0.0001
You pay pass-through · 5% applied at credit top-up, not per-call.
See API example →CompareAPI referenceSee usage ranking →

Collections

More text models →More from MistralFrontier models →Free-tier models →
API schema

Call Mistral Moderation 2 from any OpenAI SDK

POST https://api.aigateway.sh/v1/chat/completions·Content-Type: application/json·Auth: Bearer sk-aig-...

Request body

json
{
  "model": "mistral/mistral-moderation-26-03",
  "messages": [
    { "role": "system", "content": "You are a helpful assistant." },
    { "role": "user",   "content": "Hello!" }
  ],
  "temperature": 0.7,
  "top_p": 0.95,
  "max_tokens": 1024,
  "stream": false

}

Response

json
{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "created": 1776947082,
  "model": "mistral/mistral-moderation-26-03",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 24,
    "completion_tokens": 12,
    "total_tokens": 36
  }
}

Quickstart

# pip install aigateway-py openai
# aigateway-py adds sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK covers chat — drop-in per our SDK's own guidance.
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

r = client.chat.completions.create(
    model="mistral/mistral-moderation-26-03",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →

Frequently asked questions

What is Mistral Moderation 2?
Mistral's policy-aware moderator. Returns per-category scores. It is a moderation model from Mistral, accessible via AIgateway's OpenAI-compatible API at slug mistral/mistral-moderation-26-03.
How much does Mistral Moderation 2 cost via AIgateway?
Pass-through pricing plus a 5% platform fee applied at top-up. See the pricing panel on this page for exact rates.
How do I call Mistral Moderation 2 from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "mistral/mistral-moderation-26-03". The request and response shapes match OpenAI exactly.
Does Mistral Moderation 2 support streaming, tool calling, vision, and JSON mode?
Streaming — no. Tool calling — no. Vision — no. JSON mode — no. Prompt caching — no.
What are the best use cases for Mistral Moderation 2?
Input/output moderation, UGC compliance. Key strengths: 9-category moderation; Multi-lingual.
Can I bring my own Mistral API key (BYOK)?
Yes. Attach a Mistral key in your AIgateway dashboard and this model flips to pass-through — you pay Mistral directly and AIgateway waives the 5% platform fee on those calls.