| If you want… | Use | Why |
|---|---|---|
| The best all-round key | NanoGPT | 648 text models on one balance, list prices with no markup, no account needed |
| The most private hosted option | NanoGPT | Generate a key and add funds without an email or account; crypto accepted |
| To start for free | OpenRouter | Free models, capped at 50 requests a day |
| The cheapest single model | DeepSeek (direct) | Low-cost models that are popular for long roleplay |
| Free with a bigger daily limit | Google Gemini | Free API tier, but filtered and used to improve Google products |
| The best prose (SFW) | Claude | Strong creative writing; explicit content is not allowed |
| Mature fictional themes | Grok | xAI's usage policy allows mature themes in fiction for adults |
| No setup at all | janitor+ Router | Models inside Janitor AI with no key, for a monthly fee plus tokens |
| Full privacy | KoboldAI (local) | Runs on your own computer, so nothing leaves your device |
How Janitor AI API billing actually works
Janitor AI is a front end. When you bring your own API key, you pay the provider per token, and Janitor AI sends a lot of tokens. Every time you send a message, it resends the character card, the chat history that fits in your context window, and your new message. A reply of a few hundred words can cost you thousands of input tokens.
That means input price matters more than output price for most Janitor AI users. The monthly cost of a key comes down to one formula:
Monthly cost = messages per month × (context tokens × input price + reply tokens × output price)
Two settings in Janitor AI control almost all of it: context size, which sets the input tokens per message, and max new tokens, which caps reply length.
Real monthly cost by model price tier
The table below assumes an 8,000-token context and 300-token replies, a common starting point, over 30 days. Prices are cache-miss list prices. Models that support prompt caching will often cost less.
| Price tier (input / output per 1M tokens) | Example | Light (20 msgs/day) | Typical (50 msgs/day) | Heavy (150 msgs/day) |
|---|---|---|---|---|
| $0.08 / $0.50 | DeepSeek V4.1 Flash | $0.47 | $1.19 | $3.56 |
| $1 / $4 | Mid-range model | $5.52 | $13.80 | $41.40 |
| $3 / $15 | Frontier model | $17.10 | $42.75 | $128.25 |
At typical use on the budget tier, about 80% of the bill is input tokens: 12 million input tokens against 450,000 output tokens a month. Cutting context from 8,000 to 4,000 tokens roughly halves the cost, at the price of the character forgetting older events sooner.
How the provider changes the cost
- NanoGPT bills each model at the provider's list price with no markup, so a model costs the same as going direct. Crypto top-ups get a 3% bonus, which works out to about 3% off.
- OpenRouter passes model prices through but charges a 5.5% fee when you buy credits, so the typical budget-tier month above becomes about $1.26.
- DeepSeek direct charges its own list price, the same as NanoGPT for DeepSeek models.
- janitor+ Router costs $12.99 a month plus tokens, so it only pays off if you value having no setup.
The 8 best API key options for Janitor AI
1. NanoGPT: best all-round key
Best for: one key and one balance for the widest model choice, without an account.
The main reason people pick an aggregator for Janitor AI is that one key covers many models, so you can switch between DeepSeek, Claude, GLM or Kimi without new sign-ups. NanoGPT does this with the largest catalog of any option here: its models page lists 648 text models from more than 118 labs, compared with 468 text-output models on OpenRouter on the same date. That includes less-filtered variants of several open models, which matters to roleplay users who keep hitting refusals.
Pricing is pay per use at each model's list price, with no markup and no minimum subscription. Deposits start at $0.10 in crypto, and an optional subscription covers a set of included models. The big difference from other hosted options is that you can generate an API key, fund it and use it in Janitor AI without creating an account or giving an email address.
Pros
- 648 text models on one key.
- List-price billing, so DeepSeek costs the same as going direct.
- No account or email needed; crypto top-ups get a 3% bonus.
- Publishes a Janitor AI setup guide, including a proxy URL that shows reasoning output.
Cons
- No free daily allowance; you need a small deposit first.
- Without an account, the key is your access, so keep it somewhere safe.
2. OpenRouter: best free start
Best for: testing your Janitor AI setup without paying.
OpenRouter is the most widely used aggregator in Janitor AI guides, and Janitor's help center uses it in its quickstart. Its free models let you confirm your proxy settings work before spending anything, though they are capped at 50 requests a day and often return 429 errors at busy times. DeepSeek models are no longer free there. Paid use carries the 5.5% credit fee and needs an account.
Pros: free models to start; large catalog; well documented.
Cons: account required; free use capped and often overloaded; credit purchase fee; your messages pass through OpenRouter on the way to the model provider.
3. DeepSeek (direct): cheapest single model
Best for: the lowest cost if you only ever use DeepSeek.
DeepSeek models are the most common paid choice for Janitor AI roleplay: long, in-character replies at budget-tier prices. Buying a key directly from DeepSeek gets you list price. The limits are that you are locked to one model family, model names change as new snapshots ship, and you need a funded balance before the key works.
Pros: very cheap; strong at long roleplay; simple setup.
Cons: one model family; account and prepaid balance required; data processed and stored under DeepSeek's policies in China.
4. Google Gemini: free with a bigger daily limit
Best for: free use beyond OpenRouter's 50 requests.
Google AI Studio gives free API access to Gemini models with long context windows, and community guides report a free limit of about 250 messages a day on Flash models. The trade-offs are content filtering that shows up in roleplay, and Google's terms allowing free-tier prompts to be used to improve its products.
Pros: free; long context.
Cons: filtered; free-tier data use; Google account required.
5. Claude: best prose for SFW roleplay
Best for: writing quality when cost matters less.
Anthropic's Claude models are widely rated as the best writers for character work, with strong emotional nuance and consistency. They sit in the frontier price tier, and Anthropic's usage policy does not allow explicit content, so they suit SFW stories only. You can use Claude with a direct Anthropic key or through an aggregator like NanoGPT or OpenRouter.
Pros: best-in-class prose; strong memory over long chats.
Cons: expensive at typical Janitor AI volumes; SFW only.
6. Grok: mature fictional themes
Best for: adult fiction that other major labs refuse.
xAI's published usage policy permits mature themes in fictional contexts for adult users, which makes Grok the main frontier-lab option for that content. Read the current policy before relying on it. Less-filtered open models available through aggregators are the other route.
Pros: more permissive policy for fiction.
Cons: higher price than budget open models; policies can change.
7. janitor+ Router: no setup
Best for: people who never want to touch proxy settings.
Since July 2026, Janitor AI has offered its own router with around 70 third-party models inside the site, no key and no proxy needed. It costs $12.99 a month plus token usage and does not offer uncensored models. For most users who are comfortable pasting a key, bringing your own key is cheaper.
Pros: zero setup.
Cons: monthly fee on top of tokens; smaller, filtered model list.
8. KoboldAI (local): full privacy
Best for: keeping every message on your own device.
Running a model locally with KoboldAI means no provider ever sees your chats. It needs a capable GPU, the models you can run at home are smaller than hosted ones, and connecting it to Janitor AI takes more setup.
Pros: fully private; no per-token cost.
Cons: hardware required; smaller models; more technical setup.
Privacy: what each option sees
| Option | Account needed | Who handles your messages |
|---|---|---|
| NanoGPT | No | NanoGPT and the model host. NanoGPT states it does not store prompts or conversations on its servers. |
| OpenRouter | Yes | OpenRouter and the model provider, linked to your account key |
| DeepSeek | Yes | DeepSeek, under its policies in China |
| Gemini (free) | Yes | Google; free-tier prompts can be used to improve its products |
| Claude / Grok direct | Yes | Anthropic or xAI, under their API terms |
| janitor+ Router | Janitor account | Janitor AI and the model providers |
| KoboldAI | No | Only your own device |
Whatever you choose, never use an API key or "free proxy" shared by a stranger. Whoever controls it can read your chats.
How to keep your Janitor AI bill low
- Start at 300 max new tokens and 8,000 context. Raise context only if the character forgets things you care about.
- Trim long character cards. The card is resent with every message.
- Use chat memory or summaries instead of a huge context window.
- Prefer models with prompt caching, since Janitor AI resends the same history each turn.
- Set a spending limit where your provider supports one, or only deposit what you are willing to spend.
FAQ
Do I need an API key for Janitor AI?
No. The built-in JanitorLLM is free and needs no key. People add their own key for better models, longer memory and fewer queues at busy times.
How much does a Janitor AI API key cost per month?
At 50 messages a day with an 8,000-token context, a budget model like DeepSeek V4.1 Flash costs about $1.20 a month, a mid-range model about $14, and a frontier model about $43.
Which API key gives access to the most models?
NanoGPT, with 648 text models on October 21, 2026, compared with 468 text-output models on OpenRouter on the same date.
Is there a free API key for Janitor AI?
Yes. OpenRouter's free models (50 requests a day) and Google's Gemini free tier both work with Janitor AI, with limits and content filters.
Can I get a Janitor AI API key without creating an account?
Yes, with NanoGPT. You can generate a key, add funds with crypto or card, and use it in Janitor AI without an email address.
Why is my Janitor AI API bill higher than expected?
Janitor AI resends the character card and chat history with every message, so input tokens add up fast. Lower your context size and trim the character card first.
Which API is best for NSFW roleplay on Janitor AI?
Claude does not allow explicit content and Gemini is filtered. xAI's policy permits mature fictional themes for adults, and less-filtered open models are available through aggregators. Always follow each provider's terms.
