Abliterated Model: API Quickstart
Get started with the Abliterated Model API in minutes. Swap your base URL, send a request, and receive uncensored text completions with full OpenAI SDK compatibility.
Base URL & Authentication
To use the abliterated model, point your OpenAI-compatible client to our dedicated endpoint. The base URL is https://api.abliteratedmodel.cc/v1. You authenticate using an API key obtained from the Get API key page. Authentication is passed via the standard Authorization: Bearer <key> header. No special headers or query parameters are required. This setup works with any library that supports the OpenAI API specification, allowing you to switch from other providers without changing your code logic, only the base URL and key.
First Request
Send a standard chat completion request to POST /v1/chat/completions. The model ID is uncensored. Below is a minimal example using cURL to demonstrate the simplest text-in, text-out interaction. This confirms your key is valid and the endpoint is responsive. The model responds with generated text without content refusals for lawful adult use, making it suitable for creative, research, or adult-themed applications.
curl https://api.abliteratedmodel.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 SDK is the most straightforward way to integrate. Initialize the client with your key and the custom base URL. The uncensored model supports standard parameters like temperature and top_p. This approach allows you to leverage existing Python libraries and error handling mechanisms while benefiting from the uncensored nature of the underlying model. It is particularly useful for developers who want to maintain compatibility with OpenAI codebases while removing content filters.
from openai import OpenAI
client = OpenAI(base_url="https://api.abliteratedmodel.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 and TypeScript environments, the OpenAI Node SDK works identically. Configure the base URL and model ID in your client instance. The API supports streaming, JSON mode, and function calling out of the box. This makes it easy to integrate into web servers, CLI tools, or browser-based applications that require direct text generation. Ensure you handle errors appropriately, as the API returns standard HTTP status codes for authentication, rate limits, and billing issues.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.abliteratedmodel.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) for real-time token delivery. Token usage information is included only in the last chunk of the stream, not in every chunk. This design reduces overhead while still providing accurate billing data. Streaming is ideal for chat interfaces where users expect to see text appear progressively. It does not imply support for streaming in non-text modalities, as this API is text-only.
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 & Context Window
The model supports a context window of 100,000 tokens (prompt + completion combined). There is no separate output cap per request, and if max_tokens is unset, the response can run to the end of the window. Rate limits are 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 limiting. Requests that exceed token limits or hit concurrent limits will return appropriate error codes without consuming credit. Errors and refusals are free, ensuring you only pay for successful completions.
Technical specifications
Before you integrate, here is exactly what you get with a key.
| Item | Value |
|---|---|
| Compatibility | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Base URL | https://api.abliteratedmodel.cc/v1 |
| Authentication | Bearer token in the Authorization header |
| Model | uncensored |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Tools / tool calls | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Max context | 100,000 tokens, input and output combined |
| Sampling parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| Structured output | JSON object mode via response_format json_object |
| Concurrency | 8 requests at the same time per key |
| Requests per minute | 300/min per key |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Request size | 8 MB request body |
| Payment | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Credit expiry | paid credit never expires, no subscription |
| 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 |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
| Sign-in | sign in with Google or with e-mail + password |
| Keys | one active key per account; a new key replaces the old one |
HTTP errors
The type field is stable, the message is for humans. Errors cost nothing.
| 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 | check the Authorization header or use your current key |
402 | no_credit | out of credit; add credit and retry |
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 | over 300/min or 8 parallel — back off and retry |
503 | upstream_busy | temporary overload, retry shortly |
Questions and answers
Is this model fine-tuned?
The model is an open-weight large language model tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, or any other vendor's model.
How do I pay for usage?
Credit is topped up by crypto (USDT on TRC20, USDC on Base). Prices are $0.15 per 1M input tokens and $0.50 per 1M output tokens. Credit never expires.
Does the API support function calling?
Yes, the API supports function calling via the tools and tool_choice parameters. You can also enable JSON mode with response_format for structured outputs.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.