Unfiltered AI Chat via API: Setup and Settings
Getting unfiltered ai chat running takes three values and about ten minutes: a base URL, an API key and the model ID. This guide goes from a first curl call to a streaming chat loop in Python and Node, then covers the settings that change how replies feel.
Updated

What you are setting up
This service is a hosted text model behind an OpenAI-compatible API. The model is one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. It is not the official API of any big vendor and it does not route between vendors. Because it follows the OpenAI chat format, any SDK or app that lets you change the base URL and key can talk to it.
So the whole thing is a normal chat completions call, sent to a model that does not refuse by reflex. It still has one hard limit, no sexual content involving minors, and it does not make images, audio or video. If you want the longer version of what the word "unfiltered" does and does not promise, the myths versus facts article goes through it.
Step 1: get a key
- Sign up with Google, or with an email and a password.
- Go to the API key page and create a key. Copy it somewhere safe, because treating it like a password is wise: anyone with the key can spend your balance.
- Press the trial button to claim $0.50 of credit. It is one per person, valid for 7 days, and it needs no payment.
The trial key allows 2 concurrent requests and 60 requests per minute. A full key, which you get once you have topped up, allows 8 concurrent and 300 per minute. For a single person chatting, either is more than enough.
Step 2: send one request with curl
Before touching any app, check that the endpoint answers. This isolates your key and URL from every other variable.
curl https://api.unfilteredaichat.cc/v1/chat/completions -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{
"model": "uncensored",
"messages": [
{"role": "system", "content": "You are a blunt, helpful assistant."},
{"role": "user", "content": "Give me three honest tips for a first novel draft."}
],
"temperature": 0.8
}'
A JSON reply with a choices array means everything works. You can also list models with GET /v1/models; there is one, uncensored. The response headers include X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency, which tell you what the call cost and what your limits are.
Step 3: a streaming chat loop in Python
A real chat needs two things the curl call lacks: streaming, so text appears as it is written, and memory. The API does not remember anything between calls, so your code keeps the list of messages and sends all of it each time.
from openai import OpenAI
client = OpenAI(
base_url="https://api.unfilteredaichat.cc/v1",
api_key="YOUR_API_KEY",
)
messages = [{"role": "system", "content": "You are a blunt, helpful assistant."}]
def chat(user_text: str) -> str:
messages.append({"role": "user", "content": user_text})
reply = ""
stream = client.chat.completions.create(
model="uncensored",
messages=messages,
temperature=0.8,
stream=True,
)
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()
messages.append({"role": "assistant", "content": reply})
return reply
chat("Pitch me a premise for a slow-burn mystery.")
chat("Make the detective less likeable.")
The second call works because the first answer is in messages. If you forget to append the assistant turn, the model will answer as if the earlier reply never happened.
The same thing in Node
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.unfilteredaichat.cc/v1",
apiKey: process.env.API_KEY,
});
const stream = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Write two sentences about a storm at sea." }],
stream: true,
});
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}
Step 4: connect a chat app instead of code
If you would rather not write code, most chat front ends have a setting for a custom OpenAI-compatible provider. Fill in the same three values:
| Field in the app | What to enter |
|---|---|
| API base URL, host or endpoint | https://api.unfilteredaichat.cc/v1 |
| API key | The key from the key page |
| Model | uncensored |
If the app has a "test connection" button, use it. If it complains about the URL, try removing or adding the /v1 part, since some apps append the path themselves. Also turn streaming on if there is a switch. For general usage notes and request fields, the quickstart docs are the place to look.
Settings that change how chat feels
These parameters are passed through to the model, so they behave like you would expect from any OpenAI-style API.
- System prompt. The strongest control you have. State the persona, the tone, the length and any formatting rules. Short and concrete beats long and vague. "Answer in at most four sentences unless asked for more" works better than "be concise".
- temperature. Around 0.7 to 1.0 suits creative chat. Lower values, 0.2 to 0.5, suit factual answers and rewrites.
- top_p. Leave it at 1 and change temperature, or the other way around. Moving both at once makes it hard to see what helped.
- stop. Sequences that end generation. Useful when you format dialogue as lines such as "User:" and "Bot:", so the model does not write the next user turn for you.
- presence and frequency penalties. Raise them a little if replies loop or repeat phrases.
- seed. Helps when you compare two prompts on the same input.
- max_tokens. Optional. Without it the reply can use the rest of the 100,000-token window. Set it to cap length and cost.
JSON mode (response_format with {"type":"json_object"}) and tool calling are also available if your chat feeds a larger application.
Managing long conversations
The window is 100,000 tokens, prompt and reply together, which is long. But every token in the history is billed again on every call. A rule of thumb: keep the last 20 to 30 messages verbatim, and replace older ones with a short summary you write or ask the model to write. Replies get faster and cheaper, and the chat rarely loses the thread.
Three system prompts to start from
Because the model does not lean on built-in refusals, the system prompt carries more weight than it does on a locked-down service. It is where you decide what kind of conversation this is. Three patterns cover most chat use.
The plain assistant
Good for questions, drafts and brainstorming. Something like: "You are a direct assistant. Answer the question first, then add detail only if it helps. If a request is unclear, ask one short question." Keep it under 100 words. Long rule lists get diluted, and the model starts to follow the last few items more than the first.
The fiction partner
Good for co-writing. State the genre, the point of view and the pacing: "You co-write a noir story in the second person. Write 150 to 250 words per turn, end on an open beat, and never decide what my character does." The last clause matters. Without it, many models start steering the story for you.
The persistent character
Good for companion chat and roleplay between adults. Describe who the character is, how they speak, what they know and what they do not. Add a line that the story is fiction between adults. Because the history is resent each turn, a character description of 300 to 500 tokens costs very little: 500 × $0.15 / 1,000,000 is $0.000075 per request. Re-state the key traits every few dozen turns if the voice starts to drift.
Whichever pattern you pick, change one thing at a time and keep a short log of what changed. Prompt tuning is easier when you can tell which edit improved the reply.
Looking after your key
Keep the key out of public code, screenshots and shared config files. In scripts, read it from an environment variable, as in the Node example above. If a key leaks, create a new one on the key page and replace it in your apps. Since credit never expires but is spendable by anyone holding the key, a leaked key is worth treating as an urgent fix, not a chore for later.
What it costs while you test
Input tokens cost $0.15 per 1M and output tokens $0.50 per 1M. A chat turn with 2,000 tokens of history and a 300-token reply costs 2,000 × $0.15 / 1,000,000 = $0.0003 for input plus 300 × $0.50 / 1,000,000 = $0.00015 for output, so $0.00045. The $0.50 trial therefore covers about 1,100 turns of that size. Failed or refused requests are not charged, and prompts are not used for training.
When the trial is gone, top-ups are any whole amount from $20 to $500, paid by crypto (USDT on TRC20, USDC on Base), with +5% from $50, +10% from $100 and +15% from $200. Credit never expires. Details are on the pricing page.
When something breaks
- 401: wrong key, or a space or line break was copied with it. Paste it again.
- 404: the URL path is wrong. The base URL should end in
/v1, and the call goes to/chat/completionsunder it. - 429 with
rate_limited: too many requests per minute. Slow down. - 429 with
concurrency: too many requests at once. A streamed request holds its slot until the stream ends, so close streams you no longer read. - 429 with a
Retry-After: 5header: a temporary overload. Wait five seconds and retry; the OpenAI SDKs do this when you raise their retry count. - Request body too large: the limit is 8 MB, which matters only if you paste huge documents.
When you write to support, include the X-Request-Id from the response so the request can be found quickly.
More guides
Questions and answers
Do I need to pay before I can try it?
No. After sign-up you can claim $0.50 of trial credit with one click on the key page. It is valid for 7 days and needs no payment.
Which model name do I use in my app?
Use uncensored as the model ID. GET /v1/models lists it if your app wants to fill a dropdown.
Why does the chat forget what I said earlier?
The API is stateless. Your code or app must send the earlier messages in every request, including the assistant replies.
Can it produce anything at all?
No. It is built for lawful adult use, never produces sexual content involving minors, and works with text only.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.