EN ▾
Get API key

Quickstart for GPT users

Drop our uncensored gpt endpoint into your existing codebase by updating the base URL and API key. This quickstart shows how to send your first request, stream responses, and handle limits using standard OpenAI-compatible SDKs.

Base URL and Authentication

Our API uses the standard OpenAI-compatible structure. To switch your client, update the base URL to https://api.uncensoredgpt.cc/v1 and provide your API key. You can generate a key instantly on the Get API key page using Google or email. We do not require a phone number, and each account is limited to one active key at a time.

  • Base URL: https://api.uncensoredgpt.cc/v1
  • Auth Header: Authorization: Bearer YOUR_API_KEY

Once you have your key, you can test connectivity immediately.

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

First Request

Send a standard chat completion request to POST /v1/chat/completions. The model identifier is simply uncensored. This endpoint accepts text input and returns text output, supporting standard parameters like temperature and top_p.

Ensure your request body includes the model name and user messages. The system will process the request against our uncensored llm api without content refusals for lawful adult use.

Python SDK Integration

Use the official OpenAI Python library to interact with the uncensored api. Configure the client with the correct base URL and your API key. This allows you to leverage familiar methods like chat.completions.create while benefiting from our model's unrestricted behavior.

from openai import OpenAI

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

For JavaScript environments, initialize the OpenAI client with the custom base URL. This ensures all requests are routed to our servers. You can use the standard chat.completions.create method with the uncensored model ID.

import OpenAI from "openai";

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

Enable streaming by setting stream: true. The API returns Server-Sent Events (SSE). Token usage statistics are included in the final chunk of the stream. This approach is ideal for real-time user experiences and reduces perceived latency.

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

Our uncensored ai api enforces specific limits to ensure stability. Each key allows 300 requests per minute and 8 concurrent requests. The maximum request body size is 8 MB.

  • Context Window: 100,000 tokens total (prompt + completion).
  • Max Output: up to the end of the 100,000-token window (if max_tokens is unset).
  • Errors: 401 indicates an invalid key; 402 means insufficient credit; 429 signals rate limiting.

Errors and refusals do not consume credit. Credit never expires, and prepaid amounts are charged based on real token usage.

Under the hood: specs

Use this table to decide whether the API fits your project before you buy credit.

SpecValue
CompatibilityOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
MethodsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.uncensoredgpt.cc/v1
Modeluncensored
AuthenticationAuthorization: Bearer YOUR_KEY
StreamingYes — server-sent events; the last chunk carries token usage
Tools / tool callsYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Context window100,000 tokens (prompt + completion together)
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Completion lengthprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Structured outputresponse_format: {"type": "json_object"}
Request size8 MB request body
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Requests per minute300/min per key
Parallel requests8 requests at the same time per key
How you paypay as you go from prepaid credit; nothing is charged for failed or refused requests
Free trial$0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Top-upUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Subscriptionno monthly fee; paid credit does not expire
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
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)

Error reference

Errors come back as JSON with a stable type; failed and refused requests are not billed.

CodeTypeMeaning
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
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_largerequest body larger than 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary overload, retry shortly

Questions and answers

Do I need a credit card to start?

No. New accounts receive $0.50 of trial credit valid for 7 days. You can sign up using Google or email without providing a phone number or payment method.

What happens if I hit the rate limit?

You will receive a 429 status code. The limit is 300 requests per minute and 8 concurrent requests per key. You can generate a new key to replace the old one if needed, as each account allows only one active key.

Is the content truly uncensored?

The model does not refuse lawful adult, fictional, or controversial topics. The only hard limit is sexual content involving minors, which is always blocked. We do not use your prompts for training.

Your key is one form away

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

On this page