EN ▾
Get API key

How an Unfiltered AI Chatbot Works Under the Hood

An unfiltered chatbot is two parts: a language model that was tuned to answer instead of decline, and a thin app that keeps the conversation going. Once you see where each part lives, the whole thing stops looking like magic.

Updated

Glowing chat bubbles looping through a neural network lattice, showing how a chatbot sends and receives messages

Key points

Private APIs isolate your data and ensure consistent model behavior without third-party interference.

Prepaid token billing scales costs directly with usage, eliminating hidden subscription fees.

OpenAI-compatible endpoints allow you to drop the API into existing SDK workflows with minimal code changes.

Strict privacy guarantees mean your prompts are never used for training, essential for sensitive content.

The short version

People asking how unfiltered ai chatbot works usually expect a hidden switch somewhere that turns the safety off. There is no switch. A chatbot is a language model wrapped in a small program, and "unfiltered" describes how that model was trained and tuned, plus how little the wrapper adds on top.

The model reads text and predicts what comes next, one small piece at a time. The wrapper keeps a list of earlier messages, adds your newest one, sends the whole list to the model, and shows you what comes back. That is the entire loop. Everything else, from personas to memory features to slick interfaces, is built on this loop.

Step one: the model predicts the next token

Text is first cut into tokens, which are chunks a little shorter than an average word. A short common word is often one token, while a rare name or a long word may be three or four. The model never sees letters the way you do. It sees a sequence of token IDs.

During pretraining, a large neural network reads a huge amount of text and learns to guess the next token. After enough training it can continue almost any text in a plausible way: an email, a story, a code function, a dialogue. At this stage it is not a chatbot yet. If you gave it "What is the capital of France?" it might answer, or it might continue with a list of other quiz questions, because that is also a plausible continuation.

When you call the model, it does not return one answer. At each step it produces a probability for every possible next token, and a sampling rule picks one. That is where settings like temperature come from. A low temperature makes the model pick the most likely token almost every time. A higher one lets less likely tokens through, which gives more varied and more surprising text. A chat reply is just this pick-and-append step repeated until the model emits an end-of-reply token or hits a length limit.

Step two: tuning turns a text predictor into an assistant

To make a model behave like a chat partner, it goes through additional training on examples of conversations: a user message followed by a good reply. A later stage rates different replies and nudges the model toward the ones people prefer. This is where the assistant manner comes from, including the polite tone, the habit of answering questions and the habit of staying on topic.

This stage is also where most refusals are learned. Mainstream assistants are shown many examples in which a borderline request is answered with "I can't help with that", and they generalise the pattern. Some of it is reasonable, and some of it is overcautious: a novelist asking for a villain's menacing speech, or an adult asking a frank question about their own life, can trip the same reflex.

An unfiltered model comes out of a different tuning recipe. Developers of open-weight models can retrain or adjust a model so that it stops treating those requests as something to decline, and answers as a capable writer or assistant would. The result is the same kind of network, with a different habit. The service behind this site runs one such open-weight model, operated by an independent provider and tuned to answer without content refusals for lawful adult use. It still has a hard line: it will not produce sexual content involving minors.

Step three: the app around the model

The model alone has no memory and no personality. Everything you experience as a character, a mood or a continuing story comes from text the app places in front of it. A typical request carries three kinds of message:

  • System message.A chatbot is a loop: the app sends the full conversation to a model, gets text back, and repeats on the next message.
  • User messages.Refusals are mostly learned behaviour from tuning, so an unfiltered model is one tuned to answer lawful adult requests without declining.
  • Assistant messages.The API is stateless: your app stores the history and resends it, which is why long chats cost more per turn.
  • Assistant messages.A text API with model uncensored covers the model half; you build or choose the app half.

Here is what a minimal request looks like on the wire. The roles are the same in every OpenAI-compatible chat API:

