Model API

Uncensored DeepSeek V4.1 API

DeepSeek V4.1 Flash 1017 Uncensored is a model for coding and chat with the refusal behaviour removed.

Call it

Base URL https://api.unrestricted.sh/v1, model id deepseek-v4.1-flash-uncensored. Any OpenAI-compatible SDK works, and so does the Anthropic messages endpoint.

sh
curl https://api.unrestricted.sh/v1/chat/completions \
  -H "Authorization: Bearer $UNRESTRICTED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash-uncensored",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'
python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.unrestricted.sh/v1",
    api_key=os.environ["UNRESTRICTED_API_KEY"],
)

resp = client.chat.completions.create(
    model="deepseek-v4.1-flash-uncensored",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

API reference

In a coding agent

One command sets up OpenCode, Codex CLI, Qwen Code, Goose, OpenHands, Continue, Crush or Pi. Then pick DeepSeek V4.1 Flash 1017 Uncensored from the model list.

sh -c "$(curl -fsSL https://unrestricted.sh/setup.sh)"

Or with npm: npx unrestricted

Step-by-step guides: OpenCode, Codex CLI, Qwen Code, Goose, OpenHands, Continue, Crush, Pi, Aider, Cline, Roo Code, Kilo Code, Zed.

Prices

Context window
1,048,576 tokens
Input
$0.35 per million tokens
Cached input
$0.10 per million tokens
Output
$1.25 per million tokens

Cached-input pricing applies to the API and coding tools; messages in the web chat pay the full input price.

Privacy

Served by an outside inference partner. The partner has committed to zero data retention: prompts and replies are not stored.

Questions

Is DeepSeek V4.1 uncensored here?

Yes. DeepSeek V4.1 Flash 1017 Uncensored answers without the stock model's refusals, within our acceptable use policy.

Which tools can use it?

Any OpenAI- or Anthropic-compatible client. One command sets up OpenCode, Codex CLI, Qwen Code, Goose, OpenHands, Continue, Crush or Pi, and the setup guides cover 13 coding agents.

Do you store prompts?

Prompts and completions are never saved or logged.

What does it cost?

$0.35 per million input tokens, $0.10 per million cached input tokens and $1.25 per million output tokens, paid from prepaid credit or a monthly plan.