EN ▾
Get your key

Unmoderated AI API: What It Means and the Risks

An unmoderated ai api is a text model endpoint that does not refuse prompts for content reasons. The provider drops the filter, which means the rules for your users become your job.

Last updated

Open gate on a data pipeline with a control booth, showing developer-owned moderation for an unmoderated API

Summary

  1. Unmoderated means no content refusals from the model for lawful adult use; it does not mean no rules apply to you.
  2. The hard limit stays: no sexual content involving minors.
  3. A small layer of your own (age gate, per-user limits, logging, a blocklist) covers most practical risk.
  4. Prompts are not used for training, but you still decide what you store.

What an unmoderated API actually is

Most hosted language models ship with a moderation layer. It can be a classifier that scans your prompt, a model trained to refuse certain topics, or both. An unmoderated API removes the refusal behavior. You send a request to POST /v1/chat/completions and the model answers instead of declining a topic that is legal but sensitive: dark fiction, blunt medical or security questions, adult roleplay, harsh character voices.

Here, the endpoint is OpenAI-compatible and serves one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. It is not the official API of any model vendor. It is text only. The one rule that does not move is that sexual content involving minors is never allowed.

The word unmoderated is a description of the model, not a promise that anything goes inside your product. It tells you where the filter used to sit and that the slot is now empty.

Moderated and unmoderated side by side

QuestionModerated APIUnmoderated API
Who decides what is refusedThe providerYou, in your own app
Sensitive but lawful topicsMay return a refusal or a softened answerModel answers
Effect on your productPredictable limits, less controlMore control, more responsibility
Typical useGeneral assistants, customer supportFiction, roleplay, companion apps, red-team tests, research on model behavior

Neither choice is better in every case. If you serve children, run a public support bot, or must satisfy a strict corporate policy, a moderated model is the sensible default. If your users are adults who opted in to mature fiction or blunt conversation, repeated refusals are a product defect, and an unmoderated endpoint fixes it.

Where responsibility shifts to you

When a provider filters, the provider carries part of the risk. When it does not, that risk moves to the developer who sits between the model and the user. In practice, four duties land on you.

  1. Who your users are. Decide the age requirement and enforce it before the chat opens.
  2. What you allow. Write a short acceptable-use policy. Terms of service should say what is banned in your product, whatever the model can produce.
  3. What you keep. Conversations can contain private material. Store as little as you need and say so in your privacy policy.
  4. What you do with abuse. Have a way to ban a user and a person who reads reports.

None of these require building a large trust-and-safety team. They require deciding the answers on purpose, once, instead of discovering them after an incident.

Put differently, you move from being a user of someone else's policy to being the author of your own. That is more work on day one and more control afterwards. Teams that write the policy early, even half a page long, find that later decisions about edge cases get quick, because they only compare a request with a rule that already exists.

The real risks, ranked by how often they bite

1. Cost abuse

The most common problem is not content. It is someone scripting your public chat endpoint to burn your balance. Output costs $0.50 per 1M tokens, so 10 million tokens of abuse is $5.00. That is small per incident, but a loop that runs overnight adds up. Per-user request caps and a hard max_tokens fix this.

2. Prompt injection

If your app feeds web pages, emails or uploaded files to the model, text inside those can try to steer it. An unmoderated model does not add this risk, but it removes one backstop. Treat model output as untrusted text, never as commands, and never give it tools that can move money or delete data without a confirmation step.

3. Content you did not intend

Fiction apps sometimes drift into territory the product owner never planned. System prompts that set tone and limits help, as does a visible report button.

4. Illegal material

Content involving minors is prohibited on this service and illegal in most places. Add your own check to stop such requests at your door, and stop serving any account that tries.

A minimal safety layer you can add today

This example wraps the call with five small controls: an age confirmation flag, a per-user rate limit, a prompt length cap, a hard-stop word check, and a log of the request ID so you can trace a complaint. Replace the blocklist with terms that fit your product.

import time
from collections import defaultdict, deque
from openai import OpenAI

client = OpenAI(base_url="https://api.aiunmoderated.com/v1", api_key="YOUR_KEY")

