Compositev12
App guide

Free JanitorAI proxy setup with Composite

Paste the URL, your Composite key and a free model such as GLM 5.3 Flash or DeepSeek V4 Flash 0731 into JanitorAI's API settings. You do not need a key from another provider.

Unpaid accounts link Discord on the account page before free models answer. Synth has no daily cap, and the other free models share a separate 80 a day.

Paste values

Copy these directly into JanitorAI's API settings. Note that JanitorAI expects the full chat completions URL, not just the base URL.

JanitorAI

Use these fields when configuring a custom OpenAI provider in JanitorAI.

API TypeOpenAI
OpenAI API URLhttps://composite.lucidity.sh/v1/chat/completions
API KeyYOUR_API_KEY
Model (free): GLM 5.3 Flashz-ai/glm-5.3-flash:free
Model (free): DeepSeek V4 Flash 0731deepseek/deepseek-v4-flash-0731:free
Model (free): MiMo-V2.6-Flashxiaomi/mimo-v2.6-flash:free
Model (free): Synth 2.5 Flashlucidityai/synth-2.5-flash

Pick one model ID. The key is a Composite key from the API Keys page; no key from another provider is needed. Unpaid accounts must link Discord on the account page before free models answer. Synth has no daily cap; the other free models share a separate 80, and larger ones count as several requests per call. The free models list has the current set, and the free model comparison says which suits what.

First-request checklist

  1. Create a free account, or sign in.
  2. Link Discord on the account page (skip this with credits, a plan or your own provider key).
  3. Create a key on the API Keys page and copy it; it starts with cmp-.
  4. In JanitorAI, paste the URL, key and one model ID from above, then save.
  5. Send a short message such as "Hello" in any chat.
What success looks like A normal in-character reply appears within a few seconds (reasoning models such as GLM 5.3 Flash take longer to start; turn streaming on), and the request shows up on your usage page. An error instead of a reply means the request failed: 401 is the key, 404 is the model ID, 429 is a daily or per-minute limit. The proxy errors guide has the fix for each.

What "JanitorAI proxy" means

Besides its built-in model, JanitorAI can send every message to an OpenAI-compatible API you configure under Settings → API, and shows you the reply. People call that connection a "proxy" because the request passes through a service that stands between JanitorAI and the underlying model. The same term shows up as "reverse proxy" in older setup threads, and it means the same thing here. Composite is one such proxy: it forwards your request to a model you choose, handles authentication and billing, and returns an OpenAI-formatted response JanitorAI already knows how to read. You are not limited to one model behind it: a single Composite API key can reach every model on the platform, so switching characters or stories to a different model does not require a new key or a new proxy setup.

Setup steps

JanitorAI
Use Composite as a custom OpenAI-compatible provider.
  1. On Composite, create an API key on the API Keys page and link Discord on your account page (not needed with credits, a plan or your own provider key).
  2. Go to your JanitorAI profile, then open Settings → API.
  3. Under API Type, select OpenAI.
  4. Paste https://composite.lucidity.sh/v1/chat/completions into the OpenAI API URL field.
  5. Paste your Composite API key into the OpenAI API Key field.
  6. Enter a free model ID such as z-ai/glm-5.3-flash:free or lucidityai/synth-2.5-flash into the model field.
  7. Save and send a short test message (see what success looks like).
Why the full URL is required JanitorAI's custom OpenAI provider field expects a complete endpoint, not a base domain. Other frontends (SillyTavern, ChubAI) accept a shorter base URL and append the path themselves, so a value copied from one of those guides will not work here. Always use https://composite.lucidity.sh/v1/chat/completions for JanitorAI specifically.
Which key and model Accounts are free, and you make a key on the Keys page. Bind it to your own provider on the API Keys page (the BYOK quickstart takes two minutes) and use one of that provider's model ids, listed under Your provider on the Models page. With no provider, use one of the free IDs above, such as GLM 5.3 Flash or Synth, LuciditySH's own creative model.

Troubleshooting

The most common problems when using Composite as a JanitorAI proxy, and how to fix them. The error codes and messages are explained in the proxy errors guide.

JanitorAI proxy not working
The connection fails before any reply comes back.

Work through these in order: confirm the endpoint is the full https://composite.lucidity.sh/v1/chat/completions URL and not just the domain; confirm the API key was pasted with no leading or trailing spaces and no Bearer prefix typed in front of it; and confirm the model field contains an ID Composite actually serves, such as lucidityai/synth-2.5-flash, rather than a name from another provider. A discord_verification_required error means the account needs Discord linked on the account page. Send a short test message before trusting a longer chat to the connection.

429 errors and rate limits
What a 429 means on Synth and on your own provider.

A 429 response on Synth can mean the account rate limit was reached: free and BYOK requests share 5 requests per minute per account. Wait for the retry time in the message. Synth has no daily cap. Your own provider can also apply its own rate limits. The other free models share their own 80 a day, which resets at midnight UTC.

Invalid API key error
Key format, the Bearer header, and key scoping.

Composite API keys start with cmp- and are sent as a bearer token, so the OpenAI API Key field should hold only the key itself. JanitorAI adds the Bearer header for you. An invalid-key error usually means the key was revoked, mistyped, or deleted; generate a fresh one on the API Keys page. Each key can also be scoped to specific models, so a key that works for one model can still fail on another it is not allowed to use.

Which model should I use?
A short starting point for roleplay on JanitorAI.
Use caseSuggestion
Free, no provider keylucidityai/synth-2.5-flash (Synth), free with no daily cap
General roleplay on credits or a planminimax/minimax-m3 (paid)
Other free modelsGLM 5.3 Flash, DeepSeek V4.1 Flash and DeepSeek V4 Flash 0731 guides; the current set is on the free models list
Long-running character or campaignA higher context-length model from the Models page, paired with a memory-layer setting on the key
Highest reply quality, budget flexibleCompare current premium models on the Models page

The catalog changes as models are added, so treat the Models page as the source of truth rather than a fixed list.

Context window on long roleplays
What happens when a chat outgrows the model's context.

Every model has a fixed context window. Once a conversation exceeds it, Composite trims older messages to keep the request within limits, so long-running characters can start losing early details unless the key is set to one of Composite's memory-layer modes, which summarize and retrieve older history instead of dropping it outright. If replies start ignoring established facts in a long JanitorAI chat, check the key's memory-layer setting before assuming the model itself is at fault.

Still stuck after working through the above? The full docs cover account setup, API keys, and model access in more detail, and the feedback page reaches Composite directly if something looks broken rather than misconfigured.