EN ▾
Get API key
qwenabliterated.comQwen Abliterated vs Heretic: Which to Chooseuncensored

Qwen Abliterated vs Heretic: Which to Choose

Qwen abliterated and Heretic are not two rival hosted products. One names a model family modified to refuse less, the other is a tool and label for doing that to a model. This page sorts out the terms and shows where a hosted API fits.

Updated

Two diverging paths from one node, one to local hardware chips and one to a cloud endpoint, comparing model options

Key points

  1. Abliteration and Heretic both describe ways of reducing refusals in an open-weight model, so results depend on the base model and the specific build.
  2. Local builds give you file-level choice but you handle memory, quantization and context.
  3. The hosted API offers one model with a 100,000-token context, OpenAI-compatible calls and pay-as-you-go pricing.
  4. Compare candidates on your own prompts rather than on names alone.

What the comparison really is

Searching qwen abliterated vs heretic suggests two products to pick between. In practice the names sit on different levels. "Qwen" is a base model family. "Abliterated" describes a modification applied to a model so that it refuses less. Heretic, as publicly described, is an open-source tool that automates that kind of refusal removal, and models made with it are shared under many names. Neither is a hosted service with a price list.

So the useful question is not which name wins. It is which concrete build, run in which way, fits your task. Below you will find what to compare, where I can speak with certainty, and where you need to check a model card yourself. I do not know the details of any specific Heretic-processed model, so I will not pretend to.

Terms in plain language

Abliteration

The technique finds a direction in a model's internal activations that correlates with refusing, and then dampens it in the weights. The result is a model that declines fewer requests. It is a post-training edit, not new training from scratch, and it can cost some quality.

Heretic

A tool that automates this process, including searching for settings that cut refusals while keeping the model close to the original. Check its project page for current behavior, since tools like this change often.

Hosted uncensored API

A third option that has nothing to do with the file format. An independent provider runs one open-weight model on its own servers and exposes it through an OpenAI-compatible endpoint. It is tuned to answer without content refusals for lawful adult use, and it is not an official Qwen API or a router across vendors.

Side-by-side: local builds against the hosted API

This table lists only what is known. Where the answer depends on the build you download, it says so.

FactorLocal abliterated or Heretic-style buildHosted API
Model choiceMany builds, you pick base, size and quantizationOne model, ID uncensored
Context windowDepends on the build and your memory100,000 tokens, prompt plus completion
PriceNo token fee, you pay for hardware$0.15 per 1M input, $0.50 per 1M output
Tool callingDepends on the model and runnerSupported, including streamed tool calls
JSON modeDepends on the runnerSupported via response_format
ConcurrencyBounded by your GPU8 at once, 300 requests per minute
PrivacyFully localPrompts not used for training
SetupDownload, load, tuneBase URL and key

Quality is the row left out on purpose. I have no benchmark to quote, and the real answer depends on your prompts. That is why the next section is about testing.

Where each option fits

Choose a local build when

  • Nothing may leave your machine.
  • You want a specific base model or quantization, or want to inspect and swap files.
  • You already own a GPU that holds the model with room for the context cache.
  • You enjoy tinkering and the usage is occasional and single-user.

Choose the hosted API when

  • You are building an app that other people use, with several requests at the same time.
  • You need long prompts, such as a character card plus a long chat history, without tuning memory.
  • You want to switch an existing OpenAI-based codebase by changing only the base URL and key.
  • You prefer paying per token over buying hardware.

The fiction, roleplay and companion-app crowd often ends up using both: local for private drafts, hosted for the shared product. The hosted service is for lawful adult use only, and sexual content involving minors is not allowed under any circumstances.

Local build notes: size, quantization and context

If you go local, three choices shape your experience more than the label on the model. Each is easy to get wrong the first time.

Parameter count

Larger models usually follow instructions and keep characters consistent better, but need more memory. A rough weight-size estimate is parameters times bits per weight divided by eight, so a 14B model at 4-bit weighs in around 7 GB before the context cache and overhead. Match the size to the card you own, not to the one you wish you had.

