Heretic IAHeretic AI API: Is There a Hosted Option?
Heretic AI API: Is There a Hosted Option?
Heretic is something you run, not something you call, so there is no official endpoint to sign up for. What you can get is a hosted, OpenAI-compatible text API that answers without content refusals, which covers most of the reason people search for one.

The short answer
If you searched for a heretic ai api hoping for a hosted service run by the Heretic project, we are not aware of one. Heretic, as it is publicly described, is an open-source command-line tool that takes a language model and lowers its tendency to refuse requests. You run it on your own hardware against weights you download, and the result is a modified model file. That is a workflow, not a service.
What does exist is a hosted route to a similar practical outcome: a text model that answers without content refusals, reachable over HTTP. This site runs one. It is a separate service, it is not affiliated with the Heretic project, and we do not claim that our model was produced with that tool. It is one open-weight model, run by an independent provider and tuned for lawful adult use.
If you want the background on what the term means, our introduction to uncensored models covers it. The rest of this page is about the practical choice: run something yourself, or call an endpoint.
What Heretic is, and what it is not
The project is aimed at people who already have model weights and want a version that refuses less. It automates the tedious part: finding settings that reduce refusals while keeping the model's behaviour on ordinary prompts close to the original. Public descriptions of it talk about measuring both refusals and how far the edited model drifts from the source model.
Three things follow from that design.
- It outputs weights, not answers. To get text out of the result you still need an inference server, a GPU with enough memory, and some way to expose an API.
- You choose the base model. That is a real advantage if you need a specific model size or license, and a real chore if you do not.
- Quality depends on the model you start from and on how well the edit went. You have to test it yourself.
None of this makes the tool bad. It means the phrase "Heretic API" describes a stack you would assemble, with the project as one component.
What a hosted uncensored endpoint gives you
A hosted endpoint skips the assembly. You get a key, a base URL and a model id, and any OpenAI client works once those are set.
- Endpoints:
POST /v1/chat/completions,POST /v1/responsesandGET /v1/models. - Streaming over server-sent events, with token usage reported at the end of the stream.
- Tool calling with
toolsandtool_choice, and results returned asrole: "tool"messages. - JSON mode through
response_format. - Sampling controls such as temperature, top_p, stop, seed and the penalties.
- A 100,000-token window, shared between prompt and completion.
Prompts are not used for training. Failed or refused requests are not charged, and credit does not expire. The full parameter list is on the documentation page.
Self-run versus hosted, side by side
| Question | Run it yourself | Hosted endpoint |
|---|---|---|
| Hardware | You need a GPU with enough memory for the model you pick | None on your side |
| Choice of model | Any model you can download and edit | One model, id uncensored |
| Time to first answer | Download, edit, test, serve | Sign up, copy a key, send a request |
| Cost shape | Hardware or rental time, whether busy or idle | Per token, prepaid, no subscription |
| Control over weights | Full | None |
| Output types | Whatever you build | Text only |
The honest reading is that the two options suit different people. If you need control over the weights, an offline setup, or a specific model, the self-run route is the right one. If you need working text generation this afternoon and a bill that tracks usage, a hosted endpoint is simpler.
Calling the hosted endpoint
Here is the smallest working request with curl. Put your key in an environment variable first.
curl https://api.hereticia.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a short scene set in a lighthouse."}],
"max_tokens": 300
}'
And the same through the official OpenAI Python SDK, with streaming:
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.hereticia.com/v1",
api_key=os.environ["API_KEY"],
)
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Write a short scene set in a lighthouse."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
New accounts can claim $0.50 of trial credit with one click on the API key page. It lasts 7 days and needs no card. At $0.00055 per request of 2,000 tokens in and 500 out, that is roughly 900 requests, so you can judge the output before paying anything.
Limits to know before you build
We would rather you hit these on paper than in production.
- Text only. No image, audio or video generation, no embeddings and no fine-tuning.
- One model. You cannot switch between models, and the service is not a router across vendors. It is not the official API of any model maker.
- Rate limits. A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 and 60. Over a limit you get HTTP 429, with the error code
rate_limitedorconcurrency. A streamed request holds its concurrency slot until the stream ends. - Body size. Requests are capped at 8 MB.
- Content rule. The model is tuned for lawful adult use. Sexual content involving minors is a hard limit and is never allowed.
Removing refusals does not remove the need for judgment. If you put the output in front of other people, you decide what is acceptable in your product.
A realistic first afternoon
Evaluating a hosted endpoint does not take long, and you can do it before spending anything.
- Sign up on the API key page and claim the $0.50 trial.
- Run the curl request above to confirm the key and base URL.
- Take ten prompts from your real use case, including the awkward ones, and run them in a loop.
- Read the replies. Check whether the answers are usable, not only whether the model complied.
- Look at the
X-Balance-USDheader after a few calls to see how fast credit drops for your prompt sizes. - Decide. If the output is good enough, you have saved yourself the GPU work. If it is not, you have a clear reference for what a self-run model needs to beat.
Ten prompts at 1,000 tokens in and 500 out cost $0.004 in total: $0.0015 for input and $0.0025 for output, so about $0.04 for a hundred. The trial is more than enough for this.
What it costs
Input tokens cost $0.15 per 1M and output tokens cost $0.50 per 1M. A request with 2,000 tokens of prompt and 500 tokens of reply costs $0.0003 for input plus $0.00025 for output, which is $0.00055. A thousand of those cost $0.55.
Top-ups run from $20 to $500 in whole dollars, paid in crypto (USDT on TRC20 or USDC on Base). Larger top-ups carry a bonus: +5% from $50, +10% from $100 and +15% from $200. Details are on the pricing page.
More guides
Frequently asked questions
Is there an official Heretic API?
We are not aware of one. Heretic is described as a tool you run on your own hardware to produce a modified model. This site is an independent hosted service and is not affiliated with the project.
Is your model made with Heretic?
We make no claim either way. It is one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use.
Can I use the OpenAI SDK with it?
Yes. Set the base URL to https://api.hereticia.com/v1, use your key as the bearer token, and send model uncensored. Chat completions, the responses endpoint, streaming, tool calling and JSON mode all work.
Does it generate images or embeddings?
No. It is a text API only, with no image, audio or video output, no embeddings and no fine-tuning.
Generate your API key
Register an account, retrieve the key, and update your base URL. That’s the entire configuration.