Janitor AI Proxy Setup with AnonRouter
Connect Janitor AI to AnonRouter with an importable JSON proxy configuration, the correct API URL, model settings, and troubleshooting steps.
Use AnonRouter as a custom OpenAI-compatible proxy in Janitor AI. The fastest setup is to import one JSON object containing your AnonRouter API URL, API key, and model. After importing it, Janitor AI sends chat completions through AnonRouter instead of its built-in model.
The short version
In Janitor AI, open API Settings → Proxy → Import, paste the JSON below, replace the example key with your own compatibility-enabled AnonRouter key, and refresh the page after saving.
Janitor AI proxy JSON
Copy this JSON into Janitor AI's Import box. Replace only the example
apiKey value unless you want to choose a specific model instead of /auto.
{
"name": "AnonRouter",
"apiUrl": "https://api.anonrouter.ai/v1/chat/completions",
"apiKey": "ar_REPLACE_WITH_YOUR_API_KEY",
"model": "/auto"
}The JSON must remain valid: use straight double quotes, keep the commas, and do not add comments. Your completed configuration contains a live API key, so do not post it, send it to someone else, or include it in a screenshot.
Before you begin
You need:
- An AnonRouter account with available credits.
- An inference API key with OpenAI-compatible access enabled. Janitor AI sends a static bearer key and cannot perform AnonRouter's private ticket handshake, so this setting is required.
- A Janitor AI character that permits proxy use. A character creator can disable third-party proxies for that character.
Create the key in your AnonRouter dashboard and copy it when it is displayed.
Keys begin with ar_ and are shown only once.
Enable OpenAI-compatible access
A normal ticket-only inference key will not work in Janitor AI. Enable OpenAI-compatible access when creating the key, or turn it on for the key in your dashboard before importing the configuration.
Import the configuration in Janitor AI
- Open a character chat in Janitor AI.
- Open API Settings and select Proxy.
- Under Proxy configurations, choose Import.
- Paste the JSON from this page.
- Replace
ar_REPLACE_WITH_YOUR_API_KEYwith your AnonRouter inference key. - Select Import, save the API settings, and refresh the Janitor AI page.
- Choose AnonRouter as the active proxy configuration and send a message.
Janitor AI notes that a new or changed proxy URL takes effect only after a page refresh. If the configuration saves but the chat still uses another provider, refresh before troubleshooting anything else.
Manual setup values
If you prefer Janitor AI's + New form, enter the same values manually:
| Janitor AI field | Value |
|---|---|
| Name | AnonRouter |
| Proxy URL / API URL | https://api.anonrouter.ai/v1/chat/completions |
| API Key | Your compatibility-enabled ar_... inference key |
| Model | /auto or an exact model id from the AnonRouter model catalog |
Use the complete chat-completions endpoint shown above. https://api.anonrouter.ai/v1
is the SDK base URL, but Janitor AI's proxy configuration expects the full URL
ending in /v1/chat/completions.
Choose a model
The example uses /auto, AnonRouter's intelligent route. It selects an
available model that satisfies the request without silently lowering the
route's privacy requirement.
To pin chats to one model, import one of the configurations below. Each tab is a complete JSON object; Janitor AI imports one proxy configuration at a time. You can reuse the same AnonRouter API key in each configuration.
{
"name": "AnonRouter — Auto",
"apiUrl": "https://api.anonrouter.ai/v1/chat/completions",
"apiKey": "ar_REPLACE_WITH_YOUR_API_KEY",
"model": "/auto"
}Model ids are case-sensitive and may change as providers update their catalogs. Copy the current id from the model catalog rather than guessing it. Import as many of the configurations above as you want; each one appears as a separate Janitor AI proxy option.
Find uncensored models
AnonRouter labels uncensored models in the catalog so you can distinguish them from moderated and unknown routes. Use the catalog's uncensored filter to review the current options, pricing, capabilities, and privacy labels:
Browse uncensored models on AnonRouter
The example above uses
venice/venice-role-play-uncensored,
but availability can change. Copy the current model id from the filtered catalog
before importing your configuration. An uncensored label describes the model
route; it does not remove Janitor AI's character-level proxy restrictions or
make generated content risk-free.
Can one JSON import contain several models?
No. Janitor AI's proxy configuration accepts one model string per imported
JSON object. A model array, a comma-separated list, or AnonRouter's API-level
models fallback field is not part of Janitor AI's proxy-import format.
Import each configuration separately if you want named options for several
models. If you want one configuration that can route across multiple models,
use /auto; Janitor AI still sends /auto as one model id, and AnonRouter makes
the route selection behind the API.
Privacy and proxy behavior
AnonRouter does not intentionally log or retain your prompts or responses. However, Janitor AI requires a conventional static-key request, so this setup uses AnonRouter's compatibility mode. The compatibility broker briefly receives your API-key identity and plaintext request together in memory to issue an internal ticket and forward the request. This flow is not unlinkable like AnonRouter's default private ticket flow.
Your character definition, persona, chat history included in the request, and new message can pass through the client, AnonRouter, and the selected model provider. Review Janitor AI's own privacy terms and the privacy label of your selected AnonRouter route before sending sensitive information.
AnonRouter is an independent service and is not affiliated with Janitor AI.
Troubleshooting Janitor AI proxy errors
The configuration saved, but it is not active
Refresh the Janitor AI page, reopen the chat, and select AnonRouter as the active proxy. Janitor AI applies proxy URL changes after a page refresh.
401 authentication error
The API key is missing, mistyped, revoked, or includes extra whitespace. Create
a new AnonRouter inference key if you no longer have the original secret, then
paste the complete value beginning with ar_.
403 compatibility error
The key does not have OpenAI-compatible access enabled. Turn on compatibility for that inference key in the AnonRouter dashboard or create a new key with the option enabled. See Compatibility mode for the privacy tradeoff.
404 or proxy URL error
Use exactly:
https://api.anonrouter.ai/v1/chat/completionsDo not stop at /v1, and do not append /chat/completions twice.
Model not found
Set model to /auto or copy an exact current model id from the
AnonRouter model catalog. A display name is not
necessarily the API model id.
Proxy use is unavailable for a character
The character creator may have disabled proxies. AnonRouter counts as a third-party proxy in Janitor AI, so it cannot bypass that character-level restriction.
Rate limit or insufficient credits
Check your AnonRouter balance and usage dashboard. If you selected a specific
model, you can switch to /auto or another catalog model after confirming that
your account has credits.
Janitor AI proxy setup FAQ
What is the AnonRouter proxy URL for Janitor AI?
The full Janitor AI proxy URL is
https://api.anonrouter.ai/v1/chat/completions. Use that exact URL in the JSON
apiUrl field or the manual Proxy URL field.
Does AnonRouter count as a proxy on Janitor AI?
Yes. Janitor AI treats AnonRouter as a third-party OpenAI-compatible proxy. That means it works through the Proxy configuration and is unavailable on characters whose creators have disabled proxy use.
Can Janitor AI use AnonRouter's /auto model?
Yes. Set the JSON model field to /auto. AnonRouter will choose an eligible
route for each request. To keep every chat on one model, use an exact catalog
model id instead.
Can I use a normal AnonRouter inference key?
Only if OpenAI-compatible access is enabled on that key. Janitor AI cannot request and attach AnonRouter's single-use ticket itself.
Is the AnonRouter Janitor AI proxy free?
The integration does not add a separate setup fee, but model inference uses your AnonRouter credits according to the selected route's pricing.

OpenCode Setup with AnonRouter
Connect OpenCode to AnonRouter as a custom OpenAI-compatible provider, configure coding models, enable tools, and protect source-code privacy.
SillyTavern Setup with AnonRouter
Connect SillyTavern to AnonRouter as a custom OpenAI-compatible Chat Completion API, load models, test the connection, and fix common errors.