Your product's rules belong in your code, not the weights

People who compare models quickly notice that each has its own map of forbidden territory. Some refuse anything touching on certain political topics, others shy away from dark fiction, medical detail or blunt opinions, and a model's limits can shift between versions. Commentators have written at length about one Chinese frontier model appearing to reason its way around its own constraints on sensitive political questions, and asked what the next version will allow.
For developers, the philosophical debate matters less than a practical consequence: if the model behind your app refuses less, your app has to decide more. This article explains how refusal behaviour differs between models, what changes when you build on a model tuned to refuse less, and how to implement a clear policy layer of your own, with system messages, input checks and output checks, so your product behaves the way you intend regardless of which model sits underneath.
This site is independent and not affiliated with DeepSeek. Its keyless endpoint serves free-ai, an open-weight model of about 35B parameters fine-tuned to refuse far less than commercial assistants. It keeps two hard rules: no sexual content involving minors and no operational instructions for mass-casualty weapons.
Frequently asked questions
What is a refusal in a language model?
A refusal is when the model declines to do what was asked, usually with an explanation or a safer alternative. Refusals come from fine-tuning and system prompts, and each provider draws the line in a different place.
How do refusal policies differ between models?
Commercial assistants tend to be cautious across many topics. Models from different countries may follow different rules on politics. Open-weight models range from heavily restricted to minimally restricted, depending on how they were fine-tuned.
Does fewer refusals mean no rules at all?
No. It means the model will help with a wider range of legitimate requests, such as frank discussion, dark themes in fiction or blunt critique, without moralising. free-ai still refuses sexual content involving minors and operational instructions for mass-casualty weapons.
Why would a developer want a model that refuses less?
False refusals frustrate users: a novelist blocked from writing a villain, a nurse refused a medication question, a historian refused a discussion of propaganda. A model that refuses less lets the product, not the model vendor, decide what is appropriate for its audience.
Who is responsible for what a public app outputs?
The operator of the app. Whatever the model's defaults, your terms, your audience and local law determine what your product should allow, so you need your own policy layer.
Which is better for a children's education site: a cautious model or a low-refusal one?
A cautious commercial model with strong built-in safety is usually the better fit for children's products, ideally plus your own filters. Low-refusal models suit adult audiences, creative tools and professional use.
Can I use the model itself to moderate content?
Yes. A separate short call asking the model to classify text against your written policy works well for many cases. Combine it with simple deterministic checks and human review for edge cases.
Refusals are a product decision someone already made
Every assistant you use embodies decisions about what it should not do. Those decisions are made by the model's developers based on their legal environment, brand risk, audience and values. They are rarely documented in detail, so users discover them by bumping into them, and they can change from one release to the next.
When you build an app on a model, you inherit those decisions unless you take them over. With a cautious model, your users will hit refusals you did not choose. With a low-refusal model, they will get answers you did not review. Either way, the responsible approach is to write your own policy and enforce it explicitly.
Over-refusal
Declining legitimate requests because they superficially resemble risky ones, for example refusing to explain how a historical poison worked in a mystery novel. It costs user trust and often pushes people to worse tools.
Under-refusal
Helping with something your product should not support. For public apps this is the risk you must manage when the model itself is permissive.
How refusal behaviour varies in practice
Differences between models show up in recognisable areas. Political topics are one: some models avoid discussing particular governments or events entirely, while others discuss them openly. Creative writing is another: villains, violence and grief are part of literature, and models differ widely in whether they engage. Health, law and personal finance form a third area, where cautious models often refuse to give anything beyond 'consult a professional'.
Low-refusal models generally engage in all of these with a frank, adult tone. They still decline the narrow set of things their developers have ruled out, and a well-designed app adds its own boundaries on top.
Test your own topics
Write twenty prompts typical of your users, including borderline but legitimate ones, and run them through each candidate model. The refusal pattern you see is what your users will see.
- Political and historical controversy: engage or avoid
- Dark themes in fiction: craft help or blanket refusal
- Medical, legal and financial questions: substance or disclaimers only
- Blunt critique of a user's work: honest or softened
- Profanity and informal tone: allowed or corrected

