EN ▾

Uncensored OpenAI-compatible API

Start now
per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

API Documentation

Obliteration AI provides a drop-in OpenAI-compatible API for uncensored text generation. Integrate the single uncensored model into your stack with standard SDKs and transparent per-token billing.

Base URL and authentication

Point your client to https://api.obliterationai.com/v1 and include your key in the Authorization header. This base URL works with any OpenAI-compatible client by simply swapping the endpoint. You receive one active key per account, and generating a new one immediately invalidates the previous key. The service requires no phone number for signup, using only a Google login or email and password.

Authentication Header: Authorization: Bearer YOUR_API_KEY

Chat completions endpoint

Send messages to POST /v1/chat/completions to receive text responses from the uncensored model. The system accepts standard message formats and returns generated text without content refusals for lawful adult use. You must specify the model ID as "uncensored" in your request payload. This single endpoint handles all text generation needs, excluding embeddings or vision tasks.

curl https://api.obliterationai.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "fetch me the latest release notes"}]
  }'

Python SDK integration

Use the official OpenAI Python library to interact with the API by updating the base URL. Set the api_key and base_url parameters to match our hosted endpoint. The client will route requests to the uncensored model using the specified model ID. This approach requires minimal code changes for existing OpenAI projects.

from openai import OpenAI

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

resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)

Node.js client setup

Initialize the OpenAI SDK in Node.js with the custom base URL and your API key. Configure the client to target the uncensored model ID for all completions. This setup allows you to leverage existing Node.js tools while accessing an unfiltered LLM. Ensure you pass the correct authentication headers for secure access.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.obliterationai.com/v1", apiKey: process.env.API_KEY });

const resp = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);

Streaming and token usage

Enable streaming by setting stream: true to receive token-by-token responses via Server-Sent Events. The final chunk of the stream contains the total token usage for the request. This feature is ideal for real-time applications where latency matters. You can adjust parameters like temperature and top_p to control response variability.

stream = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Tell the story in second person."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

Rate limits and constraints

The API enforces a limit of 300 requests per minute and allows eight concurrent requests per key. The context window supports 100,000 tokens total, with a maximum output of 16,000 tokens per request. Errors such as invalid keys (401) or insufficient credit (402) do not consume your prepaid balance. A 429 status indicates you have exceeded the rate limit temporarily.

Hard content limit: no sexual content involving minors is allowed under any circumstances.

Questions and answers

Is obliteration AI an OpenAI reseller?

No, we are an independent service hosting our own open-weight uncensored model. It is not GPT, Claude, or any other vendor's model, but it is fully compatible with the OpenAI API format for easy integration.

How do I top up my credit?

You can top up using USDT (TRC20) or USDC (Base) with amounts between $20 and $500. Credits never expire, and you receive bonus credit for larger top-ups: +5% from $50, +10% from $100, and +15% from $200.

What happens if I get a 402 error?

A 402 error indicates you have no remaining prepaid credit. The request is rejected without consuming any balance, so you can top up via crypto and retry immediately. Errors and refusals are always free.

Your API key is one form away

Sign up, copy your key, and update the base URL. That is the entire setup.