EN ▾
Try with trial credit

Heretic Project AI: What It Is and How to Use the Output

Heretic is an open-source project for removing refusals from language models. What you do with the result matters more than the tool, so this page explains the idea, then covers the three practical ways to use a model like that.

Last updated

Summary

  1. Heretic, as publicly described, automates reducing refusals in an existing open-weight model.
  2. Its output is a modified model, which you must still run somewhere to get answers.
  3. You can run it locally, serve it yourself, or call a hosted endpoint instead.
  4. This site is independent and not affiliated with the Heretic project.
A crystal refined into a lens sending light along three paths, picturing three ways to use a modified model

What the Heretic project is

The heretic project ai people ask about is, as publicly described, an open-source tool that takes an existing open-weight language model and produces a version that refuses fewer requests. It does so without training from scratch. The tool searches for a modification and measures two things: how often the edited model still refuses, and how far its behaviour has moved from the original.

This site is independent and not affiliated with the project. We write about it because many developers who find it later ask a practical question: now that a model like this exists, how do you actually use it?

Read the project's own documentation for authoritative details, since we only describe the general idea here.

Why refusals exist in the first place

Most chat models are trained to decline certain requests. That is usually done in post-training, with examples of acceptable and unacceptable answers, and sometimes backed by filters around the model. The behaviour is useful for a general public assistant. It gets in the way of fiction writers, roleplay and companion apps for adults, security research, and anyone whose lawful work touches dark or blunt subjects.

Tools in this family exist because developers want control over that behaviour. They do not make a model smarter. They change one tendency, and the quality of the outcome depends on how carefully that was done.

What the output of the project is

A decensoring run produces a model: a set of weights plus the files that go with them. It does not produce an endpoint. That has practical consequences, because weights have to be loaded by software on a machine with enough memory before they return a word.

So the question "how do you use the output" has three realistic answers.

Three ways to use the output

Option 1: run it locally for personal use

Load the weights in a local inference program on a machine with enough memory. This is the right path for experimentation, offline use and privacy-first setups. Expect to manage model size against your memory, pick a quantization level, and set the chat template correctly. Many local programs also expose an OpenAI-style server, so your apps can still talk to it with a base URL.

Option 2: serve it yourself for a product

If other people will use it, you need authentication, rate limits, logging, monitoring and a plan for restarts. You also need enough GPU capacity for peak traffic. This route gives the most control and carries the most operational work. Our production checklist covers what to cover before launch.

Option 3: call a hosted endpoint

Skip hosting entirely. The service behind this site provides a hosted, OpenAI-compatible endpoint running one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. It does not host your weights, and we do not claim its model came from the Heretic project. It simply gives you the practical result, text without refusals, over HTTP.

Using any of these from your code

The advantage of the OpenAI format is that the choice between local, self-served and hosted becomes a configuration detail. Your code reads a base URL and a model id from the environment.

import os
from openai import OpenAI

client = OpenAI(
    base_url=os.environ.get("LLM_BASE_URL", "https://api.hereticproject.com/v1"),
    api_key=os.environ["LLM_API_KEY"],
)

reply = client.chat.completions.create(
    model=os.environ.get("LLM_MODEL", "uncensored"),
    messages=[{"role": "user", "content": "Outline a heist story in five beats."}],
)
print(reply.choices[0].message.content)

Point LLM_BASE_URL at a local server and change LLM_MODEL, and the same file runs against your own weights. For the hosted route, use https://api.hereticproject.com/v1 and the id uncensored. Streaming, tool calling and JSON mode follow the OpenAI request format; see the docs.

In practice you keep one settings file per option. For the hosted service the three values are the base URL https://api.hereticproject.com/v1, the key from your account, and the model id uncensored. For a server you run, use whatever address and model name that server reports. The rest of your code, including streaming handlers and tool calling, stays unchanged. This is also why testing a hosted baseline first costs so little: nothing you write for it is wasted.

Picking the right option

  1. Do you need a particular base model, or must data stay on your own machines? Run it yourself, locally or on your own server.
  2. Is traffic steady and heavy enough to keep a GPU busy? Self-serving may pay off.
  3. Do you want a working text endpoint today, with no hardware? Use a hosted API.
  4. Do you need images, audio or embeddings? Neither this hosted service nor a text model covers that; pick other tools for those parts.

The hosted service has a few hard edges. It is text only. It runs one model. A full key allows 8 concurrent requests and 300 per minute. The context window is 100,000 tokens. And it will not produce sexual content involving minors, under any circumstances.

Questions to ask before you use any decensored model

  • Where did it come from? Which base model, which method, and who is the uploader?
  • What is the license? It must permit your use, including commercial use if you charge for your product.
  • How was it evaluated? Look for refusal numbers and a check that ordinary answers did not degrade. If none are published, run your own.
  • Who will see the output? Output shown only to you is different from output shown to the public. Add age gates and review steps for public products.
  • What happens when it is wrong? A model with fewer refusals still invents facts. Do not use it for decisions that need accuracy without a check.

Removing a refusal habit moves one decision from the model to you. A model that complies with everything is useful for fiction, roleplay and research for adults, and it is also exactly why your application needs its own rules. Sexual content involving minors is a hard line for us and should be for any product built on top.

The same questions apply to the hosted model on this site. It is one model, with no variants to choose between, so the evaluation is simple: send your own prompts, read the answers, and decide if they fit.

Cost of trying it

New accounts can claim $0.50 of trial credit on the API key page, valid for 7 days with no card needed. After that, pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, prepaid, from a $20 minimum top-up. A request with 1,000 tokens in and 400 tokens out costs $0.00035, so the trial covers well over a thousand of them. More on the pricing page.

Common questions

Does the Heretic project offer a hosted API?

We are not aware of one. The project is described as a tool you run yourself. This site is a separate, independent hosted service.

Can I use my own Heretic output on your service?

No. The service runs one model chosen by the provider and does not host customer weights.

Is an uncensored model the same as an unfiltered product?

No. The model refuses less, but you still decide what your product shows to users. Lawful adult use only, and sexual content involving minors is never allowed.

How do I switch between a local model and the hosted one?

Change the base URL, key and model id in your client settings. Both can speak the OpenAI format.

Get your API key

Sign up, copy your key, update the base URL. That is all you need to do.

Begin with trial credit

Use email and password to get your key instantly.

$0.15per 1M input tokens

$0.50Output tokens / 1M

100,000token context

$0.50trial credit

300requests per minute