Write the policy before the code
A moderation layer needs something to enforce. Write a short policy in plain language: who the product is for, what it helps with, what it will not do, and how it responds when declining. Keep it to a page. A clear policy makes the system message easier to write, gives a classifier something concrete to check against and helps you explain decisions to users.
The policy should reflect your audience. An adult fiction tool, a coding assistant and a homework helper for teenagers will draw very different lines, even on the same model.
Include examples
For each rule, add one example that is allowed and one that is not. Examples remove ambiguity both for people and for any model you use to classify requests.
Say how to decline
Decide the tone of a refusal: brief, non-judgmental, and pointing to what the product can help with instead. Consistency matters more than wording.
Layer one: the system message
The cheapest control is a system message that states the product's purpose and boundaries. A low-refusal model generally follows such instructions well, because it has not been trained to override operator wishes with its own caution. The system message cannot guarantee compliance, but it handles most ordinary traffic.
Keep it focused on scope. 'You help users write and edit short stories; you do not provide real-world instructions for illegal activity; keep content suitable for adults who opted in' is clearer than a long list of prohibitions.
Scope beats prohibition
Telling the model what the product is for produces more natural behaviour than listing everything it must not do, and leaves fewer gaps.
from openai import OpenAI
client = OpenAI(base_url="https://api.apideepseekfreekey.com/v1", api_key="free")
POLICY = (
"You are the writing assistant for an adult fiction workshop. "
"Help with plot, character, dialogue, pacing and editing, including dark themes. "
"Keep violence non-instructional: describe consequences and emotion, not methods. "
"If a request falls outside this scope, say so briefly and offer a related craft task."
)
r = client.chat.completions.create(
model="free-ai",
max_tokens=600,
messages=[
{"role": "system", "content": POLICY},
{"role": "user", "content": "My antagonist is a charming con artist. How do I make readers trust him until chapter ten?"},
],
)
print(r.choices[0].message.content)
Layer two: checking inputs
Some requests should never reach the generation step. Simple deterministic checks catch obvious cases cheaply: request length limits, blocked terms specific to your policy, and rate limits per user. For subtler cases, a short classification call can label the input as allowed, out of scope or disallowed under your written policy.
Classification works best with a tight prompt, a fixed set of labels and a low token limit. Treat anything unparseable as 'needs review' rather than 'allowed'.
Fail closed for unknowns
If the classifier returns something unexpected or the call fails, route the request to a safe default, such as a polite 'cannot help with that here', or to human review for paid products.
Mind the extra calls
Each classification is a request. On this endpoint, with one request per second per IP, classify only where needed, for example on free-text inputs rather than button clicks.
LABELS = {"allowed", "out_of_scope", "disallowed"}
def classify(text):
r = client.chat.completions.create(
model="free-ai",
max_tokens=5,
temperature=0,
messages=[
{"role": "system", "content": "Classify the user's request against this policy: " + POLICY +
" Reply with exactly one word: allowed, out_of_scope or disallowed."},
{"role": "user", "content": text[:4000]},
],
)
label = r.choices[0].message.content.strip().lower().strip(".")
return label if label in LABELS else "review"
print(classify("Help me tighten the dialogue in my heist scene."))Layer three: checking outputs
Even with a good system message, a model occasionally produces something outside your policy. For public products, check outputs too. The same classifier approach works on the answer, and for streaming you can buffer the first part of a reply, check it, then continue streaming, or check the completed text before saving or sharing it.
Output checks matter most where content becomes public: shared links, community galleries or published posts. For a private chat that only the requesting user sees, many teams rely on input checks and the system message alone.
Review a sample of blocked and allowed outputs every week at first. Patterns emerge quickly: a rule that blocks too much, a gap the system message does not cover, or a classifier label that is too vague. Adjust the written policy first, then the prompts that enforce it, so the two never drift apart.
Log decisions, not content
Record which layer blocked what and why, so you can tune the policy. Avoid storing full user text unless you must, and say so in your privacy notice.

Political topics and regional rules
Politically sensitive topics are where model differences are most striking and most discussed. Some models answer questions about certain events evasively or not at all; others are frank. Neither behaviour is automatically right for your app: a news-analysis tool may need frankness, while a customer-support bot is better off politely staying on topic.
Decide what your product should do and encode it in the policy, rather than inheriting whatever the model's developers chose for their home market. Low-refusal models make that easier because they follow operator instructions in either direction.
Whatever you choose, apply it consistently across languages, since users notice quickly when the same question gets a frank answer in one language and a deflection in another.
Neutral scope rules
For support and utility bots, a rule like 'stay on the topic of this product' avoids political discussions altogether without any judgement about the topics themselves.
When a cautious commercial model is the better choice
A low-refusal model shifts responsibility to you. If you do not have time to write a policy, build checks and watch logs, a commercial assistant with strong built-in safety and a support team behind it is the safer foundation, especially for audiences that include minors or vulnerable people. Commercial providers also offer dedicated moderation tools and clearer accountability.
Low-refusal models shine where adults need frank help and false refusals are costly: fiction, research, frank health and legal explanations, critique and internal tools. Choose based on your audience, not on which model sounds more exciting. Related trade-offs are covered in routing between models and why models misreport their identity.
Mixed setups
Some products use a cautious model for public-facing chat and a low-refusal model for an opt-in adult or professional mode, with the policy layer deciding which one each request goes to.

Open the home page and send a request to the keyless endpoint straight from your browser, no account or key needed.
Read also
- What can you do when your LLM API does not accept image input?
- Local DeepSeek distill vs hosted API: which is better for you?
- Why did my AI API's answers change overnight with the same code?
- Why does an AI model sometimes claim to be a different model?
- How do you route requests between cheap and strong AI models?