Abliterated LLM API Documentation
Start using our uncensored llm online immediately with a hosted, OpenAI-compatible API. This guide covers authentication, request formats, and streaming for rapid integration.
Authentication and Base URL
The API base URL is https://api.abliteratedllm.cc/v1. Pass your key in the Authorization header as a Bearer token. You can obtain a key instantly by signing in with Google or email on the Get API key page. No credit card is required to start.
Our uncensored llm runs on dedicated servers, so you do not need to manage GPUs. The model ID to use is uncensored. It is an open-weight model tuned to answer without content refusals for lawful adult use, but it is not GPT, Claude, or any other vendor's model.
First Request
Send a POST request to /v1/chat/completions. The API expects standard OpenAI JSON payloads. This makes it easy to use with existing tools. You can test the uncensored coding llc capabilities by asking for code generation or controversial topics.
- Method: POST
- Endpoint: /v1/chat/completions
- Header: Authorization: Bearer <YOUR_KEY>
Use the model ID uncensored in the body.
curl https://api.abliteratedllm.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
Use the official OpenAI Python SDK to interact with the API. Set the base_url to our endpoint and provide your API key. This approach works for any OpenAI-compatible client. It allows you to keep your existing code structure while gaining access to an uncensored llm free of typical content filters.
Configure the client with the correct base URL and model ID. The SDK handles serialization automatically. You can then call chat.completions.create to get responses.
from openai import OpenAI
client = OpenAI(base_url="https://api.abliteratedllm.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 works similarly. Initialize the client with the base URL and API key. This ensures compatibility with standard JavaScript workflows. You can use this for server-side processing or local scripts.
Set the baseURL to https://api.abliteratedllm.cc/v1. Pass the model ID as uncensored. The SDK handles the HTTP requests and response parsing. This is ideal for developers who want a simple API for uncensored text generation.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.abliteratedllm.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 a Server-Sent Events (SSE) stream. Each chunk contains partial text. The final chunk includes the token usage statistics. This allows you to display text in real-time.
Streaming is useful for chat interfaces. It reduces perceived latency. The uncensored llm online supports this feature natively. Handle the stream events to process tokens as they arrive.
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. There is no separate output cap. Limits are 300 requests per minute and 8 concurrent requests per key. Request body size is max 8 MB. Errors and refusals do not consume credit. This includes cases where the model refuses a request. The only hard limit is no sexual content involving minors.
Common issues include invalid keys or insufficient credit. Ensure your prepaid credit is active. If you encounter errors, check the Support page. The API is transparent about usage.
API specifications
The numbers below are the real limits of this API, not marketing. Compare them with what your app needs.
| Item | Value |
|---|---|
| Compatibility | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| API key | Authorization: Bearer YOUR_KEY |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Model ID | uncensored |
| Base URL | https://api.abliteratedllm.cc/v1 |
| Function calling | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| JSON mode | response_format: {"type": "json_object"} |
| SSE streaming | Supported (stream: true), usage included at the end |
| Context window | 100,000 tokens, input and output combined |
| Sampling parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Completion length | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Max body | up to 8 MB per request |
| Concurrency | 8 requests at the same time per key |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Rate limit | 300 requests per minute per key |
| Credit expiry | no monthly fee; paid credit does not expire |
| Bonus credit | +5% from $50, +10% from $100, +15% from $200 |
| Trial credit | $0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Price | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Top-up | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| How you pay | prepaid credit, charged by real token usage; errors and refusals are free |
| Sign-in | sign in with Google or with e-mail + password |
| Key management | one active key per account; a new key replaces the old one |
| Content | adult content allowed; sexual content involving minors is refused |
HTTP errors
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| Status | Type | Reason |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
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 | body over 8 MB |
429 | rate_limited · concurrency | over 300/min or 8 parallel — back off and retry |
503 | upstream_busy | model busy — retry in a few seconds |
Questions and answers
Is the uncensored llm free to use?
You get $0.50 in trial credit for new accounts. Claim this credit with one click on your API key page. After that, you pay per token. There is no monthly fee. Credit never expires.
What models are supported?
We host one uncensored model with the ID uncensored. It is an open-weight model tuned for no content refusals. It is not GPT, Claude, or another vendor's model.
How do I pay?
We accept top-ups by crypto (USDT on TRC20, USDC on Base). Top up from $20 to $500. You can also sign in with Google or email. No cards are needed for the trial.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.