EN ▾
Get API key

Unfiltered Chat API Documentation | Unfiltered Chat (unfilteredchat.top)

This guide shows you how to integrate the unfiltered chat API into your application using standard OpenAI-compatible clients. We provide direct access to an uncensored LLM API with transparent, prepaid token billing and no hidden fees.

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.

Technical reference

If your tool speaks the OpenAI API, these are the details that matter.

FeatureSupport
API formatOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
API keyAuthorization: Bearer YOUR_KEY
Base URLhttps://api.unfilteredchat.top/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
Model IDuncensored
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
StreamingSupported (stream: true), usage included at the end
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Function callingYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Max context100,000 tokens (prompt + completion together)
JSON modeJSON object mode via response_format json_object
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Concurrency8 requests at the same time per key
Rate limit300 requests per minute per key
Max body8 MB request body
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Credit expirypaid credit never expires, no subscription
Bonus credit+5% from $50, +10% from $100, +15% from $200
How you paypay as you go from prepaid credit; nothing is charged for failed or refused requests
Price$0.15 per 1M input tokens · $0.50 per 1M output tokens
Trial credit$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Sign-insign in with Google or with e-mail + password
Keysone active key per account; a new key replaces the old one
Content policyadult content allowed; sexual content involving minors is refused

When a request fails

Every error is JSON with a type you can switch on. You are never charged for an error.

StatusTypeReason
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
401missing_key · invalid_key · key_revokedcheck the Authorization header or use your current key
402no_creditbalance is empty — top up, requests resume at once
403content_blockedrefused by the content policy
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largebody over 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary overload, retry shortly

Questions and answers

How do I top up my credit?

You can top up by crypto (USDT on TRC20, USDC on Base) for any whole amount between $20 and $500. You receive a +5% bonus for deposits of $50 or more, a +10% bonus for $100 or more, and a +15% bonus for $200 or more. Credit never expires.

Does the API refuse content?

The model does not refuse lawful adult, fictional, or controversial topics. However, it strictly blocks sexual content involving minors. Requests containing such content will be refused without charge.

Can I use this with the official OpenAI SDK?

Yes. By setting the base URL to https://api.unfilteredchat.top/v1 and using the model ID uncensored, you can use any standard OpenAI-compatible client, including the official Python and Node SDKs.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.