{"id":443,"date":"2026-11-09T21:14:23","date_gmt":"2026-11-09T13:14:23","guid":{"rendered":"https:\/\/qoraapi.com\/blog\/janitor-ai-deepseek-proxy\/"},"modified":"2026-11-09T21:14:23","modified_gmt":"2026-11-09T13:14:23","slug":"janitor-ai-deepseek-proxy","status":"publish","type":"post","link":"https:\/\/qoraapi.com\/blog\/janitor-ai-deepseek-proxy\/","title":{"rendered":"Janitor AI DeepSeek Proxy URL: Setup Guide (V4.1 Flash)"},"content":{"rendered":"<p>If you want Janitor AI to run on DeepSeek instead of the built-in model, you need three values: a <strong>Proxy URL<\/strong>, an exact <strong>Model Name<\/strong> and an <strong>API Key<\/strong> that all belong to the same provider. This guide gives you copy-paste values for using DeepSeek V4.1 Flash (and two other low-cost models) on Janitor AI through Qora API, explains why the URL must end in <code>\/chat\/completions<\/code>, and walks through the errors people hit most often.<\/p>\n<p><strong>Quick answer:<\/strong> in Janitor AI, open <em>API Settings \u2192 Proxy \u2192 Add Configuration<\/em> and enter:<\/p>\n<pre><code>Config Name:  Qora DeepSeek\nModel Name:   deepseek\/deepseek-v4.1-flash\nProxy URL:    https:\/\/qoraapi.com\/v1\/chat\/completions\nAPI Key:      sk-... (your Qora API key)<\/code><\/pre>\n<p>Click <em>Add<\/em>, then <em>Save Settings<\/em>, then refresh the page before sending your first message.<\/p>\n<h2>What a Janitor AI proxy actually is<\/h2>\n<p>A &#8220;proxy&#8221; in Janitor AI is simply an outside, OpenAI-compatible API endpoint. Instead of Janitor&#8217;s own model, your chat messages and the character card are sent to the endpoint you configure, and the reply comes back from the model you named. Janitor&#8217;s own <a href=\"https:\/\/help.janitorai.com\/en\/article\/tldr-quickstart-proxy-instructions-1x0fptu\/\" rel=\"noopener\" target=\"_blank\">quickstart guide<\/a> uses exactly this form: Config Name, Model Name, Proxy URL, API Key and an optional Custom Prompt.<\/p>\n<p>Because the request is made from your browser, the endpoint also has to allow cross-origin requests from janitorai.com. If it does not, you get a generic &#8220;network error&#8221; even when the URL and key are right. We checked Qora API&#8217;s endpoint with a browser-style preflight request from the <code>https:\/\/janitorai.com<\/code> origin in November 2026, and it returns the CORS headers Janitor needs (<code>Access-Control-Allow-Origin<\/code>, plus <code>POST<\/code> and the <code>Authorization<\/code> header allowed), so no extra relay is needed.<\/p>\n<h2>Step-by-step: set up DeepSeek on Janitor AI with Qora API<\/h2>\n<h3>Step 1: Create an account and an API key<\/h3>\n<ol>\n<li><a href=\"https:\/\/qoraapi.com\/register\">Register at Qora API<\/a> and top up your balance (pay as you go in USD, no subscription).<\/li>\n<li>Open the console, go to the API keys (tokens) page and create a new key. Name it something like &#8220;Janitor&#8221; so you can revoke it later without breaking other tools.<\/li>\n<li>Copy the key, which starts with <code>sk-<\/code>, into a private note. Treat it like a password.<\/li>\n<\/ol>\n<p>New users can ask for <strong>$5 of trial credit<\/strong> by messaging <a href=\"https:\/\/x.com\/QoraAPI\" rel=\"noopener\">@QoraAPI on X<\/a> or emailing support@qoraapi.com. It is not added automatically. Note that Qora API serves users outside mainland China only.<\/p>\n<h3>Step 2: Open API Settings in Janitor AI<\/h3>\n<ol>\n<li>Log in at janitorai.com and open a chat with any character.<\/li>\n<li>Open the chat menu and choose <strong>API Settings<\/strong>.<\/li>\n<li>Select <strong>Proxy<\/strong>, then <strong>Add Configuration<\/strong> (in some versions this is a <em>+ New<\/em> or <em>+ Add<\/em> button under Proxy Configurations).<\/li>\n<\/ol>\n<h3>Step 3: Fill in the fields<\/h3>\n<table>\n<thead>\n<tr>\n<th>Janitor field<\/th>\n<th>What to enter<\/th>\n<th>Notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Config Name<\/td>\n<td><code>Qora DeepSeek<\/code><\/td>\n<td>Any label. Changing it does not change the model.<\/td>\n<\/tr>\n<tr>\n<td>Model Name<\/td>\n<td><code>deepseek\/deepseek-v4.1-flash<\/code><\/td>\n<td>Copy exactly, lowercase, including the <code>deepseek\/<\/code> prefix.<\/td>\n<\/tr>\n<tr>\n<td>Proxy URL<\/td>\n<td><code>https:\/\/qoraapi.com\/v1\/chat\/completions<\/code><\/td>\n<td>The full endpoint, not just <code>\/v1<\/code>. No trailing slash.<\/td>\n<\/tr>\n<tr>\n<td>API Key<\/td>\n<td>Your <code>sk-...<\/code> key<\/td>\n<td>No spaces before or after.<\/td>\n<\/tr>\n<tr>\n<td>Custom Prompt<\/td>\n<td>Leave blank at first<\/td>\n<td>Add your own writing-style prompt once the connection works.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Step 4: Save, refresh and test<\/h3>\n<p>Click <strong>Add<\/strong>, make sure the new configuration is the selected one, click <strong>Save Settings<\/strong>, then <strong>refresh the page<\/strong>. Janitor picks up a new or changed proxy only after a refresh, which is the single most common reason a correct setup &#8220;doesn&#8217;t work&#8221;. Send a short test message. If you get a reply, you&#8217;re done.<\/p>\n<h3>Why the Proxy URL needs \/chat\/completions<\/h3>\n<p>Coding tools and SDKs usually take a <em>base URL<\/em> (<code>https:\/\/qoraapi.com\/v1<\/code>) and add the path themselves. Janitor&#8217;s proxy field does not: it sends your message to exactly the address you typed. Janitor&#8217;s own examples all use the full path (for example <code>https:\/\/openrouter.ai\/api\/v1\/chat\/completions<\/code>), so with Qora the value is <code>https:\/\/qoraapi.com\/v1\/chat\/completions<\/code>. Pasting only the base URL typically ends in a 404.<\/p>\n<h2>Which model should you use? Prices compared<\/h2>\n<p>These are the models on Qora API we&#8217;d suggest for roleplay and long-form chat on Janitor, priced per 1M tokens. Qora prices are from the live <a href=\"https:\/\/qoraapi.com\/pricing\">Qora pricing page<\/a> (default group, checked November 9, 2026). Official prices are from <a href=\"https:\/\/api-docs.deepseek.com\/quick_start\/pricing\" rel=\"noopener\" target=\"_blank\">DeepSeek&#8217;s Models &amp; Pricing page<\/a> and <a href=\"https:\/\/docs.z.ai\/guides\/overview\/pricing\" rel=\"noopener\" target=\"_blank\">Z.ai&#8217;s pricing page<\/a>.<\/p>\n<table>\n<thead>\n<tr>\n<th>Model<\/th>\n<th>Model Name for Janitor<\/th>\n<th>Qora input \/ output<\/th>\n<th>Official input \/ output<\/th>\n<th>Good for<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>DeepSeek V4.1 Flash<\/td>\n<td><code>deepseek\/deepseek-v4.1-flash<\/code><\/td>\n<td>$0.15 \/ $0.45<\/td>\n<td>$0.30 \/ $1.20 (peak); $0.15 \/ $0.60 (off-peak)<\/td>\n<td>Everyday roleplay, fast replies, lowest cost<\/td>\n<\/tr>\n<tr>\n<td>DeepSeek V4 Pro<\/td>\n<td><code>deepseek\/deepseek-v4-pro<\/code><\/td>\n<td>$0.51 \/ $1.05<\/td>\n<td>$1.32 \/ $3.96 (peak); $0.66 \/ $1.98 (off-peak)<\/td>\n<td>Longer, more consistent storylines and complex characters<\/td>\n<\/tr>\n<tr>\n<td>GLM-5.2<\/td>\n<td><code>glm-5.2<\/code><\/td>\n<td>$0.42 \/ $1.32<\/td>\n<td>$1.40 \/ $4.40<\/td>\n<td>A different &#8220;voice&#8221; if DeepSeek&#8217;s style feels repetitive<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Two honest caveats. First, DeepSeek charges half price during off-peak hours (outside 01:00\u201304:00 and 06:00\u201310:00 UTC on weekdays), and at off-peak its Flash input price matches Qora&#8217;s; the savings on Flash are largest on output tokens and at peak times. Second, DeepSeek&#8217;s official API bills cached input (a repeated prompt prefix) far lower, and a long Janitor chat resends the same character card every turn, so if you chat heavily and mostly off-peak, going direct can be competitive. Qora&#8217;s advantage is one key for DeepSeek, GLM, Claude, GPT and Gemini, plus the lower V4 Pro and GLM-5.2 rates. See the <a href=\"https:\/\/qoraapi.com\/models\/deepseek-v4-1-flash-api\">DeepSeek V4.1 Flash API page<\/a> for model details.<\/p>\n<h3>What a message actually costs<\/h3>\n<p>A Janitor message sends the character card, your persona and recent chat history as input, and gets one reply back. With about 8,000 input tokens and a 400-token reply, DeepSeek V4.1 Flash on Qora costs roughly $0.0012 + $0.00018 \u2248 <strong>$0.0014 per message<\/strong>, or about 700 messages per dollar, before any caching effects. Bigger context settings scale this up almost linearly, so the context size you choose matters more than the model&#8217;s list price.<\/p>\n<h2>Troubleshooting common Janitor AI proxy errors<\/h2>\n<h3>401 Unauthorized \/ invalid token<\/h3>\n<p>The key is wrong, revoked, or has an extra space. Re-copy it from the Qora console, or create a fresh key. Make sure you didn&#8217;t paste a key from another provider into the Qora configuration: the key, URL and model name must all come from the same service.<\/p>\n<h3>404 Not Found<\/h3>\n<p>Almost always the URL. Check that it is exactly <code>https:\/\/qoraapi.com\/v1\/chat\/completions<\/code>, with <code>https<\/code>, no typo in <code>completions<\/code>, and no trailing slash or space.<\/p>\n<h3>Model not found \/ model does not exist<\/h3>\n<p>The Model Name must be the exact ID, not a display name. <code>DeepSeek V4.1 Flash<\/code> or <code>deepseek-v4.1-flash<\/code> without the prefix will not work on Qora; use <code>deepseek\/deepseek-v4.1-flash<\/code>. IDs differ between providers, so a name copied from an OpenRouter or DeepSeek-direct guide may not match. The current list is on the <a href=\"https:\/\/qoraapi.com\/pricing\">pricing page<\/a>.<\/p>\n<h3>&#8220;Network error&#8221; or a CORS error<\/h3>\n<p>Janitor calls the proxy from your browser, so the endpoint must allow cross-origin requests. Qora&#8217;s does. If you still see a network error: refresh the page after saving, check that the URL starts with <code>https:\/\/<\/code>, and disable browser extensions (ad blockers, privacy filters) that may block requests to API domains. A VPN exit in an unsupported region can also cause requests to be refused.<\/p>\n<h3>Insufficient balance<\/h3>\n<p>Your balance has run out. Top up in the console, or contact support for the new-user trial credit if you haven&#8217;t used it.<\/p>\n<h3>Context too long \/ empty or cut-off replies<\/h3>\n<p>Very long chats plus a large character card can produce errors or truncated output. Lower the context size and the maximum reply length in Janitor&#8217;s generation settings, trim an oversized custom prompt, or start a new chat with a summary of the story so far. Smaller context also makes every message cheaper.<\/p>\n<h3>429 or 5xx errors<\/h3>\n<p>These are temporary: rate limits or the upstream model being busy. Wait a minute and resend, or switch the configuration to another model such as <code>glm-5.2<\/code> while the first one recovers.<\/p>\n<h2>Using the same key in other apps<\/h2>\n<p>The key you created works anywhere that accepts an OpenAI-compatible endpoint. In SillyTavern, for example, you use the base URL <code>https:\/\/qoraapi.com\/v1<\/code> instead of the full path; our <a href=\"https:\/\/qoraapi.com\/blog\/sillytavern-claude-api-cheap\/\">SillyTavern setup guide<\/a> covers that. If you&#8217;re still choosing a provider, our <a href=\"https:\/\/qoraapi.com\/blog\/openrouter-alternatives\/\">OpenRouter alternatives comparison<\/a> lays out the fees and trade-offs of the main gateways.<\/p>\n<h2>FAQ<\/h2>\n<h3>What is the Janitor AI DeepSeek proxy URL for Qora API?<\/h3>\n<p><code>https:\/\/qoraapi.com\/v1\/chat\/completions<\/code>. Use it with the Model Name <code>deepseek\/deepseek-v4.1-flash<\/code> and your Qora API key.<\/p>\n<h3>Can I use DeepSeek V4.1 Flash on Janitor AI?<\/h3>\n<p>Yes. Janitor works with any OpenAI-compatible chat completions endpoint that allows browser requests. Enter the model ID <code>deepseek\/deepseek-v4.1-flash<\/code> in the Model Name field.<\/p>\n<h3>Do I put \/v1 or \/v1\/chat\/completions in Janitor?<\/h3>\n<p>The full <code>\/v1\/chat\/completions<\/code>. Janitor sends requests to the exact URL you type and does not add the path for you.<\/p>\n<h3>Is a Janitor AI proxy free?<\/h3>\n<p>Janitor lets you connect a proxy at no charge, but the model provider bills you for tokens. On Qora API you pay per token from a prepaid USD balance; new users can ask for $5 of trial credit via @QoraAPI on X or support@qoraapi.com.<\/p>\n<h3>Why does my proxy work in another app but not in Janitor?<\/h3>\n<p>Usually one of three things: the URL is the base URL instead of the full endpoint, the page wasn&#8217;t refreshed after saving, or the provider blocks browser (CORS) requests. Qora API allows requests from janitorai.com.<\/p>\n<h3>Which DeepSeek model is best for roleplay?<\/h3>\n<p>Start with V4.1 Flash for cost and speed. Move to V4 Pro if characters lose track of details in long stories. Both are listed in the table above.<\/p>\n<h2>Get started<\/h2>\n<p>Setup takes about two minutes: <a href=\"https:\/\/qoraapi.com\/register\">create a Qora API account<\/a>, make a key, paste the three values into Janitor&#8217;s Proxy settings and refresh. Check current rates on the <a href=\"https:\/\/qoraapi.com\/pricing\">pricing page<\/a>, and please use the service in line with Janitor AI&#8217;s and the model providers&#8217; terms of use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want Janitor AI to run on DeepSeek instead of the built-in model, you need three values: a Proxy URL, an exact Model Name and an API Key that all belong to the same provider. This guide gives you copy-paste values for using DeepSeek V4.1 Flash (and two other low-cost models) on Janitor AI [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-443","post","type-post","status-publish","format-standard","hentry","category-ai-api"],"_links":{"self":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts\/443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/comments?post=443"}],"version-history":[{"count":0,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts\/443\/revisions"}],"wp:attachment":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/media?parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/categories?post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/tags?post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}