EN ▾
Get API key

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

Start generating raw text with the Unfiltered Chat API by sending a standard chat-completions request. This guide covers authentication, SDK integration, and streaming for uncensored LLM outputs.

Base URL and Authentication

The Unfiltered Chat API is compatible with the standard OpenAI chat-completions protocol. To begin, you need an API key from your account dashboard. The base URL for all requests is https://api.unfilteredchat.cc/v1. You pass your key in the Authorization header as a bearer token. This setup allows you to use existing OpenAI-compatible clients without complex routing logic.

First Request

Send a simple text prompt to generate a response. The model ID is always uncensored. Ensure your request body includes the messages array with a user role. This endpoint supports standard parameters like temperature and top_p for controlling output randomness. You can test connectivity immediately with a basic curl command.

curl https://api.unfilteredchat.cc/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 interact with the API. Configure the client with the custom base URL and your API key. The client handles serialization and response parsing automatically. This approach is ideal for backend services or scripts that require programmatic text generation. Set the model to uncensored to ensure you are using our uncensored model.

from openai import OpenAI

client = OpenAI(base_url="https://api.unfilteredchat.cc/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

Integrate the API into Node.js applications using the OpenAI Node SDK. Initialize the client with the specific base URL to route requests to our servers. This method is efficient for web servers or serverless functions. You can send prompts and receive structured JSON responses or plain text depending on your configuration. The SDK handles retries and authentication headers for you.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.unfilteredchat.cc/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

For real-time user experiences, enable streaming by setting stream: true. The API returns a server-sent events (SSE) stream. Each chunk contains a portion of the generated text. The final chunk includes the complete token usage statistics for billing. This method reduces perceived latency for end-users by displaying text as it is generated.

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)

Limits, Errors, and Context

The context window supports 100,000 tokens total, with no separate output cap per request. You are limited to 300 requests per minute and 8 concurrent requests per key. Common errors include 401 for invalid keys, 402 if prepaid credit is exhausted, and 429 for rate limits. Requests exceeding the body size limit of 8 MB will also fail. Errors do not consume your credit.

Technical reference

One table with every limit, feature and price that applies to your key.

SpecValue
ProtocolOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
AuthenticationBearer token in the Authorization header
Modeluncensored
EndpointsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.unfilteredchat.cc/v1
SSE streamingSupported (stream: true), usage included at the end
Context window100,000 tokens (prompt + completion together)
JSON modeJSON object mode via response_format json_object
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Other parameterstemperature, top_p, stop, seed and the two penalties are passed through
Tools / tool callsYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Request sizeup to 8 MB per request
Rate limit300/min per key
Concurrency8 requests at the same time per key
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
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
Token prices$0.15 per 1M input tokens · $0.50 per 1M output tokens
How you payprepaid credit, charged by real token usage; errors and refusals are free
Credit expiryno monthly fee; paid credit does not expire
Volume bonus+5% from $50, +10% from $100, +15% from $200
AccountGoogle or e-mail and password
Contentuncensored for adults; the only hard rule: no sexual content involving minors
Keysone key per account, regenerate any time (the old one stops working)

HTTP errors

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

HTTPTypeWhat to do
400bad_requestmalformed request or too long for the context window
401missing_key · invalid_key · key_revokedno key, wrong key, or a key replaced by a newer one
402no_creditout of credit; add credit and retry
403content_blockedrefused by the content policy
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary overload, retry shortly

Questions and answers

Is the model GPT-4 or another vendor model?

No. The model ID is uncensored, an open-weight model run on our own servers. It is not GPT, Claude, Gemini, or any other vendor's model. It is tuned specifically to answer without content refusals for lawful adult use.

How do I top up my credit?

Top-ups are processed by crypto (USDT on TRC20, USDC on Base). Accepted amounts range from $20 to $500. We offer a 5% bonus for deposits of $50 or more, and a 10% bonus for $100 or more. PayPal and bank transfers are not accepted.

Does the API filter NSFW content?

The API is uncensored and tolerant of NSFW content. It does not refuse lawful adult, fictional, or controversial topics. The only hard limit is sexual content involving minors, which is always refused.

Your key is one form away

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