EN ▾
Get API key

Uncensored AI Chatbot: Uncensored AI API Documentation

Integrate our uncensored LLM API in minutes using standard OpenAI SDKs. Send text, receive text, and remove content filters for lawful adult use with transparent, usage-based pricing.

Authentication and Base URL

Start by generating an API key on the Get API key page. You can sign up with Google or use an email and password; no phone number is required. Your key is displayed immediately and is the only way to authenticate requests. Each account supports one active key at a time; generating a new key replaces the old one instantly.

Point your client to the base URL: https://api.uncensoredaichatbot.cc/v1. Pass your key in the Authorization: Bearer <key> header. This setup works with any OpenAI-compatible client. If you switch keys, update your environment variables or config files to maintain access.

Your First Request

Send a POST request to /v1/chat/completions with the model ID uncensored. This model is open-weight, tuned for minimal refusals, and runs on our dedicated servers. It is not GPT, Claude, or any other vendor's model.

  • Model: uncensored
  • Input: JSON with messages array
  • Output: Standard OpenAI response format

Use the following example to verify connectivity:

curl https://api.uncensoredaichatbot.cc/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
  }'

Python SDK Integration

Use the official openai Python package. Configure the base_url and api_key to route requests to our uncensored API. This ensures predictable coding patterns while removing content filters for lawful adult use.

  • Install via pip install openai
  • Set environment variables or pass directly to the client
  • Call chat.completions.create() as usual

Example configuration:

from openai import OpenAI

client = OpenAI(base_url="https://api.uncensoredaichatbot.cc/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 SDK Setup

Install the openai npm package. Configure the client with your base URL and API key. The Node SDK handles request serialization and response parsing automatically.

  • Install via npm install openai
  • Create a new client instance with custom base URL
  • Send chat completions with standard parameters

Code snippet for initialization:

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.uncensoredaichatbot.cc/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 Responses

Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE). Token usage statistics are included in the last chunk of the stream. This allows you to display responses in real-time without waiting for the full completion.

  • Set stream: true in the request body
  • Read chunks from the SSE stream
  • Check the final chunk for usage data

Streaming implementation example:

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)

Limits, Errors, and Context Window

Your context window is 100,000 tokens (prompt + completion). There is no separate output cap (if max_tokens is not set, the response can run to the end of the window). Request bodies must be under 8 MB. You are limited to 300 requests per minute and 8 concurrent requests per key.

Common HTTP status codes:

  • 401: Invalid or expired API key
  • 402: Insufficient prepaid credit
  • 429: Rate limit exceeded

Prompts are not used for training. A hard content limit blocks sexual content involving minors. Errors and refusals are free; you only pay for successful token usage.

Technical specifications

Use this table to decide whether the API fits your project before you buy credit.

ParameterDetails
CompatibilityOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Model IDuncensored
AuthenticationBearer token in the Authorization header
EndpointsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.uncensoredaichatbot.cc/v1
StreamingYes — server-sent events; the last chunk carries token usage
Function callingSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Max context100,000 tokens, input and output combined
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
JSON modeJSON object mode via response_format json_object
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Parallel requests8 requests at the same time per key
Rate limit300 requests per minute per key
Max body8 MB request body
Subscriptionpaid credit never expires, no subscription
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
How you paypay as you go from prepaid credit; nothing is charged for failed or refused requests
Priceinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Free trial$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
AccountGoogle or e-mail and password
Content policyadult content allowed; sexual content involving minors is refused
Key managementone active key per account; a new key replaces the old one

Error codes

The type field is stable, the message is for humans. Errors cost nothing.

HTTPTypeWhat to do
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
401missing_key · invalid_key · key_revokedcheck the Authorization header or use your current key
402no_creditbalance is empty — top up, requests resume at once
403content_blockedrefused by the content policy
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largebody over 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary overload, retry shortly

Questions and answers

Do I need a credit card to start?

No. New users get $0.50 of trial credit, one per person, valid for 7 days. Claim this credit with one click on your API key page. You can sign up with Google or email without a phone number or card. For ongoing use, top up by crypto (USDT on TRC20, USDC on Base).

What happens if I hit the rate limit?

You receive a 429 status code. The limit is 300 requests per minute and 8 concurrent requests per key. Wait a moment or reduce concurrency. Errors do not count against your rate limit.

Is my data used for training?

No. Prompts sent to the uncensored AI chatbot API are not used for training. Your account only requires an email address, and credit never expires.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Start with trial credit

Email and password, key on screen right away.