EN ▾

abliteratedmodels.ccHosted uncensored API for developers.

Abliterated Models
Get API key

What Is an Abliterated Model? A Plain Explanation

What is an abliterated model? It is a language model whose learned habit of refusing requests has been edited out of its weights, so it answers instead of declining. This page explains the method, its trade-offs and how to try an uncensored model over an API.

A glass cube neural network with one amber beam of light being removed, illustrating abliteration

The short version

An abliterated model is an ordinary open-weight language model that has had its refusal behavior edited out directly, by changing numbers inside the model rather than by retraining it or by writing a clever prompt. The word blends "ablation" (cutting out a part to see what it did) with "obliteration". After the edit, the model no longer answers "I can't help with that" to requests it was taught to decline.

Three points are worth holding onto before the details:

  • It is a weight edit, not a prompt trick. There is no jailbreak text to maintain and no context spent on it.
  • It removes a behavior, not knowledge. The model knows what it knew before; it simply stops declining.
  • It is not free. The edit can nick general quality, so careful builders test the result and sometimes fine-tune afterward to repair it.

Where the idea comes from

Chat models learn to refuse during post-training. Annotators and reward models push the model toward declining certain requests, and the habit gets baked in alongside everything else the model learned. For a long time that looked like a diffuse behavior spread across billions of parameters.

A research paper titled Refusal in Language Models Is Mediated by a Single Direction showed something more tractable. Across a range of open chat models, much of the refusal behavior is controlled by one direction in the model's internal activation space. Push the activations along that direction and the model refuses even harmless requests. Remove that direction and it stops refusing requests it would normally decline.

The open-source community turned this finding into a practical recipe and gave it a name. Abliteration is that recipe: find the refusal direction, then make the model unable to use it.

How abliteration works, step by step

The procedure is short enough to describe in five steps. No gradient descent is involved, which is why it needs far less compute than training a model.

  1. Collect two prompt sets. One set contains requests the model refuses, the other contains requests it answers. A few hundred of each is a common size.
  2. Record activations. Run both sets through the model and save the hidden state at a chosen layer, usually at the final prompt token.
  3. Compute the direction. Average the activations of each set, subtract the "answered" average from the "refused" average, and normalize the result. That vector is the refusal direction.
  4. Project it out. Either subtract the direction at run time, or edit the weight matrices that write into the residual stream (embeddings, attention outputs, MLP outputs) so they can never produce a component along that direction. The second option is permanent and is what most published abliterated checkpoints use.
  5. Test. Run held-out prompts, compare the refusal rate before and after, and check ordinary tasks such as reasoning and coding for regressions.

Choosing the layer matters. Pick one where the direction separates the two prompt sets cleanly, and the edit works; pick a poor one and you get a model that still refuses, or one that has lost its footing on unrelated questions. In practice, people try several layers and keep the best.

Abliteration compared with other approaches

There are three common ways to get a model to stop refusing. They differ in what they change and where they tend to fail.

ApproachWhat changesCostTypical weakness
Jailbreak promptOnly the input textNone, but it uses context on every callBrittle; one model update and it stops working
Fine-tune on permissive dataWeights, through trainingGPU hours and a curated datasetDataset quality decides everything; writing style can drift
AbliterationWeights, through a direct editLow compared with trainingThe direction is approximate, so quality can dip

Many finished models combine methods. A common pattern is to abliterate first, then run a short fine-tune to recover any quality that the edit cost. When you read a model card, look for which of these steps were used and whether the author reports before-and-after tests.

What you give up and what to watch for

Removing refusals does not make a model better at anything. It removes a filter. Some consequences follow.

Quality can dip

The refusal direction is not perfectly separate from other features. Editing it out can blur neighboring behavior, which shows up as slightly worse reasoning, odd formatting or a flatter tone. A good build keeps these effects small, but you should run your own prompts rather than trust a label.

Judgment is yours now

An aligned model sometimes declines a request for good reason. An uncensored one will usually go ahead. If you ship a product on top of it, you decide what is acceptable: write a system prompt, add your own input checks, and log what matters to you. Lawful adult use is the intended scope. Content involving minors is a hard limit on this service and is never acceptable anywhere.

Mistakes still happen

The model can still invent facts, misread instructions or lose track of a long conversation. Fewer refusals do not mean more accuracy.

How the model behind this API fits in

