EN ▾

Uncensored Chatgpt: First request in five minutes

Get your uncensored chatgpt API working in five minutes. This quickstart covers authentication, request formats, and streaming for NSFW-compatible text generation.

Base URL and Authentication

Our API follows the standard OpenAI compatibility layer. You interact with the endpoint at https://api.uncensoredchatgpt.top/v1. Authentication relies on a single API key per account. You generate this key instantly on the Get API key page using Google or email. No phone verification is required. Pass the key in the Authorization header as a Bearer token. If the key is missing or invalid, the server returns a 401 error. If your prepaid credit is exhausted, you receive a 402 error. Tokens are billed only when the model successfully processes the request.

Send a Completion Request

The core interaction uses the POST /v1/chat/completions endpoint. You send a JSON payload defining the model, message history, and parameters. The system uses the model identifier "uncensored". This model is open-weight and tuned to answer without content refusals for lawful adult use. It is not GPT or Claude. You can control creativity with temperature and diversity with top_p. The base rate is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals do not consume credit.

curl https://api.uncensoredchatgpt.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 SDK for straightforward integration. Set the base URL to our API endpoint and provide your API key. The client handles serialization automatically. You can pass a list of messages under the messages key. The response object contains the generated text in response.choices[0].message.content. This approach works for both simple prompts and complex multi-turn conversations. It is the recommended method for most backend applications.

from openai import OpenAI

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

For JavaScript or TypeScript projects, the OpenAI Node SDK provides equivalent functionality. Initialize the client with your base URL and key. Call chat.completions.create() with your prompt data. The SDK streams data if you enable the stream option, otherwise it returns the full response at once. This method is ideal for server-side rendering or API endpoints that need to return complete text blocks. Ensure you handle potential network errors and token limits gracefully.

import OpenAI from "openai";

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

For real-time user experiences, enable server-sent events (SSE) by setting stream: true. The API returns a stream of chunks. Each chunk contains a partial delta of the response. The final chunk includes the complete token usage statistics. This allows you to display text as it generates, reducing perceived latency. You must parse the stream correctly to reconstruct the full message. Streaming is supported by both the Python and Node SDKs.

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 Window

Your API key supports 300 requests per minute and 8 concurrent requests. The maximum request body size is 8 MB. The context window allows 100,000 tokens total, with no separate output cap. If you exceed the rate limit, you receive a 429 error. Retry with exponential backoff. The model refuses sexual content involving minors but allows other lawful adult topics. Credit never expires, and prepaid tokens are charged only for valid completions.

What the API supports

Everything the endpoint can and cannot do, in one place — check it before you top up.

FeatureSupport
ProtocolOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Base URLhttps://api.uncensoredchatgpt.top/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
API keyAuthorization: Bearer YOUR_KEY
Model IDuncensored
Context window100,000 tokens, input and output combined
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
JSON modeJSON object mode via response_format json_object
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
SSE streamingYes — server-sent events; the last chunk carries token usage
Other parameterstemperature, top_p, stop, seed and the two penalties are passed through
Concurrency8 requests at the same time per key
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Request size8 MB request body
Rate limit300 requests per minute per key
Subscriptionno monthly fee; paid credit does not expire
How you payprepaid credit, charged by real token usage; errors and refusals are free
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
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Keysone active key per account; a new key replaces the old one
Sign-inGoogle or e-mail and password
Content policyadult content allowed; sexual content involving minors is refused

Error reference

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

CodeTypeMeaning
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_blockedsexual content involving minors — refused, not billed
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_busymodel busy — retry in a few seconds

Questions and answers

Is this the official OpenAI API?

No, this is an independent service using an open-weight model. It is compatible with the OpenAI API format but is not GPT-4 or GPT-3.5. It is a separate uncensored llm api hosted on our own servers.

What happens if I exceed the rate limit?

The API returns a 429 status code. You should implement retry logic with exponential backoff in your client. The limit is 300 requests per minute per key.

Do I need a credit card to start?

No. New accounts receive $0.50 in trial credit valid for 7 days. Claim this credit with one click on your API key page. No card is needed. For ongoing usage, you top up by crypto (USDT or USDC).

Your key is one form away

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

Get API key