{
  "model": "uncensored",
  "messages": [
    {"role": "system", "content": "You are Marlow, a dry-witted ship's navigator. Stay in character."},
    {"role": "user", "content": "Where are we headed?"},
    {"role": "assistant", "content": "North, unless the captain changes his mind again."},
    {"role": "user", "content": "And if he does?"}
  ],
  "temperature": 0.8
}

Because every request carries the earlier messages, the model appears to remember. It does not. If the app drops a message from the list, the model has no trace of it. That is why "memory" features in companion and roleplay apps are really summaries, notes or retrieved snippets that get pasted into the system message.

Why a long chat costs more per turn

Since the API is stateless, each turn sends the whole history again. Input grows with every exchange, while each reply stays about the same size. You can compute this. Assume a 500-token system message, 100 tokens per user message and 300 tokens per reply. Turn n then sends 500 + 100 + (n - 1) x 400 input tokens. Over ten turns:

  • Input tokens: 6,000 + 400 x 45 = 24,000
  • Output tokens: 10 x 300 = 3,000
  • Input cost: 24,000 / 1,000,000 x $0.15 = $0.0036
  • Output cost: 3,000 / 1,000,000 x $0.50 = $0.0015
  • Total for the ten-turn chat: $0.0051

At those prices, a ten-turn conversation costs about half a cent. The shape matters more than the number, though. Total input cost grows roughly with the square of the conversation length if you never trim, which is why apps cap history, summarise old turns, or move key facts into the system message. The context window here is 100,000 tokens for prompt and reply together, so you have a lot of room, but a chat that fills it will pay for that room on every turn. Rates are $0.15 per 1M input tokens and $0.50 per 1M output tokens, and failed or refused requests are not charged. See the pricing page for top-up terms.

Where an API fits and what you still build

There are two ways to get a chatbot like this. You can use a finished app that someone else hosts, and accept its interface, its memory rules and its terms. Or you can connect your own front end to a model through an API. The second route is what this site provides: a hosted, OpenAI-compatible endpoint with the model ID uncensored, supporting streaming, tool calling and JSON mode.

The API gives you the model half of the loop. You supply the rest:

  1. A place to store each conversation's message list.
  2. A system prompt that defines the persona or task.
  3. Code that trims or summarises history before it grows too large.
  4. A front end, which can be a chat UI such as SillyTavern (which lets you add an OpenAI-compatible endpoint), a Discord bot, or your own page.

If you only need to see it work, the quickstart has a first request you can paste into a terminal in under a minute. The same calls drive a chatbot, since a chatbot is the same request repeated with a longer list. For apps with fiction, roleplay or companion features for adults, the private deployment page describes how the API is typically wired in.

What unfiltered does and does not mean

It helps to be precise. An unfiltered model answers lawful adult requests without lecturing or declining, which matters for fiction, roleplay and frank discussion. It does not mean the model is more accurate, more truthful or smarter than a filtered one. It can still invent facts, and it can still get arithmetic wrong. If you build something where correctness matters, add your own checks.

It also does not mean the rules vanish. You remain responsible for what your app does with the output, and the hard limit on content involving minors stays in place. Prompts sent through the API are not used for training, which is worth knowing if your users share personal stories. When you are ready to test it with your own prompts, create an API key; a new account can claim $0.50 of trial credit with one click, good for 7 days and with no payment needed.

Questions and answers

Is an unfiltered chatbot a different kind of AI?

No. It is the same type of language model, tuned differently so that it answers lawful adult requests instead of declining them by habit.

Does the chatbot remember me between messages?

The model itself does not. The app resends earlier messages with every request, and any longer-term memory is text the app stores and inserts for you.

Why do long conversations cost more per message?

Each request includes the whole history as input tokens, so the input grows with every turn while the reply size stays about the same.

Can I run this myself instead of using a chat site?

Yes. With an OpenAI-compatible API you point your own app or a client such as SillyTavern at the base URL and use the model ID uncensored.

Does an unfiltered model have any hard limits?

Yes. It is built for lawful adult use, and sexual content involving minors is never allowed.

Your key is one form away

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

Get API key