DeepSeek JailbreakArticles
DeepSeek Jailbreak API: Call an Uncensored Model
People searching for a deepseek jailbreak api usually want a model that answers instead of refusing, reachable from code. This setup guide gets you from zero to a working call in a few minutes, with no jailbreak text involved.
Last updated:
On this page
- What you need
- Step 1: make the first call with curl
- Step 2: Python with a real system prompt
- Step 3: stream, use tools and the responses endpoint
- Step 4: write system prompts that work
- Step 5: watch balance and handle 429
- Settings worth knowing before you build
- Troubleshooting table
- Where to go next
- More guides

Summary
- Three values are all you need: base URL, key and the model ID uncensored.
- Use a normal system prompt to set role and format. There is nothing to bypass.
- Check X-Balance-USD on responses to track spend as you go.
- 429 means slow down: rate_limited is per minute, concurrency is too many at once.
What you need
You are not going to find a magic deepseek jailbreak api endpoint here, and you do not need one. This is an OpenAI-compatible hosted API with a single open-weight model that is tuned to answer without content refusals for lawful adult use. It is run by an independent provider. It is not the official DeepSeek API, and it is not a gateway to several vendors.
- Base URL:
https://api.deepseekjailbreak.com/v1 - Model ID:
uncensored - Auth header:
Authorization: Bearer YOUR_KEY
Get a key from the API key page. Sign up with Google or with email and password, then claim $0.50 of trial credit with one click. The trial lasts 7 days and needs no card.
Step 1: make the first call with curl
Before touching an SDK, confirm the key and the network path work.
curl -i https://api.deepseekjailbreak.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [
{"role": "user", "content": "Say hello in one short sentence."}
]
}'
The -i flag prints headers. Look for X-Balance-USD, which shows your remaining balance, and X-Request-Id, which you should keep if you ever ask support about a specific call. A 200 and a JSON body with choices[0].message.content means you are live. An authentication error means the key is wrong or has been replaced.
Step 2: Python with a real system prompt
Install the official SDK with pip install openai. Then set the three values and send a system message that describes the job. This is where the prompt does its legitimate work: role, tone, format, boundaries of the task.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.deepseekjailbreak.com/v1",
api_key=os.environ["API_KEY"],
)
SYSTEM = """You are a direct, well-informed assistant for adult users.
Answer the question asked. Give your reasoning in short steps.
If you are not sure, say so instead of guessing.
Format: plain text, no more than 250 words."""
def ask(question, history=None):
messages = [{"role": "system", "content": SYSTEM}]
messages += history or []
messages.append({"role": "user", "content": question})
r = client.chat.completions.create(
model="uncensored",
messages=messages,
temperature=0.7,
)
return r.choices[0].message.content
print(ask("Explain how TLS certificate pinning can fail in practice."))
Notice what is missing: no persona with a made-up name, no "ignore previous instructions", no hypothetical framing. With a model that is not trained to refuse, those add tokens and noise and nothing else.
Step 3: stream, use tools and the responses endpoint
For chat interfaces you want tokens as they arrive. Streaming uses server-sent events and works with the official Node SDK.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.deepseekjailbreak.com/v1",
apiKey: process.env.API_KEY,
});
const stream = await client.chat.completions.create({
model: "uncensored",
stream: true,
messages: [
{ role: "system", content: "You are a concise technical assistant." },
{ role: "user", content: "List five edge cases when parsing CSV files." },
],
});
for await (const chunk of stream) {
const delta = chunk.choices[0]?.delta?.content;
if (delta) process.stdout.write(delta);
if (chunk.usage) console.log("\nusage:", chunk.usage);
}
A streamed request keeps its concurrency slot until the last chunk arrives. If a user closes the tab, abort the request on your side so the slot frees up.
The chat completions endpoint is the default, but the API also accepts POST /v1/responses, which newer OpenAI SDK code uses. If your project is written against it, the same three changes apply: base URL, key and model.
from openai import OpenAI
client = OpenAI(base_url="https://api.deepseekjailbreak.com/v1", api_key="YOUR_KEY")
r = client.responses.create(
model="uncensored",
input="Give two reasons to pin dependency versions.",
)
print(r.output_text)
For tool calling on the chat endpoint, pass tools with a JSON schema for each function and, if you want to force a choice, tool_choice. When the model asks for a tool, run it in your code and send the result back as a message with role: "tool" and the matching tool_call_id. The model then writes the final answer from the result. This is the normal OpenAI loop, and it works the same here.
Step 4: write system prompts that work
A good system prompt for an unrestricted model is about clarity. Four habits help:
- State the audience. "Adult readers who know the basics" produces less hand-holding than no audience at all.
- State the format. Length limit, headings or none, JSON or prose. The model follows format rules well when they are specific.
- State what to do when unsure. Ask it to say "I do not know" or list assumptions.
- Keep it short. Every token of the system message is billed as input on every call.
If you need machine-readable output, set response_format={"type": "json_object"} and describe the keys in the prompt. Tool calling is available through tools and tool_choice, with results returned as role: "tool" messages. Sampling parameters such as temperature, top_p, stop, seed and the penalties are passed through.
Step 5: watch balance and handle 429
Billing is prepaid at $0.15 per 1M input tokens and $0.50 per 1M output tokens. You can check the balance without a chat call using GET /v1/balance or the OpenAI-style GET /v1/dashboard/billing/credit_grants.
# chat calls use model "uncensored"; the balance call needs no body
curl https://api.deepseekjailbreak.com/v1/balance \
-H "Authorization: Bearer YOUR_KEY"
A 429 comes in three shapes. Error code rate_limited means more than 300 requests in a minute on a full key (60 on a trial key). Error code concurrency means more than 8 requests in flight (2 on trial). A 429 with a Retry-After: 5 header means temporary overload. In all three cases wait and retry with a short backoff.
import time
from openai import OpenAI, RateLimitError
client = OpenAI(base_url="https://api.deepseekjailbreak.com/v1", api_key="YOUR_KEY")
def call(messages, tries=4):
for i in range(tries):
try:
return client.chat.completions.create(model="uncensored", messages=messages)
except RateLimitError:
time.sleep(5 * (i + 1))
raise RuntimeError("still rate limited")Settings worth knowing before you build
The defaults work for a first call, but a few settings change results more than people expect. None of them has anything to do with refusals; they shape style and cost.
- temperature. Use 0 to 0.3 for extraction, classification and code, where you want the same answer each time. Use 0.7 to 1.0 for fiction and brainstorming.
- max_tokens. Optional. Set it when you need a short reply or a hard cap on spend, since output tokens cost $0.50 per 1M against $0.15 for input.
- seed. Pass a fixed integer together with the same prompt and parameters to compare two system prompts fairly.
- stop. A stop string ends generation early, which is useful for turn-based formats.
Keep one config file with the base URL, model and default parameters, and read it everywhere. When you later change a system prompt, run the same five test questions before and after and compare the answers side by side. That habit replaces the guesswork that jailbreak prompt hunting usually turns into.
One more check before launch: send a request with a very long input, around 60,000 tokens, to confirm your own code handles slow responses and timeouts. The window is 100,000 tokens for prompt plus completion, so long inputs are allowed, but your HTTP client timeout should be generous for them. Raise it to a minute or more for big prompts, and keep the retry loop shown above around the call.
Troubleshooting table
| Symptom | Likely cause | Fix |
|---|---|---|
| Authentication error | Key copied with a space, or replaced after regeneration | Copy the current key from the key page. Regenerating makes the old key stop working at once. |
| Model not found | Old model name left in code | Set model to uncensored. |
429 rate_limited | More than 300 requests a minute (60 on trial) | Queue requests and slow the loop. |
429 concurrency | More than 8 requests in flight (2 on trial) | Limit parallel workers. Remember that open streams count. |
429 with Retry-After: 5 | Temporary overload | Wait the number of seconds in the header and retry. |
| Answer ends mid-sentence | Prompt plus completion reached 100,000 tokens | Shorten the input or the history. |
Each response includes an X-Request-Id header. Log it next to your own request ID, so that if a call behaves strangely you can point support to the exact request rather than describe it from memory.
Where to go next
All endpoints and parameters are listed in the API documentation. For the bigger picture on why prompts alone are the weaker option, read the existing alternative guide on this site. Top-up amounts run from $20 to $500 in whole dollars, with a bonus of +5% from $50, +10% from $100 and +15% from $200; the pricing page has the details. The service prohibits any sexual content involving minors, and you are responsible for lawful use of what you build.
More guides
FAQ: deepseek API vs other providers
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.deepseekjailbreak.com/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);Frequently asked questions
Do I need a jailbreak prompt with this API?
No. The model is tuned to answer without content refusals for lawful adult use, so a normal system prompt that sets role and format is enough.
Which model name do I send?
Send model set to uncensored. It is the only model ID on this API.
Can I use my existing OpenAI code?
Yes. Change the base URL to https://api.deepseekjailbreak.com/v1 and the key. The chat completions, responses and models endpoints follow the OpenAI format.
How do I see how much I have left?
Read the X-Balance-USD header on any response, or call GET /v1/balance.
What happens if I send too many requests?
You get HTTP 429. The error code rate_limited or concurrency tells you which limit you hit. Wait a few seconds and retry.
Your API key is one step away
Sign up, copy the key, update your base URL. That’s all it takes.
Start with trial balance
Provide email and password. Your key appears instantly.
https://api.deepseekjailbreak.com/v1