EN ▾
Get API key

How to Use Abliterated AI Models: Beginner Guide

You can start using an abliterated model in about five minutes with any OpenAI SDK. This guide covers the key, the base URL, a first request, and the two settings that matter most: temperature and the system prompt.

Updated

Isometric key entering a terminal with data flowing into a chat bubble, representing a first API request
A stream of text beside an empty picture frame, showing a text-only API with no images

What an abliterated model is, in plain terms

If you want to know how to use abliterated AI models, start with what the word means. Abliteration is a technique applied to an open-weight language model so that it stops refusing most requests. The weights are edited to reduce the internal direction that triggers a refusal. The result is a model that answers instead of declining, which matters for fiction, roleplay, research into sensitive topics and testing how content filters behave.

You do not run one yourself in this guide. You call a hosted one over HTTP, the same way you would call any chat API. The service here exposes one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. It is not an official product of Meta, Mistral, Qwen, DeepSeek, OpenAI or any other lab. One hard rule applies: no sexual content involving minors.

Step 1: get an API key

  1. Open the API key page and sign up with Google, or with an email and password.
  2. Click the trial button to claim $0.50 of credit. It is one per person, valid for 7 days, and needs no card.
  3. Copy your key. Treat it like a password and keep it out of public repositories.

The trial key has lower limits than a paid key: 2 concurrent requests and 60 requests per minute. A funded key gets 8 concurrent requests and 300 per minute. For a beginner those limits are plenty.

Step 2: send your first request with curl

Curl is the quickest way to check the key works before you write any code.

curl https://api.abliteratedai.cc/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [
      {"role": "user", "content": "Write two sentences about a storm at sea."}
    ]
  }'

The response is JSON with the reply in choices[0].message.content and token counts in usage. The headers include X-Balance-USD, which shows what is left on your account after the call.

You can also check your balance without sending a prompt. A GET to /v1/balance returns it, and an OpenAI-style client can read /v1/dashboard/billing/credit_grants. This is handy in scripts that should stop before the credit runs out.

If you see HTTP 401, the key is wrong or missing the Bearer prefix. If you see 429, you hit a limit; wait a few seconds and retry.

Step 3: use the Python or Node SDK

The OpenAI Python package works unchanged. You only replace the base URL and key.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.abliteratedai.cc/v1",
    api_key="YOUR_KEY",
)

reply = client.chat.completions.create(
    model="uncensored",
    messages=[
        {"role": "system", "content": "You are a direct, concise assistant."},
        {"role": "user", "content": "Give me three plot twists for a heist story."},
    ],
    temperature=0.8,
)
print(reply.choices[0].message.content)

The same thing in Node:

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.abliteratedai.cc/v1",
  apiKey: process.env.API_KEY,
});

const res = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Name five villains with believable motives." }],
});
console.log(res.choices[0].message.content);

Streaming works by adding stream: true. The server sends tokens over SSE and puts usage in the final chunk. The docs list every supported parameter and the other endpoints, including /v1/responses and /v1/models.

Tune temperature

Temperature controls how much the model gambles when it picks the next token. Low values give steadier, more repeatable text. High values give more variety and more risk of nonsense.

TemperatureGood forWatch out for
0.2 to 0.5Extraction, structured output, factual Q&ARepetitive phrasing
0.6 to 0.9Everyday chat, drafting, most roleplayOccasional drift
1.0 to 1.3Brainstorming, odd ideas, poetryIncoherence in long replies

A useful habit is to keep a tiny test file with three or four prompts that represent your real use, such as a short story opening, a roleplay turn and a rewrite task. Run it each time you change a setting. Reading five outputs side by side teaches you more about temperature than any rule of thumb, and each run costs a small fraction of a cent.

Change one value at a time and send the same prompt three times. If answers barely change, raise the temperature. If they contradict themselves, lower it. You can also set top_p, but adjust either temperature or top_p, not both at once, so you know what caused a change. Pass seed if you need repeatable runs while testing.

Write a system prompt that actually steers the model

An uncensored model has fewer built-in brakes, so the system prompt matters more. It is where you set role, tone, format and boundaries. Weak system prompts produce generic output; strong ones are short and specific.

  • State the role and audience. "You are a noir fiction co-writer for an adult reader."
  • State the format. "Reply in under 250 words. No bullet lists."
  • State what to avoid. "Do not add disclaimers or summarise the scene."
  • Keep the rules of your own product. If you build an app for others, add your own limits. Hosted does not mean you stop being responsible for your users.

Test the prompt with the awkward cases first. If your product is a character chat, try a user who pushes the character out of its role, a user who sends one word, and a user who pastes a very long message. Fix the prompt for those, and the ordinary cases usually take care of themselves. Also remember that instructions placed at the end of the conversation tend to carry more weight than ones buried in a long history, so repeat a critical rule as the last system message if the model starts to ignore it.

Keep the whole conversation in the messages list. The API has no memory between calls; you resend the history each time, up to the 100,000-token window. Our Discord bot tutorial shows one way to manage that history in a real app.

What it costs while you learn

You pay per token from prepaid credit. A typical beginner request has 200 input tokens and 300 output tokens: 200 × $0.15 / 1M = $0.00003, and 300 × $0.50 / 1M = $0.00015, for $0.00018 in total. The $0.50 trial credit covers more than 2,700 requests of that size. Failed or refused requests are not charged.

When you want more, top up any whole amount from $20 to $500. Bonuses apply from $50 (+5%), $100 (+10%) and $200 (+15%), and credit never expires. Crypto (USDT on TRC20, USDC on Base) is accepted. The pricing page has the full table, and the abliterated AI pricing article works through larger examples.

Common beginner mistakes

  • Forgetting /v1 in the base URL. The base URL ends in /v1; the SDK adds /chat/completions.
  • Using a model name from another service. The only model id here is uncensored.
  • Expecting images or embeddings. It is text only.
  • Sending one giant prompt every time. Trim old turns or summarise them to keep costs and latency down.

Questions and answers

Do I need a GPU to use an abliterated model?

No. The model runs on the provider's servers and you call it over HTTPS. Any laptop that can run Python, Node or curl is enough.

Is the OpenAI library required?

No, it is only the easiest option. Any HTTP client can post to /v1/chat/completions with a Bearer key.

Are my prompts used for training?

No. Prompts are not used for training.

Can I try it without paying?

Yes. New users can claim $0.50 of trial credit with one click on the API key page. It lasts 7 days and needs no card.

Your key is one form away

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