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
messagesarray - 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: truein 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 key402: Insufficient prepaid credit429: 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.
| Parameter | Details |
|---|---|
| Compatibility | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Model ID | uncensored |
| Authentication | Bearer token in the Authorization header |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Base URL | https://api.uncensoredaichatbot.cc/v1 |
| Streaming | Yes — server-sent events; the last chunk carries token usage |
| Function calling | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Sampling parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Max context | 100,000 tokens, input and output combined |
| Completion length | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| JSON mode | JSON object mode via response_format json_object |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Parallel requests | 8 requests at the same time per key |
| Rate limit | 300 requests per minute per key |
| Max body | 8 MB request body |
| Subscription | paid credit never expires, no subscription |
| Payment | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Price | input $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+ |
| Account | Google or e-mail and password |
| Content policy | adult content allowed; sexual content involving minors is refused |
| Key management | one 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.
| HTTP | Type | What to do |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
401 | missing_key · invalid_key · key_revoked | check the Authorization header or use your current key |
402 | no_credit | balance is empty — top up, requests resume at once |
403 | content_blocked | refused by the content policy |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | temporary 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.