Base URL and Authentication
Start by pointing your client to https://api.unfilteredchat.top/v1. This base URL works with the official OpenAI SDKs and any OpenAI-compatible client. You must include your API key in the Authorization header as a Bearer token. The model identifier for requests is simply uncensored, representing the open-weight model hosted on our servers.
Sign up via the Get API key page using Google or an email and password. Your key is shown immediately. Note that each account has one active key; generating a new one replaces the old. Errors and refusals do not consume credit, and prepaid credit never expires.
First Request
Send a standard POST request to /v1/chat/completions. The API accepts text input and returns text output. You can control the response style using parameters like temperature and top_p. The context window allows 100,000 tokens total (prompt plus completion). If you do not specify a limit, the response can run to the end of the window.
curl https://api.unfilteredchat.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."}]
}'Ensure your request body includes the model field set to uncensored. The API supports streaming via Server-Sent Events (SSE), function calling, and JSON mode. This is a text-only API; we do not offer image, audio, or video generation, nor embeddings or fine-tuning.
Python SDK Integration
Use the official openai Python package to connect. Set the base_url to our endpoint and provide your API key. This approach keeps your code compatible with existing OpenAI patterns while routing requests to our uncensored model.
from openai import OpenAI
client = OpenAI(base_url="https://api.unfilteredchat.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)The model does not refuse lawful adult, fictional, or controversial topics, making it suitable for NSFW applications. However, it strictly blocks sexual content involving minors. You can use standard parameters like temperature, stop, seed, and penalties to tune the output. Errors do not count against your prepaid balance, so you can test safely.
Node SDK Integration
Initialize the OpenAI client with our base URL and key. The Node SDK handles the HTTP requests efficiently, allowing you to integrate the uncensored AI API into web services or scripts quickly. This setup is ideal for developers who need a reliable, unrestricted backend for chat applications.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unfilteredchat.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);Remember that this is an API for developers, not a chat website. You manage the user interface and handle the responses. The API supports function calling (tools) and JSON mode, allowing you to structure responses for programmatic use. Pricing is transparent: $0.15 per million input tokens and $0.50 per million output tokens.
Streaming Responses
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE) for real-time token delivery. Token usage information is included in the last chunk of the stream. This is useful for displaying typewriter-style responses in your application.
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)Streaming does not change the billing model; you are still charged based on the total tokens processed. The API supports up to 8 concurrent requests per key. If you need to send large payloads, note the 8 MB request body limit. Streaming is fully compatible with the standard OpenAI client libraries.
Limits, Errors, and Context
Monitor your usage to avoid service interruptions. The API enforces a limit of 300 requests per minute per key. If you exceed this, you will receive a 429 rate limit error. Other common errors include 401 for an invalid key and 402 if your prepaid credit is exhausted.
Your context window is 100,000 tokens total. If you do not set max_tokens, the response can run to the end of the window. Credit is topped up by crypto (USDT on TRC20, USDC on Base) with no card needed for the trial. Mistakes like double charges are fixed via the Support page; credit is non-refundable but never expires.