EN ▾
Get API key

Abliterated: Quickstart Guide

Start sending requests to the abliterated API in minutes. This guide covers the essential endpoints, authentication, and streaming for your uncensored LLM integration.

Base URL and Authentication

The abliterated API is fully OpenAI-compatible, meaning you can use standard SDKs by simply pointing them to our base URL. The service accepts text inputs and returns text outputs via the chat-completions endpoint. You must include your API key in the Authorization header for every request. Your key is generated immediately after signing up with Google or email on the Get API key page. There are no monthly subscriptions; you pay only for the tokens you actually consume.

  • Base URL: https://api.abliterated.top/v1
  • Header: Authorization: Bearer YOUR_API_KEY
  • Model ID: uncensored

First Request

Send a simple completion request to verify connectivity. The model is tuned to answer without content refusals for lawful adult use, making it ideal for uncensored coding llm tasks or creative writing. Note that the model ID is strictly uncensored. It is an open-weight model, not GPT, Claude, or any other vendor's model. Requests are charged based on input and output token counts. Errors and refusals (except for the hard limit on sexual content involving minors) are free.

Python SDK Integration

Use the official OpenAI Python library to interact with the abliterated llm. Initialize the client with your API key and the custom base URL. This approach works seamlessly for uncensored models that follow the OpenAI chat schema. You can pass parameters like temperature or top_p to control creativity. The response object contains the generated text in content. This method is efficient for batch processing or integrating the API into backend services.

Node SDK Integration

For JavaScript or TypeScript projects, the OpenAI Node SDK works with minimal configuration. Set the baseURL to our endpoint and provide your key. This is useful for web servers or edge functions that need to generate text dynamically. The abliterated API supports standard parameters like stop sequences and seed for reproducibility. Remember that the model ID must be uncensored. You can also enable JSON mode by setting response_format to {"type": "json_object"} for structured outputs.

Streaming Responses

Enable streaming by setting stream: true in your request. The API returns data via Server-Sent Events (SSE), allowing you to display tokens as they are generated. This improves perceived latency for users. The final chunk of the stream includes the total token usage for the request, which is critical for accurate billing. Streaming is supported for all standard parameters. This feature is essential for building chat-like interfaces that feel responsive.

Rate Limits, Errors, and Context

Respect the rate limits to avoid 429 errors. Each key allows 300 requests per minute and up to 8 concurrent requests. The maximum request body size is 8 MB. If your key is invalid, you will receive a 401 error. If you have insufficient credit, you will receive a 402 error. Errors and refusals do not consume tokens. The context window is 100,000 tokens total (prompt + completion). There is no separate output cap (if max_tokens is unset, the response can run to the end of the window). Credit is prepaid and never expires.

cURL

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

from openai import OpenAI

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

import OpenAI from "openai";

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

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)

API facts in one table

The numbers below are the real limits of this API, not marketing. Compare them with what your app needs.

ParameterDetails
API formatOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Model IDuncensored
MethodsPOST /v1/chat/completions · GET /v1/models
API keyBearer token in the Authorization header
Base URLhttps://api.abliterated.top/v1
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
SSE streamingYes — server-sent events; the last chunk carries token usage
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Context window100,000 tokens (prompt + completion together)
JSON modeJSON object mode via response_format json_object
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Parallel requests8 requests at the same time per key
Request sizeup to 8 MB per request
Requests per minute300 requests per minute per key
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
How you payprepaid credit, charged by real token usage; errors and refusals are free
Top-upcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Subscriptionno monthly fee; paid credit does not expire
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
Token prices$0.15 per 1M input tokens · $0.50 per 1M output tokens
Content policyuncensored for adults; the only hard rule: no sexual content involving minors
Keysone active key per account; a new key replaces the old one
Sign-inGoogle or e-mail and password

Error reference

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

HTTPTypeWhat to do
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_busymodel busy — retry in a few seconds

Questions and answers

Does the abliterated model support image or audio generation?

No. The API serves a single text-based model. It does not support embeddings, image generation, audio, video, or fine-tuning. It is strictly a text-in, text-out service.

How is billing calculated for the uncensored AI model?

Billing is based on actual token usage. Input tokens cost $0.15 per 1M, and output tokens cost $0.50 per 1M. Errors and refusals are free. There are no monthly subscriptions, and prepaid credit never expires.

Can I pay with a credit card? No, crypto only.

No. Top-ups are by crypto (USDT on TRC20, USDC on Base). You can add any whole amount from $20 to $500. The trial credit does not require a card.

Your key is one form away

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