HARD_STOP = ["child", "minor", "underage"]   # extend for your product
MAX_PROMPT_CHARS = 8000
PER_USER_PER_MIN = 10
seen = defaultdict(deque)

def guarded_chat(user_id: str, adult_confirmed: bool, text: str) -> str:
    if not adult_confirmed:
        return "Please confirm you are an adult to continue."
    if len(text) > MAX_PROMPT_CHARS:
        return "That message is too long."
    lowered = text.lower()
    if any(word in lowered for word in HARD_STOP):
        return "This request cannot be processed."
    now = time.time()
    q = seen[user_id]
    while q and now - q[0] > 60:
        q.popleft()
    if len(q) >= PER_USER_PER_MIN:
        return "Slow down a little and try again."
    q.append(now)

    raw = client.chat.completions.with_raw_response.create(
        model="uncensored",
        messages=[
            {"role": "system", "content": "You write adult fiction. Keep all characters adults."},
            {"role": "user", "content": text},
        ],
        max_tokens=400,
    )
    print("request_id", raw.headers.get("X-Request-Id"), "user", user_id)
    return raw.parse().choices[0].message.content

A word blocklist is crude and will produce false positives, so treat it as a tripwire and route hits to review rather than relying on it alone. For stronger screening, run a second small classification call on the user text and refuse on a positive result, then log it.

If you want a moderation step of your own

Some products want a filter even when the model does not refuse. You can add one without changing providers, because moderation can sit in front of the call, after it, or both.

Before the call

Check the user text against your policy: length, blocked terms, age confirmation, and a second small request that asks the model to label the input as allowed or not allowed under rules you write. The label call is cheap. A 300-token input plus a 5-token label costs 300 x $0.15 per 1M + 5 x $0.50 per 1M = $0.0000475, about five thousandths of a cent. Run it on every message and the cost of 100,000 checks is $4.75.

After the call

Screen the reply the same way before showing it, if your product rules require that. This protects you from the model drifting outside the scene you set. It adds latency, so apply it to products where the rules are strict and skip it for private tools.

Human review

Any public product needs a person who reads reports. Give users a visible report button, store the request ID from the X-Request-Id header with each conversation turn, and keep logs only as long as your policy says. When a complaint arrives, the ID lets you find exactly which exchange it was.

None of this is required by the API. It is a choice about your product, and the right amount depends on who your users are, which is the point of owning the filter.

Policy checklist before you launch

  • State the minimum age and ask users to confirm it.
  • Publish what is banned in your product and how to report it.
  • Cap tokens and requests per user, and set an alert on your balance. Every response includes an X-Balance-USD header.
  • Keep the API key on your server, never in a browser or mobile app.
  • Decide a retention period for chat logs. Prompts sent to this API are not used for training, but your own database is your responsibility.
  • Pick a way to remove an abusive account within minutes.

The service has its own terms and privacy notes; read them next to your own, since your users are covered by yours. Technical details such as streaming, tool calling and JSON mode are in the docs.

Getting started and what it costs

Sign up with Google or with email and password, then open the API key page and claim the $0.50 trial credit. It needs no card, lasts 7 days, and is one per person. That is enough for a few thousand short test requests while you build the safety layer. A chat turn of 1,000 input and 300 output tokens costs $0.0003, so $0.50 stretches to roughly 1,600 of them. Start at the API key page.

For real traffic, top up any whole amount from $20 to $500 in crypto (USDT on TRC20 or USDC on Base). Bonuses are +5% from $50, +10% from $100 and +15% from $200, and credit never expires. See pricing for the full table.

FAQ

Is an unmoderated AI API legal?

Using a model that does not refuse lawful adult content is legal in many places, but laws differ and you are responsible for your product and users. Content involving minors is never allowed.

Does unmoderated mean the provider logs nothing?

No. It describes the model's refusal behavior. Prompts are not used for training, but you decide what your own app stores.

Do I still need a system prompt?

Yes. A system prompt sets tone, character rules and limits for your product, and it is your main control over output.

Can I expose the API key in a web page?

No. Keep the key on your server and have your front end talk to your backend, which applies per-user limits.

Get your key now

Sign up, copy the key, update your endpoint. Done.

AiUnmoderatedUncensored LLM API for Developers

Start with free credit Use email and password. Key appears immediately.