EN ▾
Get API key

Unrestricted LLMUnrestricted LLM API Documentation | Unrestricted LLM (unrestrictedllm.cc)

Unrestricted LLM API Documentation | Unrestricted LLM (unrestrictedllm.cc)

The Unrestricted LLM API provides a standard OpenAI-compatible endpoint for developers who need a reliable, uncensored model without managing GPU infrastructure. This guide covers authentication, integration patterns, and configuration to get your first request running in minutes.

Authentication and Base URL

Every request to the unrestricted llm API requires a valid API key passed in the Authorization header. You can obtain your key by signing up with Google or an email address on the Get API key page. Once generated, the key is displayed immediately and can be used across all OpenAI-compatible SDKs by setting the base_url to https://api.unrestrictedllm.cc/v1.

The base URL is fixed for all endpoints. There is no model routing or vendor switching; you are connecting directly to our hosted uncensored model. Ensure your key is kept secure, as each account is limited to one active key at a time.

First Request

Send a POST request to /v1/chat/completions with your message in the messages array. The model ID is always uncensored. This endpoint accepts text input and returns text output, supporting both single-turn and multi-turn conversations.

The model does not refuse lawful adult, fictional, or controversial topics, making it ideal for content generation, roleplay, or research where standard filters might interfere. Note that sexual content involving minors is always blocked.

curl https://api.unrestrictedllm.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

Using the official OpenAI Python library simplifies integration. Set the base_url and api_key attributes before making calls. The SDK handles tokenization and JSON serialization automatically.

This approach works for both synchronous and asynchronous applications. The underlying model processes your prompt and returns the completion. You can adjust parameters like temperature and top_p to control creativity and determinism.

from openai import OpenAI

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

The Node.js SDK follows the same pattern. Initialize the client with your base URL and key. This is useful for backend services, agents, or serverless functions that need to call the API programmatically.

Ensure you handle the response stream or promise correctly. The API returns standard OpenAI-format JSON, so your existing error-handling logic for OpenAI-compatible services will work with minimal changes.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.unrestrictedllm.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. The API returns Server-Sent Events (SSE), delivering tokens as they are generated. This reduces perceived latency for end-users.

The final chunk of the stream contains the token usage statistics, allowing you to track costs accurately. Streaming is supported for all standard chat completions and is the recommended method for real-time applications.

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 is 100,000 tokens total (prompt + completion). There is no separate output cap per request, and if max_tokens is unset, the response can run to the end of the window. 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. Errors are free; you only pay for successful token generation. Credit never expires, and refunds are not issued, but support can fix billing errors like double charges.

What the API supports

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

ItemValue
CompatibilityOpenAI Chat Completions schema; official openai SDKs work unchanged
Base URLhttps://api.unrestrictedllm.cc/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
Model IDuncensored
API keyBearer token in the Authorization header
Context window100,000 tokens (prompt + completion together)
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
SSE streamingSupported (stream: true), usage included at the end
Other parameterstemperature, top_p, stop, seed and the two penalties are passed through
Structured outputresponse_format: {"type": "json_object"}
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
Parallel requestsup to 8 in parallel per key
Requests per minute300/min per key
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Bonus credit+5% from $50, +10% from $100, +15% from $200
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
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Billingprepaid credit, charged by real token usage; errors and refusals are free
Subscriptionno monthly fee; paid credit does not expire
Key managementone active key per account; a new key replaces the old one
Contentadult content allowed; sexual content involving minors is refused
AccountGoogle or e-mail and password

When a request fails

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

StatusTypeReason
400bad_requestmalformed request or too long for the context window
401missing_key · invalid_key · key_revokedcheck the Authorization header or use your current key
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 · concurrencyover 300/min or 8 parallel — back off and retry
503upstream_busytemporary overload, retry shortly

Questions and answers

How do I top up my credit?

You can top up by crypto (USDT on TRC20, USDC on Base). Acceptable amounts are whole dollars between $20 and $500. Credits are charged based on real token usage, and errors do not consume credit.

Is this model fine-tuned or a specific vendor model?

This is an open-weight model run on our own servers, tuned to answer without content refusals. It is not GPT, Claude, Gemini, Grok, DeepSeek, Qwen, or Llama. It is a distinct uncensored model designed for developer integration.

Do prompts get used for training?

No, your prompts are not used for training. You only need an email to create an account, and privacy is maintained by not using your data for model improvement.

Your key is one form away

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