Unrestricted AI Chatbot: Uncensored LLM API Quickstart
Get started with the Unrestricted AI Chatbot API in minutes using standard OpenAI-compatible libraries. This guide covers authentication, basic requests, streaming, and critical limits for building uncensored applications.
Base URL and Authentication
Access the uncensored llm api at https://api.unrestrictedaichatbot.top/v1. This base URL works with any standard OpenAI-compatible SDK. You need an API key, which you obtain via the Get API key page. You can sign in with Google or use an email and password. No phone number is required. The key is displayed immediately after signup. Use it as the OPENAI_API_KEY environment variable or pass it directly to your client. If you lose the key, generate a new one, which replaces the old active key.
First Request: Chat Completions
Send a POST request to /v1/chat/completions. The model ID is uncensored. This model is tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, or any other vendor model. The uncensored ai api returns text output. You can set parameters like temperature and top_p. Below is a basic curl example to test connectivity and response quality.
Python SDK Integration
Use the official openai Python package. Set the base URL to our endpoint. The uncensored ai models api supports standard parameters. Initialize the client with your API key and the custom base URL. Call chat.completions.create with the model ID uncensored. This approach lets you reuse existing codebases built for OpenAI. Adjust the max_tokens to control output length. Errors are handled via standard HTTP exceptions.
Node.js SDK Integration
Install the openai Node.js package. Configure the client with the base URL https://api.unrestrictedaichatbot.top/v1. Pass your API key. Call the chat completions endpoint with model uncensored. This uncensored api key works with any OpenAI-compatible client. You can stream responses or get full text. The uncensored chatbot api is ideal for server-side generation. Ensure you handle rate limits and token usage correctly.
Streaming Responses (SSE)
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE). Each chunk contains partial text. The final chunk includes token usage details. This is efficient for real-time UI updates. Streaming works with all supported SDKs. Monitor the usage field in the last chunk for accurate billing. The uncensored llm api ensures transparent prepaid billing. Errors during streaming may interrupt the stream, so handle disconnects gracefully.
Limits, Errors, and Context Window
The context window is 100,000 tokens total (prompt + completion). There is no separate output cap. Limits are 300 requests per minute per key and 8 concurrent requests. Errors include 401 (invalid key), 402 (no credit), and 429 (rate limit). Credit is prepaid and never expires. Errors and refusals are free. No sexual content involving minors is allowed. Use the support page for refund issues. The uncensored ai api is reliable for high-volume tasks.
cURL
curl https://api.unrestrictedaichatbot.top/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
from openai import OpenAI
client = OpenAI(base_url="https://api.unrestrictedaichatbot.top/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
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unrestrictedaichatbot.top/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
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)Capabilities and limits
A quick checklist for developers: format, limits, features, billing.
| Feature | Support |
|---|---|
| Protocol | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Base URL | https://api.unrestrictedaichatbot.top/v1 |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Model ID | uncensored |
| Authentication | Bearer token in the Authorization header |
| Tools / tool calls | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Completion length | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Structured output | JSON object mode via response_format json_object |
| Context window | 100,000 tokens, input and output combined |
| Streaming | Yes — server-sent events; the last chunk carries token usage |
| Other parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Parallel requests | 8 requests at the same time per key |
| Max body | 8 MB request body |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Requests per minute | 300/min per key |
| Credit expiry | no monthly fee; paid credit does not expire |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| 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 |
| Payment | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Volume bonus | +5% on $50+, +10% on $100+, +15% on $200+ |
| Key management | one key per account, regenerate any time (the old one stops working) |
| Account | Google or e-mail and password |
| Content policy | uncensored for adults; the only hard rule: no sexual content involving minors |
Errors and what to do
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| Status | Type | Reason |
|---|---|---|
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 | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | balance is empty — top up, requests resume at once |
403 | content_blocked | sexual content involving minors — refused, not billed |
404 | not_found | unknown endpoint |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | over 300/min or 8 parallel — back off and retry |
503 | upstream_busy | model busy — retry in a few seconds |
Questions and answers
What is the model ID?
The model ID is "uncensored". It is an open-weight model run on our servers, tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, Gemini, Grok, DeepSeek, Qwen, Llama, or any other vendor's model.
How does billing work?
You pay $0.15 per 1M input tokens and $0.50 per 1M output tokens. Credit is prepaid, never expires, and errors/refusals are free. Top up by crypto (USDT on TRC20, USDC on Base). No card needed for the trial.
What are the concurrent request limits?
You can have 8 requests at the same time per key. The rate limit is 300 requests per minute per key. The request body must be under 8 MB. One active key per account; a new key replaces the old one.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.