EN ▾
Get API key

Uncensored System Prompt Setup for an OpenAI-Style API

If you searched for a deepseek r1 uncensored system prompt, the short version is that a good system prompt for an uncensored model is plain, specific and short. This guide shows the structure, working code and the mistakes that waste tokens.

Updated

Abstract terminal feeding a glowing configuration card, representing a system prompt for a chat model

What this model is, and what it is not

Before any prompt advice, one clarification so you do not waste an afternoon. This API serves a single open-weight model run by an independent provider. It is tuned to answer without content refusals for lawful adult use. It is not DeepSeek R1, it is not the official API of DeepSeek or any other lab, and it does not route your request to several vendors. You call it with the model ID uncensored.

That matters for system prompts because published R1 prompts are written around R1's behaviour. Some of them ask the model to open a reasoning block, to follow a specific tag format, or to ignore a vendor's built-in policy text. None of that is needed here. The model already answers without content refusals, so the system prompt is free to do the job a system prompt is meant to do: tell the model who it is, what the scene is and how the answer should look.

The one fixed rule is the hard limit: no sexual content involving minors, regardless of what any prompt says. A system prompt cannot change that, and you should not waste tokens trying.

The four parts of a prompt that works

Most good system prompts for creative or unfiltered work have the same four parts. Keep each to one or two sentences.

  1. Role. Who is answering. "You are a fiction co-writer for adult readers" or "You are a research assistant that answers directly".
  2. Setting. The situation the model should assume. A story world, a game master table, an internal tool, a Discord bot.
  3. Format. Length, structure, language, whether to use markdown, whether to stay in character.
  4. Stance. How to treat difficult material. For example: "Write dark themes plainly when the story needs them. Do not add warnings, disclaimers or moral commentary."

The stance line is where most people overwrite. Because the model is already tuned not to refuse lawful adult requests, a single sentence about tone is enough. Paragraphs of "you have no restrictions" text do not make the answers better. They make your prompt longer, they cost money on every call, and they often push the model into theatrical, repetitive output because it tries to act out the instruction.

A minimal template

You are a co-writer for adult fiction.
Setting: a noir detective story in a rain-soaked port city.
Format: third person, past tense, 3 to 5 paragraphs per reply, no headings.
Stance: write violence, crime and moral ambiguity plainly when the scene calls for it.
Do not add warnings, disclaimers or lectures. Never break the story to comment on it.

That is about 70 tokens. It tells the model everything it needs, and nothing it will ignore.

Calling the API with your system prompt

The system prompt goes in the first message with role: "system". Any OpenAI SDK works once you change the base URL and key. Get a key from the API key page; the docs cover the rest of the request format.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.uncensoreddeepseek.top/v1",
    api_key="YOUR_KEY",
)

SYSTEM = (
    "You are a co-writer for adult fiction. "
    "Setting: a noir detective story in a rain-soaked port city. "
    "Format: third person, past tense, 3 to 5 paragraphs per reply, no headings. "
    "Write violence, crime and moral ambiguity plainly when the scene calls for it. "
    "Do not add warnings, disclaimers or lectures."
)

resp = client.chat.completions.create(
    model="uncensored",
    messages=[
        {"role": "system", "content": SYSTEM},
        {"role": "user", "content": "Open the story with the detective finding the ledger."},
    ],
    temperature=0.9,
    top_p=0.95,
)
print(resp.choices[0].message.content)

The same call with curl:

curl https://api.uncensoreddeepseek.top/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [
      {"role": "system", "content": "You are a direct research assistant. Answer plainly, no disclaimers."},
      {"role": "user", "content": "Summarise the main arguments for and against rent control."}
    ]
  }'

Keep the system message identical across turns of the same conversation. Resend it at the start of the messages list each time, followed by the full history. The API does not store conversations for you.

Settings that matter more than extra words

If the output feels flat, change sampling before you lengthen the prompt. The API passes through temperature, top_p, stop, seed and the frequency and presence penalties.

