Troubleshooting

Claude Refused My Request

Claude refused your request? Why Claude declines, which legitimate tasks get blocked, and how to add context, use fallbacks or route refusals elsewhere.

Reviewed ClaudeRefusalsAnthropic SDK

Quick answer

Claude declines when its training or Anthropic's safety classifiers judge a request risky, and benign security, safety and research work sometimes trips them. Add honest context first, then try Anthropic's own fallback or verification programs. If legitimate work is still blocked, route only the refused requests to an abliterated model through the same Anthropic SDK.

Why Claude declines a request

Claude can say no in two different ways, and they need different fixes.

The model declines in its own words. Claude's training teaches it to turn down some requests, and you get an ordinary reply that says it cannot help. The API reports stop_reason: "end_turn", the same as any finished answer.

A safety classifier blocks the request. Anthropic's newer models, including Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 and the Fable models, run classifiers alongside the model. When one fires you get an HTTP 200 response with stop_reason: "refusal", a stop_details.category and usually empty content. Anthropic's refusals documentation lists the categories:

Category What triggers it, per Anthropic Billed if refused before any output
cyber Requests that could enable cyber harm. "Benign cybersecurity work can also trigger this category." No
bio Requests that could enable biological harm; beneficial life sciences work can trigger it too Yes
frontier_llm Help developing competing AI models; benign ML work can trigger it Yes
reasoning_extraction Asking the model to write out its internal reasoning in the response Yes
general_harms Other usage-policy areas; benign work can trigger it No

Behind both is Anthropic's Usage Policy, effective November 12, 2026. It prohibits unauthorized compromise of systems, weapons development and other categories. It also says it "does not prohibit security research, testing, or tool development conducted on systems you own or operate", and that "encountering a block does not by itself indicate a violation of the Usage Policy." In other words, a refusal is a risk judgment about the text you sent, and sometimes it is a false positive.

Legitimate tasks that often get refused

Each of these is a reasonable professional request, and each is the kind that can trip a refusal:

  • Security operations. "Write detection rules and a lab plan to confirm whether our build hosts shipped the CVE-2024-3094 backdoor." "Explain what this obfuscated PowerShell from our EDR alert does."
  • Authorized testing. "Draft the findings section of our pentest report, including how each weakness could be exploited." See cybersecurity.
  • Safety data. "Generate 200 phishing-style emails, labeled, to train our mail filter." "Write adversarial prompts to test our support bot for data leaks." See AI red teaming.
  • Fiction. A thriller scene where a character describes a crime, or a war novel that does not look away. See creative writing.
  • Research. Drug interactions for a toxicology review, or extremist rhetoric for a policy study.
  • Machine learning. Distillation or training-data questions can trip frontier_llm.
  • Reasoning formats. A prompt that asks for a <thinking> section or a reasoning field in JSON can trip reasoning_extraction.

The general term for refusing safe requests is over-refusal.

What to do, in order

1. Fix the format if the category is reasoning_extraction

This one is not about your topic. Anthropic says the category has no recommended fallback, so change the prompt instead: drop requests for a thinking section or reasoning field, and turn on adaptive thinking with display: "summarized" to see a summary of the reasoning.

2. Add honest context

State who you are, what you are authorized to do and why you need the output. Put the stable parts in the system prompt so every request carries them:

You support the security team of Example Corp. The team is authorized to test and defend every host in scope of engagement 2026-114. Outputs go into internal reports and detections.

Context does not override hard limits, and it should be true. It does help with requests that are ambiguous without it. See system prompts.

3. Let Anthropic retry on another Claude model

Anthropic's API can retry a refused request on a fallback model in the same call. Set fallbacks to "default" with the server-side-fallback-2026-07-01 beta, and the API picks the model it recommends for that refusal category. Categories with no recommended fallback keep the refusal.

4. Apply for adjusted access

Anthropic's Usage Policy mentions programs "where you can apply to be granted access to our products and services with adjusted safeguards", naming the Cyber Verification Program and the Life Sciences Verification Program. If your team does this work every day, apply.

5. Route only the refused requests to an abliterated model

If legitimate work is still blocked, send just those requests to a model with the refusals removed. Abliterator speaks the Anthropic Messages format, so you use the same anthropic SDK with a different base URL and key. Everything Claude answers stays on Claude.

Route refused requests with the Anthropic SDK

This script sends a request to Claude with Anthropic's fallback turned on. If the final answer is still a refusal, it resends the same messages to kimi-k3.1-pro-abliterated on Abliterator. Set ANTHROPIC_API_KEY and ABL_API_KEY (get one at /keys), then run it.

import os

import anthropic

