EN ▾
geminiuncensored.ccUncensored API, OpenAI compatible, pay per token
Get API key

Janitor AI Gemini Guide: Uncensored Roleplay API

This janitor ai gemini guide covers the other route: instead of Google's models, you point Janitor AI at an uncensored, OpenAI-compatible endpoint and pay per token. You get the settings, a sampling baseline for roleplay, and a cost estimate for long sessions.

Updated

Stage with floating speech bubbles and masks connected to a server cube, representing roleplay chat over an API

Key points

  1. Janitor AI accepts a custom OpenAI-style proxy: enter the URL, your key and the model name uncensored.
  2. This is not Google's Gemini; it is a separate open-weight model tuned to answer without content refusals for lawful adult use.
  3. Roleplay sessions are cheap: about 100 messages with 8,000 tokens of context cost roughly 13 cents.
  4. Adults only, and the hard limit stays: no sexual content involving minors.

What this guide covers, and what it does not

A lot of people search for a Janitor AI Gemini setup because Gemini-based chats can feel polished but may refuse parts of a story. This is the other path. Janitor AI lets you plug in your own OpenAI-compatible endpoint, and this service provides one for a single open-weight model that is tuned to answer without content refusals for lawful adult use.

Be clear on what you are getting. It is not the Gemini API, it does not run Google's models, and a different model will write differently. Whether it suits your characters is something you test, not something to take on trust. A fair comparison takes an hour: run the same scene on both and see which voice you prefer. For Google's models, use Google's own pricing and policies pages, since those change.

The service is for adults. Fiction, roleplay and companion-style chat between adults are normal uses. One hard limit holds regardless of settings: no sexual content involving minors. Keep character cards and scenarios inside that line.

Settings to enter in Janitor AI

Janitor AI's chat settings include an API section with a proxy or custom option. The exact menu names change from time to time, so look for the place where you can type a model name, a URL and a key. These are the three values:

FieldValue
Model nameuncensored
Proxy / API URLhttps://api.geminiuncensored.cc/v1
API keyYour key from the account page

Some versions of the field want the full chat route instead of the base address. If the base URL alone gives a connection error, try https://api.geminiuncensored.cc/v1/chat/completions. Save, send one short message, and check that you get a reply. If the page reports an auth problem, the key was probably pasted with a stray space or newline.

You can start without paying. After sign-up, the API key page has a one-click button for $0.50 of trial credit, valid for 7 days, one claim per person. Sign-up works with Google or with email and password.

Test the endpoint before you blame the character

If replies fail inside the app, take one step back and test with a plain request. It tells you in seconds whether the key and credit are fine.

curl https://api.geminiuncensored.cc/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [
      {"role": "system", "content": "You are Captain Isolde, a dry-witted ship captain. Stay in character."},
      {"role": "user", "content": "*steps onto the deck* Permission to come aboard?"}
    ],
    "temperature": 0.9,
    "max_tokens": 200
  }'

A good reply here, and a bad one in Janitor AI, points to the app settings or the character definition. A failure here points to the key, the balance or the rate limits. The response carries an X-Balance-USD header so you can see the credit left after each call.

Sampling settings that suit roleplay

The defaults in chat front ends are rarely tuned to creative writing. The service passes temperature, top_p, stop, seed and the penalties through to the model, so these are the knobs worth trying.

Temperature

Start at 0.8 to 0.9 for scenes with dialogue and description. If the character rambles or invents odd details, drop to 0.7. If replies feel flat and repeat the same phrasing, go up toward 1.0 in small steps.

Top_p and penalties

A top_p of 0.9 to 0.95 trims the rare, strange word choices without making text dull. If the model loops on the same phrases, add a small frequency or presence penalty, around 0.2 to 0.4, and watch for drift. Strong penalties can push it toward odd vocabulary.

Response length