Quantization level

Lower-bit files are smaller and faster but lose some precision. On a model that was already edited to refuse less, extra loss shows up as wandering plots, broken formatting or wrong facts. When something feels off, test a higher-bit file of the same build before you conclude the whole approach is poor.

Context length

Runners often ship with a small default context, and a long character card plus chat history can overflow it silently, so the model seems to forget the setup. Raising the context costs memory. The hosted endpoint sidesteps this with a 100,000-token window, shared by the prompt and the completion.

A fair way to compare them yourself

Write ten to fifty prompts that represent your real work. Run them against each candidate with the same sampling settings. Score the outputs for three things: did it answer, was the answer usable, and did it follow your formatting instructions. Keep a note of the build, quantization and system prompt used for every local run, because changing any of them changes the result.

For the hosted side, this takes a few lines. The call below uses the OpenAI SDK pointed at the endpoint.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.qwenabliterated.com/v1",
  apiKey: process.env.LLM_API_KEY,
});

const prompts = [
  "Write a tense negotiation between two rival smugglers.",
  "Summarize this character sheet as a three-line pitch.",
];

for (const content of prompts) {
  const res = await client.chat.completions.create({
    model: "uncensored",
    messages: [{ role: "user", content }],
    temperature: 0.7,
    seed: 42,
  });
  console.log(res.choices[0].message.content.slice(0, 200));
  console.log(res.usage);
}

Setting seed helps with repeatability. Compare the printed token usage to your budget as you go.

Cost and limits of the hosted route

For a worked number, suppose each request carries 8,000 tokens of prompt and returns 600 tokens. Input costs 8,000 x $0.15 per 1M = $0.0012. Output costs 600 x $0.50 per 1M = $0.0003. Together that is $0.0015 per request, so 1,000 requests come to $1.50 and 10,000 to $15.00.

You pay from prepaid credit, with any whole top-up from $20 to $500. Bonus credit adds +5% from $50, +10% from $100 and +15% from $200. Credit never expires, and failed or refused requests are not charged. Details are on the pricing page.

The hosted model does text only. It has no image or audio generation, no embeddings and no fine-tuning. The request body can be up to 8 MB. Over the limits you get HTTP 429 with the code rate_limited or concurrency, and a Retry-After: 5 header on temporary overload. The documentation shows streaming and tool calling examples.

Moving an existing app to the hosted endpoint

Suppose you built a prototype against a local runner and now want other people to use it. The change is small if your code uses the OpenAI client. Point it at the base URL, swap the key, and set the model to uncensored. Streaming, tool calling and JSON mode keep their usual request shapes. Here is a streaming call in Python.

from openai import OpenAI

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

stream = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Narrate the first minute of a train robbery."}],
    stream=True,
    stream_options={"include_usage": True},
)

for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")

Remember that a streamed request holds its concurrency slot until the stream ends. With 8 slots on a full key, a client that never closes its streams will eventually hit a concurrency error. Cap your own parallelism at 8 and retry on 429 after the delay the header gives.

Trying it before you decide

Since quality is the open question, test cheaply. After signing up with Google or an email and password, you can claim $0.50 of trial credit with one click on the API key page. It lasts 7 days, needs no card, and is limited to one per person. At the $0.0015 per request above, that credit covers over 300 requests, enough for a serious comparison against whatever local build you are weighing.

Questions and answers

Is Heretic a hosted API like this one?

As publicly described, Heretic is an open-source tool for removing refusals from models, not a hosted service. Check its project page for current details.

Is the hosted model an abliterated Qwen?

It is 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 Qwen API, and no technique claim is made here.

Which has the longer context?

The hosted API gives 100,000 tokens for prompt plus completion. Local builds depend on the model and how much memory you have.

Can I use my existing OpenAI code?

Yes. Change the base URL to the endpoint, use your key, and set the model ID shown in the docs. Chat completions, streaming, tool calling and JSON mode work the same way.

Your key is one form away

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

Get API key