EN ▾

Quickstart for Unfiltered Chatgpt users

Drop our uncensored API into your existing stack by changing the base URL and swapping the API key. The endpoint is fully OpenAI-compatible, so you can start generating unrestricted text immediately.

Base URL and Authentication

To use our unfiltered chatgpt endpoint, point your client to our specific base URL. You do not need to change the endpoint path (/v1/chat/completions) or the request body structure. Simply update the base URL and provide your API key in the Authorization header. This works with any standard OpenAI-compatible library.

  • Base URL: https://api.unfilteredchatgpt.com/v1
  • Auth Header: Authorization: Bearer YOUR_API_KEY

Sign up via Google or email to receive your key instantly. The key is shown once upon creation, so save it securely.

First Request

Send a standard chat completion request to generate text. Our model, identified as uncensored, responds to prompts without the standard refusals found in general models. It handles controversial, adult, or creative topics directly.

Below is a basic cURL example to verify connectivity and response format.

curl https://api.unfilteredchatgpt.com/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."}]
  }'

The response returns generated text in the choices[0].message.content field. If you receive an error, check your key or credit balance.

Python SDK Integration

Use the official OpenAI Python SDK to integrate quickly. Set the base_url and api_key to match our service. The rest of the API remains identical to OpenAI's implementation.

Adjust the model parameter to uncensored. This ensures you are hitting our specific uncensored model rather than a routed vendor model.

from openai import OpenAI

client = OpenAI(base_url="https://api.unfilteredchatgpt.com/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)

This approach lets you keep your existing Python code structure while gaining access to unrestricted content generation.

Node SDK Integration

For JavaScript or TypeScript projects, configure the OpenAI client with our base URL. The Node SDK handles streaming and tool calling natively, just like the official OpenAI client.

Set the model to uncensored and provide your API key. This allows you to use our uncensored LLM hosted service within your Node.js applications without rewriting logic.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.unfilteredchatgpt.com/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);

The response object mirrors the standard OpenAI format, making it easy to map data to your application state.

Streaming Responses

Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE) for real-time token delivery. This is essential for chat interfaces and reducing perceived latency.

Each chunk contains partial text. The final chunk includes usage statistics. Note that usage data is only available in the last chunk, so you cannot track token counts incrementally.

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)

Use this feature to build responsive UIs that display text as it is generated.

Rate Limits and Errors

Our nsfw llm api enforces strict limits to ensure stability. You are allowed 300 requests per minute per key and 8 concurrent requests. The maximum request body size is 8 MB.

Common errors include 401 for invalid keys, 402 for insufficient credit, and 429 for rate limits. If you exceed the concurrent limit, you will receive a 429 error.

The context window is 100,000 tokens total. There is no separate output cap, and if you do not specify max_tokens, the response can run to the end of the window. Errors and refusals (for minor content) do not consume credit.

Technical reference

A quick checklist for developers: format, limits, features, billing.

SpecValue
ProtocolOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
API keyBearer token in the Authorization header
EndpointsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.unfilteredchatgpt.com/v1
Model IDuncensored
Function callingSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
StreamingYes — server-sent events; the last chunk carries token usage
Sampling parameterstemperature, top_p, stop, seed and the two penalties are passed through
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Max context100,000 tokens, input and output combined
Structured outputJSON object mode via response_format json_object
Request size8 MB request body
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Parallel requests8 requests at the same time per key
Rate limit300/min per key
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+
Price$0.15 per 1M input tokens · $0.50 per 1M output tokens
Credit expirypaid credit never expires, no subscription
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Billingpay 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
Sign-insign in with Google or with e-mail + password
Contentadult content allowed; sexual content involving minors is refused
Key managementone key per account, regenerate any time (the old one stops working)

When a request fails

The type field is stable, the message is for humans. Errors cost nothing.

CodeTypeMeaning
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_creditbalance is empty — top up, requests resume at once
403content_blockedrefused by the content policy
404not_foundunknown endpoint
413request_too_largebody over 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary overload, retry shortly

Questions and answers

Does this API support function calling?

Yes, our API supports function calling via the tools and tool_choice parameters. You can define tools in the request body, and the model will return structured tool calls in the response. This is fully compatible with the standard OpenAI function calling format.

How do I top up my credit?

Top-ups are accepted by crypto (USDT on TRC20, USDC on Base). Minimum top-up is $20, and maximum is $500. We offer bonus credit for larger amounts: +5% for $50, +10% for $100, and +15% for $200. Credit never expires.

Is the trial credit refundable?

No, trial credit is not refundable. It is valid for 7 days and expires after that period. Mistakes such as double charges are handled through the Support page, but the trial credit itself is non-refundable.

Your key is one form away

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