Model API

Uncensored Qwen3.8 27B API

Qwen3.8 27B Uncensored is a model for coding and chat with the refusal behaviour removed.

Call it

Base URL https://api.unrestricted.sh/v1, model id qwen3.8-27b-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": "qwen3.8-27b-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="qwen3.8-27b-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 Qwen3.8 27B 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
262,144 tokens
Input
$1.00 per million tokens
Cached input
$0.10 per million tokens
Output
$2.00 per million tokens

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

Privacy

Runs on our own GPU servers. Zero data retention: prompts and replies are never stored.

Questions

Is Qwen3.8 27B uncensored here?

Yes. Qwen3.8 27B 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?

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