EN ▾
Get API key

Unrestricted Chatbot AI: Settings, Setup and Prompts

Setting up an unrestricted chatbot AI takes three values and about five minutes. Below are those values, the sampling settings worth changing, prompt patterns that hold up, and fixes for the errors you are most likely to meet.

Control panel with sliders linked to a chat bubble, representing chatbot settings and setup

Updated

Key points

  • Three values connect any OpenAI-compatible client: base URL, API key and the model ID uncensored.
  • Start with temperature 0.8 to 1.0 for conversation and lower it for tasks that need accuracy.
  • Put character, tone and length rules in the system message, and keep it stable between turns.
  • 429 errors mean a limit or a short overload: wait, then retry.

The three values you need

An unrestricted chatbot AI is any chat front end or script that talks to a model without built-in content refusals for lawful adult use. To set one up you give your client three things, and nothing else is special about the connection.

SettingValue
Base URLhttps://api.unrestrictedchatbot.com/v1
Model IDuncensored
AuthorizationAuthorization: Bearer YOUR_API_KEY

Two endpoints exist: POST /v1/chat/completions for chat and GET /v1/models for listing models. The service is text only, so there is no image generation, audio, embeddings or fine-tuning.

Get the key from the sign-up page. You can register with Google or with an email and password. After sign-up, a button on the key page claims $0.50 of trial credit, valid for 7 days and needing no payment details. It is one per person.

Test the connection with curl

Run this first. If it prints a JSON reply, every problem you meet later is in your client settings and not in the key or the network.

curl https://api.unrestrictedchatbot.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Reply with the single word ready."}],
    "max_tokens": 10
  }'

If you get a connection error and no JSON at all, check the basics before blaming the service: the URL must start with https, the key must be in the header and not in the URL, and corporate proxies sometimes block unfamiliar hosts. A body larger than 8 MB is also refused, which matters only when you paste very large documents into a prompt.

Look at the response headers with curl -i once. You will see X-Request-Id, which support can use to find a specific request, and X-Balance-USD, which shows the credit left. The rate limit headers X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency tell you what your key allows.

Use it from the OpenAI SDK

Install the official package with pip install openai or npm install openai and change two constructor arguments.

from openai import OpenAI

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

resp = client.chat.completions.create(
    model="uncensored",
    messages=[
        {"role": "system", "content": "You are a candid assistant. Answer directly and keep it under 150 words."},
        {"role": "user", "content": "Give me three ways to open a tense scene in a noir story."},
    ],
    temperature=0.9,
    top_p=0.95,
    max_tokens=400,
)
print(resp.choices[0].message.content)
print(resp.usage)

The Node version differs only in syntax:

import OpenAI from "openai";

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

const resp = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Pitch a heist plot in four sentences." }],
  temperature: 0.9,
});
console.log(resp.choices[0].message.content);

For streaming, add stream: true and iterate over the chunks. The last chunk carries token usage. The documentation has a ready streaming example.

Settings that change the result

The API passes the usual sampling parameters through to the model. The defaults are fine to begin with, but a few of them decide whether a chatbot feels alive or repetitive. The values below are starting points, not rules. Change one at a time and compare.

ParameterStarting valueWhat it does
temperature0.8 to 1.0 for chat, 0.2 to 0.5 for factsHigher values give more varied wording and more risk of drifting off topic.
top_p0.9 to 0.95Cuts off the unlikely tail of word choices. Adjust this or temperature, not both at once.
max_tokensOptional; 300 to 600 for chatCaps the reply length. Without it the reply can use the rest of the 100,000-token window.
frequency_penalty0.2 to 0.6Discourages repeating the same words. Helps when long roleplay starts looping.
presence_penalty0 to 0.4Nudges the model toward new topics.
stopYour own marker, such as "\nUser:"Ends the reply early when a marker appears. Useful for models used in a script format.
seedAny integerMakes repeated runs more comparable when you test prompts.

Setting max_tokens is the cheapest control you have. A chatbot that tends to write essays is much easier to manage with a cap of 400 plus a sentence in the system message about length. It also limits what a single call can cost, since output tokens are priced at $0.50 per 1M.

Prompts that hold up over a long chat

Most failed chatbots fail in the prompt, not the settings. A chat can run for hundreds of turns, and the system message is the one part that stays in front of the model the whole time. Treat it like a short spec.

