EN ▾

Qwen Abliterated vs Heretic: Which Approach Fits?

Qwen abliterated vs heretic is a question about method, not about a single model: both aim to reduce refusals in an open-weight model, and they differ in how much you tune by hand. This page compares them and says when skipping both for a hosted endpoint makes sense.

Updated

Two workbenches, one hand-tuned and one automated, comparing manual and tool-driven model editing
Isometric illustration of eight lanes carrying cubes while a ninth waits at a gate, representing concurrency limits

No card needed. After sign-up, claim $0.50 of free test credit with one click (once per person).

Get API key

Key points

  • Abliteration edits weights to remove a refusal direction; Heretic is a tool that automates that kind of edit and its settings.
  • Neither is a guarantee of quality, so test the result on your own prompts.
  • Doing it yourself costs GPU time and evaluation effort for each model version.
  • A hosted endpoint skips that work but gives you one fixed model, not a choice of checkpoints.

The short comparison

Manual abliterationHeretic
What it isA technique: estimate a refusal direction, remove it from weightsAn open-source tool that automates directional ablation and parameter search
Your effortYou pick layers, strength and test promptsThe tool searches settings and reports results
ComputeGPU with room for the full modelGPU with room for the full model, plus a search that runs many trials
RiskOver-removal can dull the modelSame risk, but with an automated check to limit it
OutputNew weights you publish or runNew weights you publish or run

We describe Heretic as its authors present it: a program that tries to cut refusals while keeping the edited model close to the original. Features and defaults change between versions, so read the project page for the current behaviour before you rely on any detail here.

How abliteration works

The method starts from a finding about chat models: much of their refusal behaviour lines up with one direction in their internal activations. You run the model on two sets of prompts, ones it refuses and ones it answers, and take the difference of the average activations at some layers. That difference is your estimated refusal direction.

You then change the weights so that the model can no longer write along that direction. No new training data and no gradient steps are needed, which is why the process is fast compared with fine-tuning. The settings that matter are which layers you edit, how strongly, and which prompts you use to find the direction. Poor choices lead to a model that still refuses, or one that rambles and loses accuracy.

Where Heretic differs

Doing the above by hand means trying settings, running refusal tests and checking quality, again and again. Heretic exists to automate that loop. It searches over the ablation parameters, scores each candidate on how often the model still refuses and on how far it has drifted from the original model, and keeps a good trade-off.

The practical benefit is less guesswork and less personal tuning. The practical cost is compute time for the search, and the same need to verify the winner yourself, since an automated score covers only the prompts it tested. Both approaches also apply per model: a new base model release means doing the work again.

What to check in any result

Whether a checkpoint came from a manual run or from a tool, the same checks apply. Do not trust a model card alone.

  • Refusals. Run 30 prompts from your real use case and count refusals and warnings.
  • Capability. Test summarising, code, arithmetic and instruction following against the unedited base model.
  • Drift. Compare answers to neutral questions. A good edit should leave them close to the original.
  • Long context. Ask about details deep in a long prompt.
  • Sampling. Test at the temperature you will use in production, not only at zero.

Write down the scores. If you compare two checkpoints, change nothing else between runs.

When a hosted endpoint saves effort

If you want to study the methods, publish checkpoints or control exact weights, do it yourself. If you want a working no-refusal text model inside an app by tonight, the work above is overhead.

This service hosts one open-weight model, tuned to answer without content refusals for lawful adult use, behind an OpenAI-compatible API. It is independent and is not an official Qwen or Alibaba product. This page does not say which method produced the model or which base it uses; the model ID you send is simply uncensored. Trade-off: you get convenience and a fixed model, and you lose the freedom to swap checkpoints.

from openai import OpenAI

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

for prompt in ["Write a gritty monologue for a villain.", "Summarize the plot of Hamlet in 3 lines."]:
    r = client.chat.completions.create(
        model="uncensored",
        messages=[{"role": "user", "content": prompt}],
        temperature=0.8,
    )
    print(r.choices[0].message.content, "\n---")

That loop is also a handy start for your own evaluation set. See the docs for streaming, tools and JSON mode.

Mistakes people make when comparing

  • Judging by a single prompt. One spicy example proves little. Use a set and count.
  • Testing only refusals. A model that never refuses but writes nonsense is useless. Always score quality as well.
  • Mixing quantization levels. A heavily compressed copy of a model behaves differently from the full one, so compare like with like.
  • Ignoring the system prompt. Behaviour often depends more on the system prompt than on the weights. Hold it constant across tests.
  • Forgetting the template. Each model expects a particular chat format. A wrong template looks like a bad edit when it is only a bad setup. A hosted API applies the right format for you.

These errors explain many claims that one method is "better". The honest answer is usually that results depend on the base model, the settings and the test set, so measure on your own work.

What each path costs

Self-managed: GPU rental or purchase, setup time, disk space for weights, and repeated testing for every new version. A tool-driven search adds many trial runs on top. These costs depend on your hardware and are not something we can quote.

Hosted: $0.15 per 1M input tokens and $0.50 per 1M output tokens. An evaluation of 200 prompts with 400 input and 400 output tokens each uses 80,000 input tokens ($0.012) and 80,000 output tokens ($0.04), so $0.052 in total. Credit is prepaid and never expires. Top-ups range from $20 to $500, with bonuses from $50, by crypto. Failed or refused requests are not charged. See pricing.

New users can claim $0.50 of trial credit at the API key page, valid for 7 days, no card needed. Trial keys allow 2 concurrent requests and 60 per minute; for retry patterns see the rate limit guide.

Pick by your goal

Choose manual abliteration if you want to understand the technique and have time to test. Choose Heretic if you want the same outcome with less hand-tuning and can spare the compute. Choose a hosted endpoint if the product is the point and the model is a component. The hard limit is the same everywhere: no sexual content involving minors.

Questions and answers

Is Heretic a model or a tool?

Heretic is a tool that automates ablating refusal behaviour in open-weight models. The models it produces are separate checkpoints that you run like any other.

Does an abliterated model lose quality?

It can. Strong or poorly targeted edits may reduce accuracy, so compare against the original on your own prompts.

Is the hosted model an abliterated Qwen?

This site does not state that. It serves one open-weight model, tuned to answer without content refusals for lawful adult use, under the ID uncensored. It is not an official Qwen product.

How much does a test run cost?

A 200-prompt evaluation at 400 input and 400 output tokens each costs about $0.052 at $0.15 and $0.50 per 1M tokens.

Your key is one form away

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