Unfiltered AI Chat Like Chai: A Developer Alternative
People who want an unfiltered ai chat like chai usually want character conversations without constant refusals. If you can write a little code, you can build that yourself on an API, own the experience, and pay per message instead of a monthly app fee.
Updated


Short answer
Truly free, unrestricted chat with no strings is rare. Someone pays for the GPUs that run every reply, and when a service does not charge you, the cost usually comes back as limits, queues, logging of your chats, ads or a sudden change of rules. That does not make free sites bad. It means that for ai chat unrestricted free, you should know which trade you are accepting.
This site takes the other route. There is no free tier and no subscription. You get a one-time trial of $0.50, then you add prepaid credit from $20 and pay per token: $0.15 per 1M input tokens and $0.50 per 1M output tokens. Because chat messages are short, that price turns out to be small for casual use, and the next sections do the arithmetic so you can decide with numbers instead of guesses.
App versus API: what changes
Chai is a mobile app where people talk to AI characters, many of them made by other users. You get a finished product: interface, characters, accounts. You also get its rules, its model choice and its pricing, and you cannot change them. For current plans and policies, check the app's own pages.
An API gives you the opposite deal. You receive a model behind an OpenAI-compatible endpoint, and you decide everything else: the characters, the memory, the interface and the cost model. This API runs one open-weight model, tuned to answer without content refusals for lawful adult use. If your goal is an unfiltered ai chat like chai that you control, the API route fits. If you just want to chat tonight without writing code, a ready-made app or one of the chat interfaces that accept a custom endpoint is easier.
Option one: use an existing front end
Many open-source chat front ends let you add an OpenAI-compatible endpoint. You paste three values and start chatting, with character cards and history handled by the front end. SillyTavern, for example, supports adding such a custom endpoint.
| Setting | Value |
|---|---|
| API type | OpenAI-compatible / custom |
| Base URL | https://api.unfilteredaichat.cc/v1 |
| API key | Your key from the API key page |
| Model | uncensored |
Menu names differ between tools, but the three values do not. This route takes ten minutes and needs no programming.
Option two: build your own chat in Python
A small script already gives you a persistent character, streaming replies and trimmed memory:
from openai import OpenAI
client = OpenAI(base_url="https://api.unfilteredaichat.cc/v1", api_key="YOUR_KEY")
PERSONA = (
"You are Mara, a sarcastic ship engineer in a space-opera story. "
"Stay in character, keep replies under 120 words, and never break the fourth wall."
)
history = []
MAX_MESSAGES = 20
while True:
user = input("you> ")
history.append({"role": "user", "content": user})
msgs = [{"role": "system", "content": PERSONA}] + history[-MAX_MESSAGES:]
stream = client.chat.completions.create(
model="uncensored", messages=msgs, stream=True, temperature=0.9
)
reply = ""
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
piece = chunk.choices[0].delta.content
reply += piece
print(piece, end="", flush=True)
print()
history.append({"role": "assistant", "content": reply})
The persona lives in the system message, memory is the last 20 messages, and each turn streams. To go further, store the history in a database per user, and build a character list from persona cards. Our guide to unfiltered AI chat covers prompt structure for characters.
Putting it on the web without leaking your key
Never call the API from browser JavaScript, because anyone can read the key from the page. Put a thin server in between that holds the key, checks the user and forwards the request. A minimal Node version:
import express from "express";
import OpenAI from "openai";
const app = express();
app.use(express.json());
const client = new OpenAI({
baseURL: "https://api.unfilteredaichat.cc/v1",
apiKey: process.env.LLM_API_KEY,
});
app.post("/chat", async (req, res) => {
const stream = await client.chat.completions.create({
model: "uncensored",
messages: req.body.messages.slice(-20),
stream: true,
});
res.setHeader("Content-Type", "text/event-stream");
for await (const chunk of stream) {
res.write(`data: ${JSON.stringify(chunk)}\n\n`);
}
res.end();
});
app.listen(3000);
Add authentication and a per-user rate limit before going live. A full key allows 8 concurrent requests and 300 per minute, shared by all your users, and every open stream holds a slot until it ends. If you expect more traffic, queue requests on your server and answer 429 from your side first.
What it costs per user
Assume a heavy user sends 40 messages a day for 30 days: 1,200 turns. With history trimmed, each turn sends about 2,000 input tokens and returns about 150 output tokens.
Input: 1,200 x 2,000 = 2.4M tokens x $0.15 = $0.36. Output: 1,200 x 150 = 180,000 tokens x $0.50 = $0.09. That is $0.45 per heavy user per month in model tokens. A $20 top-up covers about 44 such users for a month, and a $200 top-up gives $230 of credit with the +15% bonus.
Failed or refused requests are not charged, credit never expires, and the pricing page lists payment by crypto. Compare that to your app's revenue per user before picking a business model. Hosting, storage and payment fees are separate and not included here.
Make the characters feel consistent
Three habits matter more than any model setting. Keep the persona short and concrete: voice, goals, a few speech habits. Put the fixed facts in the system message so trimming history never drops them. Add a running summary: every 20 turns, ask the model to summarise the story so far in 150 words and insert it after the system message.
Set temperature around 0.8 to 1.0 for lively dialogue and use a mild presence_penalty if replies start to repeat. The free unrestricted chat page lists ways to test a character before you invest in an interface.
Fixing common chat problems
- The character drifts out of role. Restate the key rules at the end of the system message, and keep the persona under about 300 words. Very long personas get diluted.
- Replies repeat phrases. Raise
temperatureslightly and add a smallpresence_penaltyorfrequency_penalty. Change one value at a time. - The story forgets early events. Trimming is the cause. Add the periodic summary, or keep a short list of facts such as names and promises.
- Replies are too long. State a word limit in the persona and set
max_tokensas a hard stop. - Users see errors at busy times. That is likely a 429. Queue requests and retry after the
Retry-Aftervalue instead of failing in the interface.
Log the X-Request-Id response header with each error. It lets support trace a single request.
Responsibility and limits
Unfiltered here means the model does not refuse lawful requests by default. It does not mean there are no rules. Sexual content involving minors is never allowed, and you should add age gates, a report button and clear terms to anything you publish. Keep the product to lawful adult use, and handle user data carefully. Prompts sent to this API are not used for training.
It is a text API only: no voice, images or video. You can claim a $0.50 trial on the API key page to test all of the above first, with 2 concurrent requests and 60 per minute. The docs cover the full endpoint list.
More guides
Questions and answers
Is this an official Chai API?
No. This is an independent text API running one open-weight model. It is not connected to Chai or any other vendor.
Can I use it in SillyTavern or a similar front end?
Yes, if the tool accepts an OpenAI-compatible endpoint. Enter the base URL, your key and the model ID uncensored.
How much does a chat user cost?
A heavy user with 1,200 turns a month costs about $0.45 in tokens at $0.15 and $0.50 per 1M, assuming trimmed history.
Is anything off limits?
Yes. Sexual content involving minors is never allowed, and the service is for lawful adult use.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.