# Qwen3.8 27B Uncensored

Qwen3.8 27B Uncensored is an uncensored open-weight model built on an Alibaba model, post-trained to stop refusing, so it answers what the original would decline. It reads text and images. It can reason before it answers, at the effort you ask for. The Inference API serves it on the TEE tier, at one price whoever runs the request.

- Model id: `qwen/qwen3.8-27b-uncensored`
- Lab: Alibaba
- Price: $0.35 / $1.75 per 1M input / output tokens
- Context: 256K tokens
- Privacy tiers: TEE
- Uncensored: yes
- Page: https://trymorse.ai/inference/models/qwen/qwen3.8-27b-uncensored

In the collection: [Best Open Source LLM for Coding | Morse](https://trymorse.ai/inference/collections/coding)

## Each tier

| Tier | Input | Output | Cached input | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| TEE | $0.35 | $1.75 | $0.0625 | 256K | 64K |

## Settings

| Setting | Request field | Value |
| --- | --- | --- |
| Model | `model` | "qwen/qwen3.8-27b-uncensored" |
| Privacy tier | `provider.min_privacy` | "tee", the most private tier it's served on (TEE) |
| Reasoning effort | `reasoning_effort` | "low", "medium", or "xhigh" |
| Longest reply | `max_tokens` | up to 65,536 tokens |
| Context | - | 256K tokens of input and output together |
| Tools | `tools` | supports tool calls |
| Images | `image_url` | reads images in a message |

## Call it

Base URL: https://inference.trymorse.ai/v1. Read the key from the MORSE_API_KEY environment variable.

### Python

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://inference.trymorse.ai/v1",
    api_key=os.environ["MORSE_API_KEY"],
)

reply = client.chat.completions.create(
    model="qwen/qwen3.8-27b-uncensored",
    messages=[{"role": "user", "content": "Why is the sky blue?"}],
)
```

### TypeScript

```ts
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://inference.trymorse.ai/v1",
  apiKey: process.env.MORSE_API_KEY,
});

const reply = await client.chat.completions.create({
  model: "qwen/qwen3.8-27b-uncensored",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});
```

### cURL

```bash
curl https://inference.trymorse.ai/v1/chat/completions \
  -H "Authorization: Bearer $MORSE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3.8-27b-uncensored",
    "messages": [{ "role": "user", "content": "Why is the sky blue?" }]
  }'
```

## Questions

### Will Qwen3.8 27B Uncensored answer what other models refuse?

Yes. Qwen3.8 27B Uncensored is an uncensored open-weight model built on an Alibaba model, post-trained to stop refusing, so it answers what the original would decline.

### What is Qwen3.8 27B Uncensored's context length?

262,144 tokens (256K) of input and output together, and it writes up to 65,536 tokens in one reply.

### How much does the Qwen3.8 27B Uncensored API cost?

$0.35 per million input tokens, $1.75 per million output tokens, and $0.0625 per million cached input tokens, the same on every privacy tier and whichever provider runs the request.

### Can I use Qwen3.8 27B Uncensored in Claude Code, Codex, or the OpenAI SDK?

Yes. Point any OpenAI SDK at https://inference.trymorse.ai/v1 with your Morse API key and the model id qwen/qwen3.8-27b-uncensored. Morse also speaks Anthropic's Messages format, so Claude Code, Codex, Cline, and OpenCode work through it; each has a setup page in the docs. It supports tool calls.

### Who can read my prompts to Qwen3.8 27B Uncensored?

It depends on the privacy tier your request names. TEE: In the API, your request goes to a hardware enclave run by Phala, NEAR AI, or Tinfoil. We check that enclave's attestation, then our servers pass your request to it without storing it. Phala's enclave passes your request only to a model server that Phala runs itself, whose hardware we don't check. At NEAR AI, our connection ends inside NEAR AI's gateway, a hardware enclave whose attestation we check. That gateway reads your request and passes it on to the model. In the app's E2EE, NEAR AI's gateway cannot read your messages. At Tinfoil, our connection ends inside Tinfoil's router, a hardware enclave whose attestation we check. That router reads your request and passes it on to the model, whose enclave we don't check.
