DeepSeek Proxy Setup + Prompts for Janitor AI
by femmuist · last updated Nov 24, 2026
What is a proxy, and why use one?
Janitor's default model works out of the box, but a proxy lets you plug in your own AI provider (like DeepSeek) for longer memory and better dialogue. You give Janitor three things: where to send messages (Proxy URL), who you are (API key) and which model to use (model name).
"The golden rule"
The Proxy URL, API key and model name must all come from the same provider. Most "it doesn't work" problems are a URL from one place, a key from another and a model name copied from an old post.
"Never share your API key"
Treat it like a password. Don't paste it in chats, screenshots or Discord. If it leaks, delete it in your provider's dashboard and make a new one.
Option 1: Token Harbour (free DeepSeek Flash)
This is the setup I use. Open Janitor, start a chat, tap the gear icon, open API Settings and choose Add Configuration. Then fill in:
| Field | What to put |
|---|---|
| Config Name | Token Harbour DeepSeek (anything you like) |
| Model Name | [MODEL NAME FROM YOUR TOKEN HARBOUR DASHBOARD] |
| Proxy URL | [PROXY URL FROM YOUR TOKEN HARBOUR DASHBOARD] |
| API Key | your Token Harbour key |
Save, refresh the page and send a test message.
"Free tiers change"
Free limits, model names and URLs can change at any time. If it stops working, re-copy the model name and URL from your Token Harbour dashboard.
Option 2: Official DeepSeek API (paid, pay as you go)
1. Get a key. Make an account on DeepSeek's API platform (platform.deepseek.com), add a small prepaid top-up, then create an API key and copy it somewhere safe.
2. Open Janitor. Start a chat with any bot, tap the gear icon, open API Settings, then choose Add Configuration.
3. Fill it in (copy and paste exactly, no extra spaces):
| Field | What to put |
|---|---|
| Config Name | Official DeepSeek (anything you like) |
| Model Name | deepseek-flash or deepseek-v4-pro |
| Proxy URL | https://api.deepseek.com/v1/chat/completions |
| API Key | the key you copied |
| Custom Prompt | optional, see the prompts below |
4. Save, refresh the page, and send a test message.
Which model?
| Model | Good for |
|---|---|
deepseek-flash |
Everyday roleplay. Cheaper and faster. Start here. |
deepseek-v4-pro |
Stronger reasoning and consistency. Costs more. |
"Old guides say deepseek-chat, deepseek-reasoner or deepseek-v4-flash?"
deepseek-chat and deepseek-reasoner were retired by DeepSeek on July 24, 2026. The older deepseek-v4-flash name still gets accepted but now points to the newer Flash model. For the official API, use deepseek-flash or deepseek-v4-pro.
Prices change (DeepSeek has off-peak pricing too), so check their pricing page before topping up.
Option 3: Other providers
Same steps in Janitor. Only the three fields change.
| Provider | Proxy URL | Model name |
|---|---|---|
| OpenRouter | https://openrouter.ai/api/v1/chat/completions |
Copy the exact name from the model's OpenRouter page. Free models end in :free, paid ones don't. |
| Chutes | https://llm.chutes.ai/v1/chat/completions |
Copy the exact name from Chutes. |
Free tiers and daily limits change often, so check the provider's page for the current limit.
Prompts (paste into the Custom Prompt box)
Keep prompts short. Every word costs tokens and eats into your memory. Use one, or combine them.
1. Core roleplay
2. Writing quality
3. Memory and side characters
Settings to try
- Temperature: start around 0.7 and adjust by feel. Raise it for more creativity, lower it if replies get messy. Test it, because the best value depends on the model.
- Max tokens: raise it if replies are cut off mid-sentence.
- Thinking models: reasoning modes can be slower. If replies feel too slow, try
deepseek-flash.
Troubleshooting
| Problem | Likely fix |
|---|---|
| 401 or "unauthorized" | Wrong or mixed-up API key. Make sure the key is from the same provider as the URL. |
| 404 or "invalid model" | Typo in the URL or model name. Copy it again exactly. |
| 429 or "rate limit" | You hit the provider's limit or have no credit left. Wait or top up. |
| "Network error" | Refresh Janitor, save the config again, and check that the URL has no spaces. |
| Replies cut off | Raise max tokens. |
| It writes for you | Add prompt 1 above. |
If it works on the provider's site but not in Janitor, re-check the Proxy URL and refresh after saving.
Links
- DeepSeek API docs: https://api-docs.deepseek.com
- Janitor AI help center: https://help.janitorai.com
- My bots and commissions: https://ko-fi.com/femmuist
- Discord: https://discord.gg/juX68x8eee
Questions or something broken? Find me on Discord.