DeepSeek API Not Working on Janitor AI: What to Try
When the deepseek api not working janitor ai problem hits, the cause is almost always one of six settings: URL, key, model name, balance, rate limit or context size. Work through them in order, then test the endpoint outside Janitor AI.
Key points
- Test the endpoint with curl first. If curl works, the fault is in the Janitor AI settings.
- Most failures are a wrong proxy URL, a wrong model name or an empty balance.
- 429 means slow down or lower concurrency; 401 means the key; 402 or 403 point at billing or access.
- If one provider keeps failing, any OpenAI-compatible endpoint can be swapped in with three fields.

Check the endpoint outside Janitor AI first
Before you change anything inside the chat app, find out whether the API itself answers. A direct request removes Janitor AI from the equation. The example uses this site's endpoint; for any other provider, swap in its URL, key and model name:
curl -i https://api.uncensoreddeepseek.cc/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"uncensored","messages":[{"role":"user","content":"Say hello"}]}'Read the status line. 200 with a message means the provider works and the problem is in your Janitor AI configuration. Any other number tells you where to look, and the table in the next section maps each one to a fix. If you are stuck on the deepseek api not working janitor ai screen with no useful message, this curl test is the fastest way to get one.
Match the error to the fix
| Symptom | Likely cause | What to do |
|---|---|---|
| 401 or "invalid key" | Wrong, expired or mistyped key, or a space pasted at the end | Copy the key again, no quotes, no trailing space |
| 402 or "insufficient balance" | The account has no credit left | Top up, or check the balance on the provider's dashboard |
| 404 | Wrong URL path or model name | Check the path and the exact model ID |
| 429 | Too many requests per minute, too many at once, or provider overload | Wait, retry, lower parallel requests |
| 5xx or timeout | Provider is overloaded or down | Retry later, or use another endpoint |
| Network error in the browser, curl works | Browser, extension or proxy blocking the request | Try another browser, disable ad blockers for the site |
| Reply cuts off or errors on long chats | Context too long for the model | Lower the context setting in the chat app |
Janitor AI proxy settings to verify
Janitor AI lets you use an outside model through its proxy or custom API option. The labels can change between app versions, so treat the names below as a guide and match them to what you see on screen.
- API type. Choose the proxy or OpenAI-compatible option, not the built-in model.
- Model name. Type the provider's exact model ID. A typo, a different capitalization, or a name from another provider returns 404 or an empty reply.
- Proxy URL. Many setups need the full endpoint, ending in
/chat/completions. Others want only the base URL ending in/v1. If one form fails, try the other. - API key. The raw key, with no
Bearerprefix unless the field asks for it. - Save, then reload. Reload the chat page after saving. Old settings stay cached in some sessions.
- Context and max tokens. If the provider limits the context window, set the app's value at or below it.
Balance, limits and busy servers
Providers fail for boring reasons. An empty balance returns an error that some chat apps display as a generic failure. Rate limits return 429 when you send too many requests per minute or have too many open at once. A shared model in high demand may return errors or time out for hours.
If you are using DeepSeek's own API, check its current pricing and status pages, and see our notes on DeepSeek API pricing for how billing works in general. Repeated regenerate clicks multiply your requests, so press once and wait. Each regenerate opens another request, and if the first has not ended, you can hit a concurrency limit on top of everything else.
Switching to another OpenAI-compatible endpoint
Janitor AI only needs a URL, a key and a model name, so any provider that follows the OpenAI chat format can replace the failing one. Here is what to enter for the endpoint behind this site:
- Proxy URL:
https://api.uncensoreddeepseek.cc/v1/chat/completions(or the basehttps://api.uncensoreddeepseek.cc/v1if your version asks for it) - Model name:
uncensored - API key: the key from the API key page
Be clear about what you are switching to. This is not the DeepSeek API. It is one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use, behind an OpenAI-compatible interface. It is not the official API of DeepSeek or any other vendor. Do not expect the same replies as DeepSeek's own models. It is text only, with a 100,000 token context window, and the hard rule is no sexual content involving minors.
Test the new endpoint before you save it in the app
Run the same curl test with the new values:
curl -i https://api.uncensoreddeepseek.cc/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"uncensored","messages":[{"role":"user","content":"Say hello"}],"max_tokens":50}'The response headers include X-Request-Id, X-Balance-USD and the rate-limit headers. If something fails, the request ID helps when you contact support. You can also check which model IDs a key sees:
curl https://api.uncensoreddeepseek.cc/v1/models \
-H "Authorization: Bearer YOUR_KEY"This API returns HTTP 429 with the error code rate_limited when you exceed requests per minute and concurrency when too many requests run at once. On temporary overload it also returns 429 with a Retry-After: 5 header. A full key allows 8 concurrent requests and 300 requests per minute; a trial key allows 2 and 60. A streamed reply holds its slot until the stream ends, so a trial key can hit the concurrency limit if you open a second chat while the first is still streaming.
Less obvious causes inside the chat app
- A very long character definition. Bot descriptions, example dialogues and a lorebook all count as input tokens on every message. If they take most of the context window, the chat fails once the history grows. Trim the definition, or lower the app's context setting so the total stays under the model's limit.
- A huge max tokens value. Some apps send a reply length so large that, added to the prompt, it exceeds the window. Lower it to a few hundred or a thousand and see if the error disappears.
- Extreme sampling values. A temperature set very high gives gibberish that looks like a broken API. Try 0.7 and top_p 0.9 as a baseline. Temperature, top_p, stop, seed and the penalties are passed through by this API.
- Streaming problems. If replies hang, disable streaming in the app and test again. A flaky connection or a browser extension can break the event stream while normal requests succeed.
- Old saved settings. After changing the URL or key, start a fresh chat or reload, since some views keep the previous configuration.
When a fix works, write down the settings. Reconfiguring after a browser reset is much faster with a note.
Cost and trial
New users can claim $0.50 of trial credit with one click on the API key page after signing up, no card needed, valid for 7 days. After that, billing is pay as you go from prepaid credit at $0.15 per 1M input tokens and $0.50 per 1M output tokens. Failed or refused requests are not charged. Chat apps resend the full conversation on each message, so long roleplay sessions use many input tokens. As an example, a 20-message chat that ends at 8,000 tokens of history costs about $0.0012 for its last input, and a typical full session stays at a few cents. See the pricing page for top-ups.
If you also need tool calling, check the page on whether DeepSeek supports tool calling, and the docs for how it works here.
More guides
- Qwen API vs DeepSeek API Pricing, and a Third Option
- DeepSeek API Pricing: Compare Uncensored vs Standard Options
FAQ: Pricing and Billing
How is token usage calculated?
Tokens are counted based on the input prompt and the generated output. The API uses a tokenizer to split text into tokens. You can estimate token counts using standard tokenizers or by checking the response headers. Input tokens are charged at $0.15 per million, and output tokens at $0.50 per million.
Do I get charged for errors?
No. If a request fails due to a server error or a timeout, you are not charged for those tokens. You only pay for successful completions or partial completions that were generated.
Can I use a credit card?
We accept crypto (USDT on TRC20, USDC on Base) payments for top-ups. You can also start with a free trial credit without a card. Once you need more credit, you can top up via crypto.
What happens to my unused credit?
Your prepaid credit never expires. You can top up at any time, and the bonus credits are applied instantly. There are no monthly fees or subscription renewals, so your balance remains available until you use it.
Optimizing Your API Usage
To minimize costs, optimize your prompts. Use concise instructions and avoid redundant information. Since input tokens are cheaper, you can afford longer prompts, but be mindful of the context window. Our API supports 100,000 tokens, which is ample for most use cases.
Use streaming to reduce latency. Streaming allows you to receive tokens as they are generated, improving the user experience. Our API supports Server-Sent Events (SSE) for streaming. You can also use JSON mode to get structured output, which reduces the need for post-processing.
Monitor your usage regularly. The API provides token counts in the response headers. Use these metrics to track your spending and adjust your prompts accordingly. By combining optimization with our crypto bonuses, you can achieve significant savings.
Getting Started with the API
Getting started is simple. Sign up for an account using Google or email. You will receive a $0.50 trial credit valid for 7 days. This allows you to test the API without any financial commitment. Claim this credit with one click on your API key page.
To use the API, install the OpenAI SDK or any compatible client. Set the base URL to https://api.uncensoreddeepseek.cc/v1 and provide your API key. You can then make requests just like you would with OpenAI.
For example, you can send a chat completion request with a simple prompt. The API will return the generated text, along with token usage statistics. You can then integrate this into your application. If you need more credit, top up via crypto to receive bonus credits.
More guides
Questions and answers
Why is my DeepSeek API not working on Janitor AI?
The usual causes are a wrong proxy URL, a wrong model name, an invalid key, an empty balance, or a rate limit. A direct curl request tells you which one.
Should the proxy URL end in /chat/completions?
Often yes. Some setups want the full path and others the base URL ending in /v1. If one form fails, try the other.
What does a 429 error mean?
You sent too many requests per minute, too many at once, or the provider is temporarily overloaded. Wait a few seconds and send fewer parallel requests.
Can I use a different provider in Janitor AI?
Yes, any OpenAI-compatible endpoint works with a URL, key and model name. This site's endpoint is not DeepSeek's official API.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
On this page
- Check the endpoint outside Janitor AI first
- Match the error to the fix
- Janitor AI proxy settings to verify
- Balance, limits and busy servers
- Switching to another OpenAI-compatible endpoint
- Test the new endpoint before you save it in the app
- Less obvious causes inside the chat app
- Cost and trial
- More guides
Email and password, key on screen right away.