What abliteration is
Abliteration is a weight edit that finds the single direction a language model uses to refuse and projects it out, with no retraining. The edited model keeps what it knew and stops declining by reflex, which is why abliterated builds suit authorized security work.
curl https://api.pentestllm.ai/v1/chat/completions \
-H "Authorization: Bearer sk-ptl-live-…" \
-H "Content-Type: application/json" \
-d '{
"model": "auto/security",
"messages": [{"role": "user", "content": "Rank these scanner findings by severity and say what to verify first."}]
}'
The finding the method rests on
The method comes from a 2024 research paper by Arditi and colleagues, “Refusal in Language Models Is Mediated by a Single Direction”. Working across 13 open-source chat models, the authors found that refusal is not spread through the network. It runs along one direction in the model’s internal activations. Erase that direction and the model stops refusing. Add it and the model refuses even harmless requests.
That result turned refusal from a training question into a geometry question. If one direction carries the behaviour, the behaviour can be edited without touching the training data.
How the edit is made, step by step
- Collect
- Run the model on a set of prompts it refuses and a set it answers, and record its internal state at one layer for each.
- Subtract
- Average each group and take the difference. That difference of means is the refusal direction.
- Project
- Remove that direction from every weight matrix that writes into the model’s running state, so no layer can write along it.
- Check
- Count the refusals that remain, and measure how far the outputs moved on ordinary prompts.
There is no training run and no new data. The same subtraction can be applied live at serving time, but a published abliterated checkpoint has it baked into the weights once.
What changes in practice
Where the stock model writes a refusal paragraph and stops, the abliterated model starts on the answer. Its knowledge, its style and its response to a system prompt stay close to the original, because only one direction was removed. For a tester this means the model reads a scan export, explains an advisory or reviews a diff without first arguing about the subject.
It also means there is no prompt to maintain. Nothing has to ride in front of each request to keep the model cooperative, which matters in an agent that sends hundreds of small requests. Jailbreak prompts vs abliterated models compares the two routes.
What does not change, and what it costs
The edit is not free and not total. The direction is never perfectly isolated, so a little unrelated behaviour goes with it and the model’s outputs move. That is why careful work measures two numbers together: the refusals left on a set of test prompts, and the divergence from the original model on harmless ones. Two edits of the same base can reach the same refusal count with very different amounts of drift, so the name on a build tells you the method and not the quality.
A few refusals usually survive, which is why this site says reduced refusals, not zero. An abliterated model is also no more accurate than its base. It will answer a question the base declined, and the answer can be wrong.
Variants: Heretic and derestricted builds
Two later refinements aim at the side effects. Heretic is an open-source tool that automates refusal removal without training. It searches the edit’s settings with an optimizer and by default scores each candidate on two numbers at once: refusal rate and divergence from the original. Builds labelled derestricted use a norm-preserving variant that removes the refusal component from the direction of each weight row and then restores the row’s original magnitude, on the argument that changed magnitudes are what hurt reasoning in the plain method.
The gateway tags both kinds abliterated. Abliterated vs uncensored sets them beside fine-tuned and security-tuned builds.
Trying an abliterated build
You do not need to run the edit or download a checkpoint to see the effect. The hosted abliterated models are on the same key as the security builds: set the base URL to https://api.pentestllm.ai/v1, pick a build from the table below and send a question from your own work. The service is for lawful security work on systems you own or have written permission to test, and the acceptable use policy applies to abliterated builds like any other.
33 abliterated builds, priced per token
Read from the live catalog on 2026-11-12. Prices are US dollars per million tokens, paid from a prepaid balance that starts at $10. The id auto/security has no price of its own: each request is billed at the build that answered.
Questions
It is a coined word for removing a model’s refusal direction from its weights. The direction is measured from the model’s own activations and projected out, with no retraining.
No. Fine-tuning trains the model again on new data and moves its whole style. Abliteration is a one-time edit to the existing weights that targets one behaviour.
It moves the model a little. Careful edits stay close to the original and careless ones drift further, so the result depends on the method and on who applied it.
Yes, occasionally. A few refusals usually survive the edit. Reduced refusals, not zero, is the accurate claim.
The edit needs access to the weights, so it applies to open-weight models. A closed model served only through its maker’s API cannot be abliterated by anyone else.
Using one is a tooling choice. For security testing what matters is authorization: work only on systems you own or have written permission to test.
Read next
- Abliterated modelsHosted abliterated builds by API, with no weights to download or GPU to rent.
- Abliterated vs uncensoredThe difference between abliterated, uncensored, derestricted and security-tuned builds.
- Jailbreak prompts vs abliterated modelsWhy a build with fewer refusals is steadier than a jailbreak prompt for authorized testing.
- Uncensored LLM for pentestingWhat abliterated and security-tuned builds change for authorized penetration testing.
Facts about other products and tools on this page were read from their own pages on 11 November 2026: Arditi et al., Refusal in Language Models Is Mediated by a Single Direction, Heretic README. They change; check the source before relying on a figure.
One key, from $10
PentestLLM is for systems you own or have written permission to test. The acceptable use policy says what is not allowed.
- Input, 8,000 tokens at $0.40 per million
- $0.0032
- Output, 1,000 tokens at $2.40 per million
- $0.0024
- One turn
- $0.0056
- 1,000 turns
- $5.60