EN ▾
Get API key

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.

FeatureSupport
ProtocolOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Base URLhttps://api.unrestrictedaichatbot.top/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
Model IDuncensored
AuthenticationBearer token in the Authorization header
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Completion lengthprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Structured outputJSON object mode via response_format json_object
Context window100,000 tokens, input and output combined
StreamingYes — server-sent events; the last chunk carries token usage
Other parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Parallel requests8 requests at the same time per key
Max body8 MB request body
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Requests per minute300/min per key
Credit expiryno monthly fee; paid credit does not expire
Priceinput $0.15 / 1M tokens, output $0.50 / 1M tokens
How you paypay 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
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
Key managementone key per account, regenerate any time (the old one stops working)
AccountGoogle or e-mail and password
Content policyuncensored 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.

StatusTypeReason
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
401missing_key · invalid_key · key_revokedno key, wrong key, or a key replaced by a newer one
402no_creditbalance is empty — top up, requests resume at once
403content_blockedsexual content involving minors — refused, not billed
404not_foundunknown endpoint
413request_too_largebody over 8 MB
429rate_limited · concurrencyover 300/min or 8 parallel — back off and retry
503upstream_busymodel 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.

Get API key