This article describes the method in general terms. What the API gives you is one open-weight model, run by an independent provider, tuned to answer without content refusals for lawful adult use. It is not the official API of Meta, Mistral, Qwen, DeepSeek, OpenAI or any other vendor, and it is not a router across several of them. It does text only: no images, audio, embeddings or fine-tuning.

The interface is OpenAI-compatible. Point any OpenAI SDK at https://api.abliteratedmodels.cc/v1, use the model ID uncensored and send your key as a Bearer token:

curl https://api.abliteratedmodels.cc/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [
      {"role": "user", "content": "Explain directional ablation in two sentences."}
    ]
  }'

The same call in Python with the official SDK:

from openai import OpenAI

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

reply = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "What does a refusal direction mean?"}],
)
print(reply.choices[0].message.content)

The context window is 100,000 tokens, counting prompt and completion together. Streaming, tool calling and JSON mode work as they do in the OpenAI API. Details are in the API documentation.

Common myths about abliterated models

A few ideas circulate about these models that are worth correcting, because they lead people to expect the wrong thing.

"It is a smarter model." It is not. The edit removes a filter. Reasoning, memory of facts and writing skill come from the base model, and if anything they can only stay the same or get slightly worse. If a task fails on the aligned version for lack of ability, it will fail here too.

"It has no rules at all." The model may have no refusal habit, but the service around it does. Sexual content involving minors is a hard limit, and the intended scope is lawful adult use. The model also still carries the tone and manners of its training data, so it will not turn rude or dangerous unless a prompt pushes it there.

"A system prompt can do the same thing." A system prompt can nudge a model, and sometimes that is enough for mild cases. But the prompt costs input tokens on every call, competes with your real instructions for attention, and gives out when the model's trained reflex is strong. A weight edit has none of those costs.

"Abliterated means illegal." It does not. Open-weight models are published for anyone to modify, and editing one is a normal piece of machine learning research. What you do with the output is what the law cares about, and that remains your responsibility.

Keeping these points in mind makes it easier to evaluate such a model sensibly: as a tool with fewer guardrails and the same underlying skill, to be wrapped in whatever safeguards your own product needs.

Who actually needs one

Most people never hit a refusal. Those who do tend to fall into a few groups:

  • Fiction and roleplay writers. Dark themes, villains with real menace and morally messy scenes are normal in literature. Aligned models often soften or decline them. Adult-oriented companion and story apps run into the same problem.
  • Security and red-team staff. Writing test payloads, explaining how an exploit chain works or analyzing a malware sample can trip a filter built for the general public.
  • Moderation and research teams. To build a classifier for harmful text, you sometimes need a model that will produce examples of it, or that will discuss them without flinching.
  • Developers tired of retry loops. If half of your pipeline is catching refusals and rephrasing, removing them simplifies the code.

If you are weighing the cost and control trade-offs against an aligned hosted model, the page on uncensored LLM API cost versus control goes through it in detail. Pricing is flat: $0.15 per million input tokens and $0.50 per million output tokens, with failed or refused requests not charged. See the pricing page for top-up amounts and bonuses.

Trying one without spending money

You can test whether an uncensored model suits your prompts before paying anything. Sign up with Google or with email and password, open the key page, and claim the $0.50 trial credit with one click. It needs no card, is limited to one per person and stays valid for 7 days. At these rates $0.50 covers well over a thousand short chat turns, which is plenty for a fair test.

Run the prompts that your current model refuses, compare the answers with your own judgment, and look at the quality on tasks that have nothing to do with refusals. If the output holds up, get a key from the API key page and top up from $20.

Questions and answers

Is abliteration the same as fine-tuning?

No. Fine-tuning changes weights through training on new data. Abliteration computes a direction from activations and edits the weights directly, with no training loop, though some builders follow it with a short fine-tune to repair quality.

Does an abliterated model know more than a normal one?

No. It has the same knowledge as the base model. It only stops declining requests, so it can talk about topics the base model avoided, but its facts are not any better.

Can it produce anything at all?

No. This service is for lawful adult use, and sexual content involving minors is a hard limit. You are also responsible for what your own product does with the output.

Is the model on this API an official release from a big lab?

No. It is one open-weight model run by an independent provider. It is not the official API of Meta, Mistral, Qwen, DeepSeek, OpenAI or any other vendor.

Your key is one form away

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

Get API key