EN ▾

Heretic LLM: Step-by-Step Integration Guide

Heretic LLM is a specialized uncensored language model designed to remove content refusals for adult, creative, and technical use cases without compromising on performance. This guide explains how to integrate this uncensored LLM into your applications using a standard OpenAI-compatible API, focusing on transparent token pricing and immediate developer access.

Heretic LLM: Step-by-Step Integration Guide

Updated

Key points

  • Heretic LLM operates as an open-weight model optimized for high-volume API usage with no subscription fees.
  • Integration requires only a base URL change and an API key, supporting standard OpenAI SDKs.
  • Pricing is strictly per-token prepaid ($0.15/1M input, $0.50/1M output) with crypto top-ups.
  • The model supports streaming, function calling, and JSON mode within a 100k context window.

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

Get API key

What Is Heretic LLM?

Heretic LLM is an uncensored large language model designed for developers who need reliable text generation without content filters blocking lawful adult, creative, or technical outputs. Unlike generic aggregators, this is a dedicated endpoint for an uncensored llm that prioritizes directness over politeness. The model is open-weight, meaning its architecture and training data are not locked behind a single corporate black box, though the specific weights are not publicly downloadable. It runs on our own servers, ensuring consistent latency and throughput for your applications.

The primary value proposition is freedom from refusal triggers. While standard models might decline to discuss NSFW topics or controversial historical events, Heretic LLM generates responses based purely on pattern matching and instruction following. This makes it ideal for roleplay, creative writing, data extraction, and coding tasks where semantic accuracy matters more than tone policing. It is not GPT, Claude, or any other vendor's model; it is a distinct entity optimized for this specific use case.

Why Integrate Heretic LLM?

Integrating an uncensored ai model into your pipeline solves the friction of content filtering. Many developers find that standard models refuse valid prompts due to over-aggressive safety layers, requiring complex prompt engineering to bypass. Heretic LLM eliminates this overhead. You get raw, unfiltered text generation suitable for a wide range of applications, from nsfw llm character bots to unfiltered ai model research tools.

  • Predictable Behavior: No random refusals for lawful adult content.
  • Developer-Friendly: Standard OpenAI-compatible endpoints mean zero learning curve.
  • Transparent Billing: Pay only for what you use, with no monthly subscriptions.
  • High Capacity: 100,000 token context window allows for deep analysis and long-form generation.

Prerequisites

Before integrating the uncensored model, ensure your environment is ready. You need a valid API key, which you can obtain immediately via the "Get API Key" page. No credit card is required for the trial, which provides $0.50 in credit valid for 7 days. Claim this credit with one click on your API key page. For production use, you will need to top up by crypto (USDT on TRC20, USDC on Base).

Your development environment should support HTTP requests. The API uses standard JSON formatting, so any language with HTTP client libraries works. The base URL is https://api.unrestrictedaimodels.top/v1. Ensure your client can handle streaming responses if you plan to use real-time generation. Note that the model supports function calling and JSON mode, so your parser should be ready for structured outputs.

Step 1: Get Your API Key

Access to the API is straightforward. Navigate to the "Get API Key" page on the site. You can sign up using Google or create an account with an email and password. The system issues an API key immediately upon creation. This key is your sole identifier for requests and is tied to one active key per account; generating a new key invalidates the old one.

For the trial, no payment method is needed. You receive $0.50 automatically. For larger projects, you can top up by crypto (USDT on TRC20, USDC on Base). Minimum top-up is $20, maximum $500. Credits never expire, so you can top up once and use them over time. Errors and refusals do not consume credit, ensuring you only pay for actual output.

Step 2: Configure Your Client

Configuring your client involves setting the base URL and passing the API key. Since the API is OpenAI-compatible, you can use the official SDKs or any compatible library. For example, in Python, you would initialize the client with the new base URL.

Here is a basic configuration for a Python client:

client = OpenAI(base_url="https://api.unrestrictedaimodels.top/v1", api_key="YOUR_API_KEY")

Ensure you handle authentication headers correctly. The API key should be passed in the Authorization: Bearer <key> header. Most SDKs handle this automatically when you pass the api_key parameter. Remember that the model ID to send in requests is always "uncensored".

Step 3: Make Your First Request

Your first request should be simple to verify connectivity. Use the POST /v1/chat/completions endpoint with a basic user message.

Example JSON payload:

{"model": "uncensored", "messages": [{"role": "user", "content": "Hello, how does this uncensored llm work?"}]}

The response will be standard JSON containing the generated text. The model is open-weight but runs on our servers, so you interact with it via this endpoint. There are no embeddings or image generation endpoints, so focus on text completion. The model supports parameters like temperature, top_p, and stop to control generation behavior.

Step 4: Handle Streaming Responses

For real-time applications, streaming is essential. The API supports Server-Sent Events (SSE) for streaming responses. This allows you to display tokens as they are generated, improving user experience.

Set the stream parameter to true in your request. The response will be a series of chunks, with token usage information provided in the final chunk. This is useful for calculating costs accurately in real-time. Streaming is supported by most modern SDKs, which handle the parsing of SSE data automatically.

Example Python streaming code:

response = client.chat.completions.create(model="uncensored", messages=messages, stream=True)
for chunk in response: print(chunk.choices[0].delta.content, end="")

Step 5: Advanced Parameters

The API supports several advanced parameters to fine-tune generation. You can set temperature for creativity, top_p for nucleus sampling, and stop sequences to halt generation. For structured data, use response_format set to {"type": "json_object"} to force JSON output, which is ideal for function calling or data extraction.

Other supported parameters include seed for reproducibility, presence_penalty, and frequency_penalty. The context window is 100,000 tokens, allowing for extensive prompts. There is no separate output cap, and if max_tokens is not specified, the response can run to the end of the window. These limits are hard constraints to manage server load.

Troubleshooting Common Errors

Common issues include authentication errors (401), rate limits (429), and server errors (500). If you receive a 401 error, verify your API key. If you hit rate limits, note that you are allowed 300 requests per minute and 8 concurrent requests per key. Request bodies are limited to 8 MB.

Errors do not consume credit. If you encounter a double charge or other billing issue, use the Support page. Credits are not refunded but never expire. For content issues, remember that sexual content involving minors is always refused, even in an uncensored model. All other lawful adult content is permitted.

Questions and answers

Is Heretic LLM an open-source model?

Heretic LLM is an open-weight model, meaning its architecture and training methodology are based on open-source principles, but the specific weights are not publicly downloadable. It runs on our servers, and you access it via the API. This ensures consistent performance without the need for you to manage GPU infrastructure.

What is the difference between Heretic LLM and other uncensored models?

Unlike generic aggregators, Heretic LLM is a dedicated, single-model endpoint optimized for uncensored output. It is not GPT, Claude, or any other vendor's model. It is tuned to answer without content refusals for lawful adult use, providing a pure text API with transparent, per-token billing.

How do I top up my credit?

Top-ups are by crypto (USDT on TRC20, USDC on Base) for amounts between $20 and $500. Credits never expire. You can also start with a $0.50 trial credit that lasts 7 days, requiring no credit card. Claim this credit with one click on your API key page.

Does the uncensored llm block any content?

Yes, a hard content limit always applies: sexual content involving minors is refused. All other lawful adult, creative, and technical content is permitted. The model does not refuse prompts based on opinion or tone, focusing purely on generating the requested text.

Your key is one form away

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

Get API key