Key points
- New accounts can claim $0.50 of trial credit with one click, no card needed, valid for 7 days.
- Janitor AI needs three values: the proxy URL, your key, and the model name uncensored.
- Test the key with curl before you paste it into the chat settings.
- After the trial, you pay per token from prepaid credit, starting at a $20 top-up.
What free means here, and what it does not
If you searched for a free api for janitor ai, here is the straight answer. This service is not free in the long run. It is pay as you go, and every new user can claim $0.50 of trial credit with one click on the API key page after sign-up. The trial needs no card, is limited to one per person, and is valid for 7 days. That is enough to confirm that your Janitor AI setup works and to hold a real conversation or two. It is not a permanent free tier.
After the trial you buy prepaid credit. Prices are $0.15 per 1M input tokens and $0.50 per 1M output tokens, there is no subscription, credit never expires, and requests that fail or are refused are not charged. Chat roleplay is cheap per message, so a small top-up lasts a long time. The numbers are worked out below.
The service is a hosted, OpenAI-compatible text API with one model, uncensored. It is an 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 generate images, audio or video. The one hard limit: no sexual content involving minors.
Get a key in three steps
- Open the API key page and sign up with Google, or with an email and password.
- On the same page, click the trial button to claim your $0.50 credit. It appears once per person.
- Copy the key. Treat it like a password: anyone who holds it can spend your balance.
Keep the key out of screenshots and shared character cards. If you paste it somewhere by mistake, generate a new one and stop using the old one.
The trial key has lower limits than a funded key: 2 concurrent requests and 60 requests per minute. A funded key gets 8 concurrent requests and 300 per minute. For a single person chatting in one tab, either is plenty.
Test the endpoint before you open Janitor AI
Half of all failed setups come from a typo in the URL or a key that was never activated. A one-line test saves a lot of guessing inside a chat UI. Run this in a terminal and replace the key placeholder:
curl https://api.unrestrictedvideo.top/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [
{"role": "system", "content": "You are Mara, a sarcastic ship mechanic in a space opera."},
{"role": "user", "content": "Introduce yourself in two sentences."}
],
"max_tokens": 120
}'
A JSON reply with a choices array means the key and URL are good. You can also call GET /v1/models with the same header to see the model list. The response headers include X-Balance-USD, so you can watch your credit drop after each call.
If you prefer Python, the official OpenAI SDK works once you change the base URL:
from openai import OpenAI
client = OpenAI(
base_url="https://api.unrestrictedvideo.top/v1",
api_key="YOUR_API_KEY",
)
reply = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Say hello as a tavern keeper."}],
)
print(reply.choices[0].message.content)Enter the values in Janitor AI
Janitor AI lets you use an outside model through its proxy option in the API settings of a chat. The menu names change from time to time, so look for the section that mentions a proxy or a custom OpenAI-compatible API. You need to fill in three fields.
| Field | Value |
|---|---|
| Model name | uncensored |
| Proxy URL | https://api.unrestrictedvideo.top/v1/chat/completions |
| API key | The key from the key page |
Some clients want only the base URL ending in /v1 and add the path themselves, while others want the full path to the chat completions method. If Janitor AI rejects one form, try the other. The service answers POST /v1/chat/completions and GET /v1/models, so those are the two paths that matter.
Save the settings, reload the chat, and send a short message. If you get a reply, you are done. If you get an error, jump to the troubleshooting section below. The same three values also work in other roleplay front ends that accept an OpenAI-compatible endpoint, and the quickstart in the docs shows the same request in more languages.
Settings that change how the character feels
The model does what the settings and the character card tell it to. A few values matter more than the rest.
Temperature and top_p
Temperature controls how adventurous the wording is. Around 0.7 to 0.9 suits most roleplay: varied but still coherent. Push it to 1.1 or more and long chats start to drift. Change either temperature or top_p, not both at once, so you can tell which one caused a change.
Context size
The context window is 100,000 tokens, counting the prompt plus the reply. Janitor AI has its own context slider, and a bigger number means the whole chat history is sent each turn, which costs more input tokens. A setting of 8,000 to 16,000 is a sensible start for long-running characters. Raise it only when the bot forgets things you care about.
Max tokens and penalties
max_tokens is optional here. Set it anyway if you want shorter replies, since a cap also limits what each turn can cost. Frequency and presence penalties are passed through, and a small value such as 0.3 can stop a character from repeating the same phrases.
Streaming
Streaming over SSE is supported, and most chat front ends turn it on by default. A streamed request holds its concurrency slot until the stream ends, which matters if you run several chats at once.
What a chat actually costs
Roleplay is input heavy. Each turn re-sends the card, the memory and recent history, then gets back a few paragraphs. Take a typical turn of 3,000 input tokens and 250 output tokens:
- Input: 3,000 x $0.15 / 1,000,000 = $0.00045
- Output: 250 x $0.50 / 1,000,000 = $0.000125
- Total per turn: $0.000575
The $0.50 trial divided by $0.000575 gives about 869 turns. A $20 top-up gives about 34,782 turns at the same size. If you let the history grow to 30,000 input tokens per turn, the input part becomes $0.0045, the turn costs $0.004625 with the same 250 output tokens, and the trial covers around 108 turns. So trimming history is the main way to stretch credit.
Top-ups are any whole amount from $20 to $500, paid in USDT on TRC20 or USDC on Base. Larger ones carry a bonus: +5% from $50, +10% from $100 and +15% from $200, so $100 becomes $110 of credit. The pricing page lists the same terms.
Fixing the usual errors
- 401 or invalid key. The key was copied with a trailing space, or the header is missing the word Bearer. Paste it again and re-run the curl test.
- 404 or a network error. The URL is wrong. Check the host spelling and try both the
/v1form and the full/v1/chat/completionsform. - 429 with code
rate_limited. You sent too many requests per minute. Wait a moment, and avoid auto-retry loops. - 429 with code
concurrency. Too many requests at once. On the trial key the limit is 2, so close extra tabs or wait for a stream to finish. - 429 with a
Retry-After: 5header. Temporary overload. Retry after five seconds. - Balance error. The trial expired after 7 days or the credit ran out. Top up from the pricing page.
- Replies cut short. Your
max_tokensor the front end's response length is too low.
When you contact support, include the X-Request-Id header from the failing response. It lets the team find the exact call.
Rules, privacy and what this is not
The model is tuned for lawful adult use and will not refuse ordinary dark or mature fiction, but the hard limit stays: no sexual content involving minors, in any framing. Prompts are not used for training. Read the terms before you build anything public on top of it.
It is a text model only. If you came here looking for a video tool, the text-to-video article explains how a text model fits next to a separate video generator, for example to write the prompts and scripts.
More guides
Questions and answers
Is there a truly free API for Janitor AI?
Not permanently. You can claim $0.50 of trial credit with one click after sign-up, valid for 7 days with no card. After that you pay per token from prepaid credit.
Which model name do I enter?
Enter uncensored as the model name. It is the only model ID the API serves.
Does my chat get used for training?
No. Prompts are not used for training.
How many messages does the trial cover?
At 3,000 input and 250 output tokens per turn, about 869 turns. Longer histories use fewer, so keep the context size modest.
Can I run several chats at the same time?
Yes, up to 2 at once on the trial key and 8 on a funded key. A streaming reply keeps its slot until it finishes.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Get API key