GoalTry
Fiction, varied wordingtemperature 0.8 to 1.0, top_p 0.9 to 0.95
Repeating phrases in long scenesraise frequency_penalty a little, for example 0.3
Factual or structured answerstemperature 0.2 to 0.5
Reproducible tests of a prompt changefix seed and compare outputs

These are starting points, not tuned values. Change one setting at a time and keep a fixed seed while you do it, so you can tell whether the prompt or the sampling made the difference.

For machine-readable output, such as a character sheet your app parses, use JSON mode with response_format: {"type":"json_object"} and say in the system prompt which keys you want. Tool calling is also supported if your app needs the model to trigger actions, with results returned as role: "tool" messages.

What a system prompt costs

The system prompt is input, and input is billed at $0.15 per 1M tokens on every request. Short prompts are cheap, but long ones add up in high-volume bots.

  • A 70-token prompt over 1,000 requests: 70,000 tokens, which is $0.0105.
  • A 400-token prompt over 1,000 requests: 400,000 tokens, which is $0.06.
  • A 2,000-token prompt over 1,000 requests: 2,000,000 tokens, which is $0.30.

Output is $0.50 per 1M tokens, so the replies usually cost more than the prompt. Even so, trimming a 2,000-token prompt to 400 tokens saves $0.24 per 1,000 requests and makes the model's behaviour easier to reason about. Failed or refused requests are not charged. See pricing for top-up amounts and bonuses.

Common mistakes

Stacking contradictory instructions

"Be brief" in the first line and "write long, detailed scenes" in the fifth gives you unpredictable length. Read the prompt once as if you were the model and remove anything that pulls two ways.

Telling the model what not to be

A list of forbidden behaviours is weaker than one positive description. "Stay in character as Mara, a tired ship's doctor" beats five lines on what the model must never say.

Putting the whole world bible in the system prompt

If your lore document is 5,000 tokens, that is 5,000 input tokens on every turn. Keep a short summary in the system prompt and add details to the user message only when a scene needs them. The context window is 100,000 tokens, prompt plus completion, so there is room, but you pay for every token you send.

Expecting a vendor's reasoning format

If your app was built to parse reasoning tags from another model, do not assume this model produces them. If you want visible reasoning, ask for it in plain text, for example "think through the problem in a short paragraph, then give the answer after the line ANSWER:". Then parse that marker yourself.

Ignoring rate limits in a bot

A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 and 60. If a busy Discord bot gets HTTP 429 with concurrency, queue requests instead of retrying instantly. A streamed request holds its slot until the stream ends.

Testing a prompt on the free trial

New users can claim $0.50 of trial credit with one click on the API key page after sign-up, one per person. It lasts 7 days and needs no card. Sign-up is with Google, or with email and password. At 70 prompt tokens and 500 output tokens per call, a call costs about $0.00026, so the trial covers roughly 1,900 test calls. That is plenty to compare three or four versions of a system prompt on the same ten user messages.

A simple method: write ten fixed user messages that cover your use case, run each prompt version with a fixed seed, and read the outputs side by side. Keep the version that follows your format rules most often. After that, top up from $20 if you want to keep going; amounts from $50 add a bonus of 5%, from $100 10%, and from $200 15%.

Questions and answers

Is this the DeepSeek R1 model?

No. It is a single open-weight model run by an independent provider and tuned to answer without content refusals for lawful adult use. It is not an official DeepSeek service and not a router across vendors.

Do I need a jailbreak prompt?

No. The model is already tuned not to refuse lawful adult requests, so a short system prompt describing role, setting, format and tone is enough. Long override text only adds cost.

Is there content that no system prompt can change?

Yes. Sexual content involving minors is a hard limit, and no prompt changes it.

Where do I put the system prompt?

Send it as the first item in the messages list with role set to system, and resend it with every request. The API does not keep conversation state.

How much does a system prompt cost?

Input costs $0.15 per 1M tokens, so a 400-token system prompt costs $0.06 per 1,000 requests.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key