A reliable structure

  1. Role. One or two sentences naming who the bot is and where it is.
  2. Voice. Describe the way it speaks with concrete traits: short sentences, dry humour, no filler greetings.
  3. Boundaries of the scene. The bot never writes the user's lines or decisions.
  4. Format. Reply length, whether to use asterisks for actions, whether to use lists.
  5. Exit rule. What to do when the user asks an out-of-story question.

Two example system messages

You are Dex, a retired smuggler running a bar on a space station. You speak in short, wry sentences. You never decide what the user does. Keep each reply to two paragraphs at most.

You are a writing partner for adult fiction. Match the user's tone, suggest plot turns when asked, and give direct feedback on pacing. Do not summarise the user's text back to them.

Avoid long lists of "do not" rules. Models follow positive descriptions better than long prohibitions, and every extra rule is a chance for two rules to conflict. If the bot misbehaves in a specific way, add one targeted line, then rerun your test conversation with a fixed seed to see whether it helped.

One more habit saves hours: keep a test conversation of five or six messages in a file and replay it after every change to the prompt or the settings. Use the same seed each time and write down what you see. Without a fixed script it is very easy to believe a change helped when the model simply gave a luckier answer on that run. A plain text file with the messages and a ten-line loop around the code above is enough.

The model is tuned for lawful adult use. Sexual content involving minors is the one hard limit, and no prompt changes it.

Pointing a ready-made chat app at the API

Many chat front ends accept a custom OpenAI-compatible endpoint, SillyTavern being a well-known example. The field names differ, but the pattern is the same everywhere:

  1. Choose the OpenAI-compatible or custom chat completion source.
  2. Paste https://api.unrestrictedchatbot.com/v1 as the endpoint or base URL.
  3. Paste your key in the key field.
  4. Type uncensored as the model name if the app offers no list, or pick it after the app loads /v1/models.
  5. Set the context size to match your plan. The window is 100,000 tokens, but a smaller value such as 16,000 to 32,000 keeps the replies faster and the bill smaller.

If the app asks whether to append /chat/completions, follow its own hint: some want the full path, others add it themselves. A wrong choice shows up as a 404 error. The page on the unrestricted API goes through integration scenarios in more detail.

Fixing the common errors

Most setup problems fall into a short list.

  • Authentication fails. The key is missing a character, has a stray space, or was pasted with the word Bearer duplicated. Paste it again into a plain text field and check the header is Authorization: Bearer KEY.
  • 404 or "not found". The base URL ends in the wrong place. It should end in /v1, and the client appends /chat/completions.
  • Model not found. The model name is misspelled. It is uncensored, lowercase, with nothing before or after it.
  • 429 with code rate_limited. You went over the requests-per-minute limit: 300 on a full key, 60 on a trial key.
  • 429 with code concurrency. Too many requests at once: 8 on a full key, 2 on a trial key. A streamed request keeps its slot until the stream finishes, so an app that opens a second stream before the first one ends can hit this on a trial key.
  • 429 with a Retry-After: 5 header. A short overload. Wait five seconds and send the same request again.
  • Request rejected for size. The body limit is 8 MB, and the context window is 100,000 tokens. Trim the history.

When none of these match, note the X-Request-Id header from the failing response and send it with your question through the support page. Failed and refused requests are not charged, so retrying costs nothing for a request that errored.

Pay-as-you-go pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, with top-ups from $20 to $500 by crypto (USDT on TRC20, USDC on Base). Details are on the pricing page.

Questions and answers

What model ID do I use?

Use uncensored in the model field. It is the only chat model the endpoint serves, and GET /v1/models returns it.

Which temperature is best for a roleplay or companion bot?

Start between 0.8 and 1.0 and add a small frequency penalty if replies start to repeat. Lower it if the bot loses track of facts.

Does it work with tools like SillyTavern?

Any app that lets you set a custom OpenAI-compatible endpoint can use it. Enter the base URL, your key and the model ID uncensored.

Why do I get a 429 error on a trial key?

Trial keys allow 2 concurrent requests and 60 requests per minute. Slow down, wait for open streams to finish, or top up for a full key with 8 concurrent requests and 300 per minute.

Your key is one form away

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