# Connect JanitorAI to Unrestricted AI

Use Unrestricted AI as a JanitorAI proxy configuration: model name, the full chat completions URL and your API key.

## What you need

An Unrestricted AI API key from https://tryunrestrictedai.com/api/console#keys, plus these values. JanitorAI works with any OpenAI-compatible chat completions endpoint; this is not an official JanitorAI integration.



| Setting | Value |
| --- | --- |
| Proxy URL | https://tryunrestrictedai.com/v1/chat/completions |
| Model | venice-uncensored-1-2 |
| API key | Your key from the console (starts with ua_) |

## Set up JanitorAI



- 1. Open API Settings Open any chat and click the API settings button at the top of the chat.
- 2. Choose “Proxy”
- 3. Click “+ Add” under Proxy Configurations Give it a Configuration Name, for example Unrestricted AI.
- 4. Type the model ID into “Model Name”: venice-uncensored-1-2 Copy it exactly, including dashes.
- 5. Paste the full URL into “Proxy URL”: https://tryunrestrictedai.com/v1/chat/completions JanitorAI needs the complete endpoint ending in /v1/chat/completions, not the base URL.
- 6. Paste your key into “API Key”
- 7. Click “Apply” and make sure the configuration is Active If the old settings still answer, save again and refresh the page.


## Recommended settings

Model output limit: 4,096 tokens. Context window: 32,768 tokens.

- In Generation Settings, set a max new tokens value at or below the output limit above.
- If a message fails, open API Settings again and check that this configuration, not an older one, is marked Active.


## Troubleshooting





| Status | Code | Fix |
| --- | --- | --- |
| 401 | invalid_api_key | The key is missing, mistyped or revoked. Paste the whole key (it starts with ua_) without “Bearer”, or create a new key in the console. |
| 402 | insufficient_credit · key_budget_exceeded · plan_limit | No usage left. Choose a plan or add credit in Billing, create a key with a higher spending limit, or lower the max response length. |
| 429 | rate_limit | More than 30 requests a minute or 3 at once. Turn off multiple swipes, auto-continue and parallel generations, then wait a minute. |
| 503 | inference_unavailable | The model is not accepting requests right now, or the model ID does not match a live model. Check the model ID and the status page, then retry. |
| 400 / 413 | unknown_model · invalid_request · context_limit | Wrong model ID, a response length above the output limit, or a context that is too long. Copy the model ID again and lower context or response size. |

## Limits and terms

Text chat with streaming is supported. Usage is billed per token from your plan allowance or credit, and each key has its own lifetime spending limit. Our terms and the selected model provider’s terms apply to role-play use the same as any other use: you must be 18 or older and the content must be lawful.




## Sources

- [Example JanitorAI proxy configuration fields](https://docs.routeway.ai/integrations/roleplay/janitorai)

Canonical: https://tryunrestrictedai.com/api/integrations/janitorai
