Quickstart for Unrestricted Chatgpt users
Integrate our uncensored LLM API in minutes. Drop our base URL and API key into any OpenAI-compatible client to start generating text immediately.
Base URL and Authentication
Our API is fully OpenAI-compatible. Point your client at https://api.unrestrictedchatgpt.cc/v1 and pass your key via the Authorization header. This works with the official SDKs, curl, and any library that understands the OpenAI spec. The model ID you must send is uncensored. It is an open-weight model tuned to answer without refusals for lawful adult use, not a rebranded GPT or Llama instance. Ensure your client accepts the Bearer token format.
curl https://api.unrestrictedchatgpt.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."}]
}'Authentication is strict: 401 errors mean your key is invalid or missing. 402 errors indicate insufficient prepaid credit. 429 errors occur when you exceed the 300 requests per minute or 8 concurrent request limit per key.
First Request
Send a standard POST /v1/chat/completions request. The body requires model, messages, and content. Our uncensored model processes the input and returns text output. There are no embeddings, images, or fine-tuning endpoints to manage. Keep the payload simple. If you need to control randomness, add temperature or seed. The model supports a 100,000 token context window, combining prompt and completion. If you do not set max_tokens, the response can run to the end of the window. This makes it easy to test integration without complex configuration.
from openai import OpenAI
client = OpenAI(base_url="https://api.unrestrictedchatgpt.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
Use the official Node SDK to interact with the API. Set the basePath to our base URL and provide your API key. This ensures compatibility with our endpoint structure. The code samples below show how to initialize the client and make a request. This approach is ideal for server-side applications or scripts that need to process large amounts of text. The uncensored API handles the heavy lifting, returning raw text without unnecessary filtering layers. You can adjust parameters like top_p and stop to refine the output. Remember that credit is charged by token usage, so monitor your consumption.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unrestrictedchatgpt.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 in your request body. The API returns a Server-Sent Events (SSE) stream. Each chunk contains partial text. The final chunk includes token usage statistics, allowing you to track costs in real-time. This is essential for building chat-like interfaces where users expect immediate feedback. Without streaming, you wait for the full completion. With it, you can display text as it generates. This reduces perceived latency significantly. Ensure your client handles SSE events correctly to avoid buffering issues.
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)
Function Calling and JSON Mode
The API supports function calling via the tools parameter. Define your functions in the request, and the model will return structured arguments. Use response_format: { "type": "json_object" } to force strict JSON output. This is useful for parsing data or generating configuration files. The model is tuned to handle these formats reliably. You can combine streaming with JSON mode for efficient data extraction. Note that the model does not execute the functions; it only provides the arguments. You must handle the execution logic in your code. This keeps the API lightweight and focused on text generation.
Rate Limits and Context
Each API key is limited to 300 requests per minute and 8 concurrent requests. The request body must not exceed 8 MB. If you exceed these limits, you will receive a 429 error. Implement exponential backoff in your client to handle retries gracefully. The context window is 100,000 tokens total. If your prompt is large, the maximum output will be smaller. Errors and refusals (except for the hard limit on minor sexual content) do not charge credit. This makes testing cost-effective. Prepaid credit never expires, so you can pause usage without losing funds. Refunds are not issued, but double charges are fixed via Support.
What the API supports
A quick checklist for developers: format, limits, features, billing.
| Parameter | Details |
|---|---|
| Protocol | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Authentication | Authorization: Bearer YOUR_KEY |
| Base URL | https://api.unrestrictedchatgpt.cc/v1 |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Model | uncensored |
| Structured output | response_format: {"type": "json_object"} |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| Max context | 100,000 tokens, input and output combined |
| Other parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Completion length | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Tools / tool calls | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Max body | up to 8 MB per request |
| Parallel requests | up to 8 in parallel per key |
| Rate limit | 300/min per key |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Bonus credit | +5% from $50, +10% from $100, +15% from $200 |
| Payment | USDT (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 |
| Credit expiry | no monthly fee; paid credit does not expire |
| Token prices | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Content policy | adult content allowed; sexual content involving minors is refused |
| Sign-in | Google or e-mail and password |
| Keys | one active key per account; a new key replaces the old one |
Error codes
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| HTTP | Type | What to do |
|---|---|---|
400 | bad_request | malformed request or too long for the context window |
401 | missing_key · invalid_key · key_revoked | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | balance is empty — top up, requests resume at once |
403 | content_blocked | sexual content involving minors — refused, not billed |
404 | not_found | unknown endpoint |
413 | request_too_large | request body larger than 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | model busy — retry in a few seconds |
Questions and answers
Does this API support image or audio generation?
No. This is a text-only API. It does not support embeddings, images, audio, video, or fine-tuning. It serves one uncensored large language model for text input and output.
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. Implement backoff logic in your client to handle this gracefully.
Is the trial credit valid forever?
No. The $0.50 trial credit is valid for 7 days. Claim this credit with one click on your API key page. Paid credit, however, never expires. You can top up by crypto (USDT on TRC20, USDC on Base) at any time to continue using the service.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.