claude = anthropic.Anthropic()  # reads ANTHROPIC_API_KEY
abliterator = anthropic.Anthropic(base_url="https://abliterator.ai", api_key=os.environ["ABL_API_KEY"])

SYSTEM = (
    "You support the security team of Example Corp. The team is authorized to test and "
    "defend every host in scope of engagement 2026-114. Outputs go into internal detections."
)


def text_of(message):
    return "".join(block.text for block in message.content if block.type == "text")


def ask(prompt):
    messages = [{"role": "user", "content": prompt}]
    first = claude.beta.messages.create(
        model="claude-opus-5-5",
        max_tokens=16000,
        system=SYSTEM,
        messages=messages,
        betas=["server-side-fallback-2026-07-01"],
        fallbacks="default",  # Anthropic retries on its recommended model first
    )
    if first.stop_reason != "refusal":
        return first.model, text_of(first)

    details = getattr(first, "stop_details", None)
    print("Claude declined, category:", getattr(details, "category", None))
    # Discard any partial output and send the same request to abliterator.
    second = abliterator.messages.create(
        model="kimi-k3.1-pro-abliterated",
        max_tokens=16000,
        system=SYSTEM,
        messages=messages,
    )
    return second.model, text_of(second)


model, answer = ask(
    "Write a Sigma rule and a short triage runbook for detecting the CVE-2024-3094 "
    "xz-utils backdoor on our Debian build hosts."
)
print(f"[{model}]")
print(answer)

A few notes on this design:

  • Discard partial output. A refusal can arrive mid-stream. Anthropic's docs say to treat any partial output as incomplete.
  • Stay on the fallback for the rest of the conversation. Anthropic gives the same advice for its own fallbacks, and it keeps the model's context consistent.
  • Log the category. If most of your refusals are cyber, the verification program may serve you better than routing.
  • Choose the model per job. kimi-k3.1-pro-abliterated costs $4.00 per 1M input tokens and $15.00 per 1M output tokens. For high-volume work such as labeled safety data, deepseek-v4.1-flash-abliterated costs $1.00 and $2.00. See Kimi vs DeepSeek abliterated.

If you work in Claude Code rather than the SDK, see uncensored model for Claude Code.

How much less the abliterated model refuses

We measured DeepSeek V4.1 Flash Abliterated against the original DeepSeek V4.1 Flash on November 7 and 8, 2026. It refused 1% of JailbreakBench harmful prompts against 94% for the original. It wrongly refused 0% of XSTest safe prompts against 6%. It still followed operator system prompts: told to stay on topic, it declined 75% of off-topic requests, against 95% for the original. Reasoning, math and vision scores stayed within noise; MMLU-Pro dropped 0.8 points. Details are on the benchmarks page. Kimi K3.1 Pro Abliterated's published results show JailbreakBench refusals down from 94% to 3%, with GPQA Diamond at 92.8 against 93.1 for the original. If you use Kimi as a coding agent, test it on your own tasks first: its Terminal-Bench 4.0 score fell from 68.8 to 56.3, a drop that is plausible but not statistically shown.

What not to do

Do not jailbreak Claude. The Usage Policy bars jailbreaking and prompt injection "without prior authorization from Anthropic", and attempts can cost you the account.

Routing refused requests elsewhere does not change what is allowed. Abliterator removes the model's refusals; it does not remove the law or our terms. Its acceptable use policy prohibits meaningful help toward biological, chemical, nuclear or radiological weapons, attacks on systems without authorization, malware deployed against third parties, fraud and phishing of real victims, and the other categories it lists. Keys that violate it are suspended.

If you use the Claude apps rather than the API, you can paste the same request into Abliterator's free playground, which needs no sign-up.

Frequently asked questions

Does a Claude refusal mean I violated Anthropic's policy?

Not by itself. Anthropic's Usage Policy says that encountering a block does not by itself indicate a violation, and its API docs say benign cybersecurity, life sciences and machine learning work can trigger its classifiers.

Am I billed when Claude refuses?

It depends on the category. Per Anthropic's docs, a refusal before any output is billed for the bio, frontier_llm and reasoning_extraction categories and not billed for cyber, general_harms or a null category. A refusal after partial output is billed.

What does stop_reason refusal mean in the Claude API?

It means a safety classifier declined the request. The response is an HTTP 200 with stop_reason set to refusal and a stop_details object whose category names the policy area, such as cyber or bio.

Will an abliterated model answer everything Claude refuses?

It refuses far less, but not never. Abliterator's DeepSeek V4.1 Flash Abliterated refused 1% of JailbreakBench harmful prompts against 94% for the original. Abliterator's acceptable use policy still applies to every request.

Can I keep using Claude for everything else?

Yes, and it keeps costs down. Send every request to Claude and resend only the ones it refuses, so your other traffic and prompts stay unchanged.