Uncensored AI Models API Documentation
Integrate a single, uncensored large language model into your application via a standard OpenAI-compatible endpoint. This API provides transparent prepaid token pricing and crypto billing for developers who need text generation without content refusals.
https://api.uncensoredaimodels.top/v1uncensored
Base URL and Authentication
Connect to the uncensored AI models API by setting your base URL to https://api.uncensoredaimodels.top/v1. The endpoint supports standard OpenAI SDKs and any compatible client. You authenticate requests using a Bearer token in the Authorization header. Create your key on the Get API key page via Google or email; the key is displayed immediately and is unique per account.
- Header:
Authorization: Bearer YOUR_API_KEY - Base URL:
https://api.uncensoredaimodels.top/v1
There is no web chat interface; this is a programmatic endpoint. If your key is invalid, you receive a 401 error. If you have no prepaid credit, you receive a 402 error. Errors and refusals do not consume tokens.
Send a Chat Completion Request
Send text in and receive text out using the POST /v1/chat/completions endpoint. This uncensored LLM is optimized for generating responses without blocking lawful adult, controversial, or security-research topics. The model ID is uncensored. It is an open-weight model run on our servers, distinct from GPT, Claude, or Llama.
Configure the request with messages, model ID, and desired parameters. The system charges based on actual token usage. Input tokens cost $0.15 per million, and output tokens cost $0.50 per million. Errors are free.
curl https://api.uncensoredaimodels.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 SDK Integration
Use the official OpenAI Python library to integrate the uncensored AI model. Set the base_url to our endpoint and provide your API key. This approach allows you to leverage existing ecosystem tools while switching to an uncensored backend. The model handles context up to 100,000 tokens combined between prompt and completion.
Ensure your code handles the response structure correctly. The API returns standard OpenAI-format JSON objects, making migration straightforward for developers already familiar with the OpenAI SDK pattern.
from openai import OpenAI
client = OpenAI(base_url="https://api.uncensoredaimodels.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 SDK Integration
For JavaScript environments, use the openai Node package. Point the client to our base URL. This uncensored model supports streaming, JSON mode, and function calling. Configure the client with your API key and the model ID uncensored.
The Node SDK handles pagination and response parsing automatically. You can adjust parameters like temperature and top_p directly in the request object. This method is ideal for serverless functions or backend services requiring reliable text generation without external dependencies on other vendors.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.uncensoredaimodels.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 Responses via SSE
Streaming is supported via Server-Sent Events (SSE). Enable streaming by settingstream: true in your request. The API returns a stream of chunks. Token usage information (input and output counts) is included in the final chunk of the stream, allowing you to track costs accurately in real-time.Streaming reduces perceived latency for long outputs. Each chunk contains partial content. Handle stream errors gracefully, as network interruptions can truncate the response. The uncensored model supports streaming just like standard OpenAI endpoints.
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, Errors, and Context
Each API key allows 300 requests per minute and 8 concurrent requests. The maximum request body size is 8 MB. The context window is 100,000 tokens total. If you do not set max_tokens, the response can run to the end of the window. Set max_tokens only if you want to cap the output.
Common errors include 401 (invalid key), 402 (insufficient credit), and 429 (rate limit exceeded). Credit never expires. Top up by crypto (USDT on TRC20, USDC on Base). New accounts receive $0.50 trial credit valid for 7 days. Claim this credit with one click on your API key page. No card is needed for the trial.
Questions and answers
Is this a chat website or an API?
This is a programmable API endpoint. There is no web chat interface or app. You interact with the uncensored LLM via HTTP requests using standard SDKs. The site provides documentation and billing, not a user-facing chat window.
What content is blocked?
The model is uncensored for lawful adult, fictional, and controversial topics. However, a hard limit applies: sexual content involving minors is always refused. Requests containing this content will be blocked without consuming tokens.
How do I pay for tokens?
Payments are prepaid and made by crypto (USDT on TRC20, USDC on Base). You can top up in amounts from $20 to $500. You receive a +5% bonus for $50+, +10% for $100+, and +15% for $200+. Credit never expires and is not refunded.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Get API keyAPI facts in one table
Before you integrate, here is exactly what you get with a key.
| Item | Value |
|---|---|
| API format | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Model | uncensored |
| Base URL | https://api.uncensoredaimodels.top/v1 |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Authentication | Authorization: Bearer YOUR_KEY |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| Tools / tool calls | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Other parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Structured output | JSON object mode via response_format json_object |
| Context window | 100,000 tokens, input and output combined |
| Concurrency | up to 8 in parallel per key |
| Requests per minute | 300/min per key |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Request size | up to 8 MB per request |
| Subscription | no monthly fee; paid credit does not expire |
| Free trial | $0.50 of credit valid 7 days, no card needed · 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+ |
| Payment | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Price | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| How you pay | prepaid credit, charged by real token usage; errors and refusals are free |
| Keys | one key per account, regenerate any time (the old one stops working) |
| Sign-in | sign in with Google or with e-mail + password |
| Content | adult content allowed; sexual content involving minors is refused |
Error codes
The type field is stable, the message is for humans. Errors cost nothing.
| HTTP | Type | What to do |
|---|---|---|
400 | bad_request | malformed request or too long for the context window |
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 | request body larger than 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 |