Max new tokens is optional on this API; without it the reply can use any room left in the 100,000-token window. For chat, cap it at 300 to 500 tokens so the character does not answer for you or write four pages. A stop sequence such as the name of your own persona followed by a colon can also help, if your cards use that format.

Character cards, memory and the context window

The model has a 100,000-token context window, counting prompt and reply together. That is large enough that a long story can fit without clever tricks, but the front end decides how much history it actually sends. If Janitor AI has a context size setting, a value around 8,000 to 16,000 tokens is a sensible start. Larger values cost more per message and give diminishing returns for most chats.

Put stable facts in the character card and scenario: personality, speech habits, the setting, and a short list of rules for the scene. Put changing facts in the chat itself. When a story passes the point where early details get cut off, write a short recap message, three or four sentences, and pin it near the top of the scenario. That is cheaper and more reliable than raising the context size.

Prompts are not used for training, which is a fair reason to prefer an API key over a free hosted model if your stories are private. Read the docs for the full list of request options.

What roleplay really costs

Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit with no subscription. Failed or refused requests are not charged, and credit never expires. Here is a worked session.

  • 100 messages, each sending about 8,000 tokens of context: 800,000 input tokens, so 0.8 x $0.15 = $0.12.
  • Each reply averages 300 tokens: 30,000 output tokens, so 0.03 x $0.50 = $0.015.
  • Total: $0.135, about 13.5 cents for a full evening of chat.

Change the context to 16,000 tokens and input doubles to $0.24, for a total of $0.255. The minimum top-up is $20, which at $0.135 per session covers well over a hundred sessions. Top-ups run from $20 to $500 in whole dollars, with a bonus of 5% from $50, 10% from $100 and 15% from $200. Payment is in crypto only: USDT on TRC20 or USDC on Base. See the pricing page for the table.

Choosing between Gemini and this endpoint

There is no single winner, and it depends on what you value. Google's models are made by a large vendor and come with that vendor's content rules and pricing, which you should read on their own pages before deciding. This endpoint trades a big brand name for fewer refusals on lawful adult fiction and a plain per-token price you can calculate on paper.

A practical way to decide is to write a short test script of five scenes you care about: a tense argument, a slow-burn conversation, a comedic bit, a scene with heavy description, and one that a stricter filter might balk at. Run all five on each option with the same character card and the same sampling settings. Compare how often the character stays in voice, how often a reply is cut short or deflected, and what it costs. Keep notes. Two or three runs per scene are enough to see a pattern, and the trial credit covers dozens of such replies.

Fixing common problems

429 errors and slow replies

A trial key allows 2 concurrent requests and 60 requests per minute; a full key allows 8 and 300. If you open several chats and press regenerate repeatedly, you can hit the concurrency limit. A streamed reply holds its slot until the stream ends. Wait for the first reply to finish before regenerating. A 429 with a Retry-After: 5 header means temporary overload, so wait five seconds and resend.

The character answers for you

Lower the max new tokens and add a line to the system or scenario text: "Write only the character's next reply. Never write the user's actions." Models follow short, direct rules better than long lists.

The style drifts after many messages

The recap trick above helps. So does restating the voice in one sentence at the top of the card, for example "Speaks in short, dry sentences and never apologizes."

Questions and answers

Is this the real Gemini inside Janitor AI?

No. It is an OpenAI-compatible endpoint for one open-weight model, not Google's Gemini. You enter its URL, your key and the model name uncensored in the proxy settings.

Do I have to pay to try it?

No. New users can claim $0.50 of trial credit with one click after sign-up. It lasts 7 days. Paid top-ups on this site are in USDT on TRC20 or USDC on Base.

Can it be used for adult fiction?

It is tuned to answer without content refusals for lawful adult use, including fiction and roleplay between adults. Sexual content involving minors is never allowed.

How many messages does $20 cover?

At about $0.135 per 100 messages with 8,000 tokens of context, $20 covers roughly 14,800 messages. Longer context or longer replies lower that number.

Your key is one form away

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