# Qwen3.8 27B Uncensored in Claude Code

Run Qwen3.8 27B Uncensored in Claude Code on Morse's private API: the lines to set, a 256K-token window, TEE tier, $0.35 / $1.75 per 1M tokens.

Page: https://trymorse.ai/inference/models/qwen/qwen3.8-27b-uncensored/claude-code

To run Qwen in Claude Code, set Claude Code's `ANTHROPIC_BASE_URL` to Morse and name `qwen/qwen3.8-27b-uncensored` as its model. Qwen3.8 27B Uncensored is an uncensored build of Alibaba's Qwen3.8 27B. It takes Claude Code's tool calls, reasons, and reads images. Morse serves it privately on the TEE tier, with zero data retention.

| | |
|---|---|
| Model id | `qwen/qwen3.8-27b-uncensored` |
| Made by | Alibaba |
| Context | 262,144 tokens |
| Longest response | 65,536 tokens |
| Tiers | TEE |
| Price | $0.35 input / $1.75 output per 1M tokens |
| Reasoning | low, medium, and xhigh |
| Tool calls | Yes |
| Images | Reads images |

## Set it up

1. Get a key: Create an API key in the Morse console. New keys start with `sk_morse_`.
2. Set the environment: Set the lines above in the shell you start Claude Code from, or in your shell's profile.
3. Start Claude Code: Run `claude` in your project's folder.

```
export MORSE_API_KEY="sk_morse_..."
export ANTHROPIC_BASE_URL=https://inference.trymorse.ai
export ANTHROPIC_AUTH_TOKEN="$MORSE_API_KEY"
export ANTHROPIC_MODEL=qwen/qwen3.8-27b-uncensored
export ANTHROPIC_DEFAULT_OPUS_MODEL=qwen/qwen3.8-27b-uncensored
export ANTHROPIC_DEFAULT_SONNET_MODEL=qwen/qwen3.8-27b-uncensored
export ANTHROPIC_DEFAULT_HAIKU_MODEL=qwen/qwen3.8-27b-uncensored
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=32000
export CLAUDE_CODE_AUTO_COMPACT_WINDOW=200000
```

## What's different with this model

- All four model lines name Qwen3.8 27B Uncensored, so Claude Code's background work and sub-agents run on it too.
- Claude Code compacts at 200,000 tokens, short of the model's 262,144-token window, as each late turn resends the whole conversation.
- `CLAUDE_CODE_MAX_OUTPUT_TOKENS` is 32,000, and the model writes up to 65,536 tokens in one response.
- It takes three reasoning efforts: low, medium, and xhigh.
- It reads images, so a screenshot you paste into Claude Code reaches the model.
- It runs on the TEE tier only, where a request is read only by the provider's enclave and model.

## Check it works

Ask Claude Code to change one line in a file. A finished edit shows that Morse took the request and its tool calls.

## What people use it for

- Cybersecurity: Test, monitor, and defend your systems without safety filters blocking real security work.
- Agent security: Stress-test your AI agents to identify prompt injection, jailbreak, and tool misuse vulnerabilities.

## More

- [Qwen3.8 27B Uncensored API](https://trymorse.ai/inference/models/qwen/qwen3.8-27b-uncensored)
- [Claude Code setup guide](https://trymorse.ai/inference/docs/tools/claude-code)
- [Qwen3.8 27B Uncensored in Cursor](https://trymorse.ai/inference/models/qwen/qwen3.8-27b-uncensored/cursor)
