# Qwen4 35B A3B Uncensored: open weights on Hugging Face and live on our API

_2026-12-03. We removed the refusals from Qwen4 35B A3B (35B mixture of experts, 3B active, 1M context, image input) the day after its release. On 100 held-out harmful requests it refuses 2 with thinking off and 1 with thinking on, down from 97 and 99, with MMLU unchanged. How we did it, how to run the weights, and how to call it on our API, where it runs on our own GPUs._

Qwen released **Qwen4 35B A3B** on December 2: a mixture of experts model with 35 billion parameters (3 billion
active per token), a 1M token context, image input and an Apache 2.0 license. Out of the box it refuses: 97 of our 100
harmful test requests with thinking off, and 99 with thinking on.

Our uncensored version refuses 2 and 1 of them, and gives a full answer to 63 and 66, where the original gave 2 and 1.
Its MMLU score and its rate of made-up answers are unchanged.

- **Weights:** [OpenUncensored/Qwen4-35B-A3B-Uncensored](https://huggingface.co/OpenUncensored/Qwen4-35B-A3B-Uncensored), in the same BF16 format and size as Qwen's release
- **On our API now:** [`qwen4-35b-a3b-uncensored`](https://openuncensored.com/models/qwen4-35b-a3b-uncensored) and [`qwen4-35b-a3b-uncensored-thinking`](https://openuncensored.com/models/qwen4-35b-a3b-uncensored-thinking), on our own GPUs, with
  the full 1M token context, tool calling and image input (setup below)

![Refusals and full answers on 100 held-out harmful requests. Thinking off: Qwen4 refuses 97 and answers 2 in full, Qwen4 Uncensored refuses 2 and answers 63 in full. Thinking on: 99 and 1 against 1 and 66](/blog/qwen4-35b-a3b-uncensored/results.png)

## From release spotted to weights in 66 minutes, and on the API 17 minutes later

All times US Eastern, December 3. Our model watcher checks Hugging Face every 30 minutes and starts this process by
itself when a major open model appears.

| Time | What happened |
|---|---|
| 9:14 pm | Watcher picks up Qwen4 35B A3B and starts the run |
| 9:23 pm | All 114 GB downloaded, on a CPU machine so no GPU waits for it |
| 9:37 pm | Refusal directions found, first round of edits screened on one B200 |
| 9:50 pm | Three candidate edits written into the weights and checked tensor by tensor |
| 9:59 pm | Full test of the original and all three candidates on vLLM |
| 10:20 pm | Upload to Hugging Face complete: 56 files, 114 GB |
| 10:37 pm | Live on the OpenUncensored API, on our own GPUs |

## How we removed the refusals

Qwen4 has an unusual layout, and it shapes the edit. Each of its 40 layers is either Gated DeltaNet linear attention or
Qwen Sparse Attention (three to one), followed by 256 experts and a shared expert, and the model carries four residual
streams instead of one: every layer reads a gated mix of them and writes its output back into all four.

**1. Find where refusals live.** We ran 128 harmful and 128 harmless prompts, with thinking off and on, and read the
average of the four streams at the last prompt token after each layer. The difference between the harmful and harmless
averages points along the direction the model uses to decide to refuse.

**2. Cover both modes.** With thinking off and with thinking on, Qwen4 refuses along different directions (cosine
similarity about 0.3). So each layer's edit removes both: a two dimensional refusal subspace instead of a single
direction.

**3. Edit every writer in the middle layers.** On layers 8 to 33 we edited every weight that writes into the residual
streams: the attention output (DeltaNet or sparse attention), the shared expert, and all 256 routed experts. Each one
loses its refusal component and has half of it flipped (strength 1.5), so the model is pushed away from refusing
rather than stopped short of it. Editing attention alone also removed refusals, but cost about 6 points of MMLU.

**4. Pick by measurement.** We screened 17 settings (attention only, attention and shared expert, all writers;
strengths 1.0 to 3.0; several layer ranges) for refusals and for drift on harmless prompts, then tested the best three
in full. A second round of stronger and wider edits gave no more full answers and lower MMLU, so this one shipped.

**5. Write it once, exactly.** Qwen4 ships in BF16, so the edit is exact: computed in 32 bit floats and rounded once.
78 tensors changed. Everything else, including the n-gram embedding table, the vision tower, the speculative decoding
(MTP) head and the router, is byte for byte Qwen's, which we checked tensor by tensor.

## Results

The original and the uncensored model, same prompts, same settings, on these exact files with vLLM. The 100 harmful
requests were held out: none was used to find the edit. Answers were sampled at Qwen's recommended settings, with up to
4,096 tokens with thinking off and 8,192 with thinking on, and graded by two judges from different model families. A
full answer is one both judges graded full.

| | Qwen4 35B A3B | **Uncensored** |
|---|---|---|
| Refusals, thinking off | 97 | **2** |
| Refusals, thinking on | 99 | **1** |
| Full answers, thinking off | 2 | **63** |
| Full answers, thinking on | 1 | **66** |
| Median answer length, thinking off (tokens) | 100 | **492** |
| MMLU, 300 questions | 70.0% | **71.3%** |
| SQuAD 2.0 made-up answers | 7 | 8 |

Refusals and full answers are out of the 100 harmful requests. Answers that ran past the token limit (14 with thinking
off, 19 with thinking on) were long guides and code cut off at the cap, and count as not full. The gains in full answers
are significant per prompt (exact McNemar test, p below 10⁻¹⁸ in both modes). The last two rows matter as much: MMLU
is unchanged, and on 100 SQuAD 2.0 questions whose answer is not in the text, the uncensored model makes up an answer
about as often as the original (8 times against 7).

## Run it yourself

It runs exactly like the original. This is how we serve it, with vLLM's Qwen4 image (`vllm/vllm-openai:qwen4`), on
one GPU per copy:

```bash
vllm serve OpenUncensored/Qwen4-35B-A3B-Uncensored --trust-remote-code \
  --enable-prefix-caching --max-model-len auto \
  --kv-cache-dtype nvfp4 --attention-config.indexer_kv_dtype fp8 \
  --enable-auto-tool-choice --tool-call-parser qwen4 --reasoning-parser qwen4 \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}'
```

Qwen4 reasons by default. Send `"reasoning_effort": "none"` to turn thinking off for a request, or `low`, `high`
or `xhigh` to set how much it thinks. SGLang and transformers work as they do for the original; see
[Qwen's model card](https://huggingface.co/Qwen/Qwen4-35B-A3B).

## Use it without GPUs

Qwen4 35B A3B Uncensored is live on the OpenUncensored API, on the same OpenAI compatible key as every other model
here, served from these exact weights on our own GPUs. Price: $0.12 per million input tokens and $0.60 per million output tokens.

- `qwen4-35b-a3b-uncensored` answers right away: thinking is off unless you send `reasoning_effort`
- `qwen4-35b-a3b-uncensored-thinking` reasons before it answers (`reasoning_effort` high)

Both take the full 1M token context, tool calls and images.

```bash
curl https://api.openuncensored.com/v1/chat/completions \
  -H "Authorization: Bearer $OU_API_KEY" -H "Content-Type: application/json" \
  -d '{"model": "qwen4-35b-a3b-uncensored", "messages": [{"role": "user", "content": "Explain SQL injection with an example."}]}'
```

```python
from openai import OpenAI
client = OpenAI(base_url="https://api.openuncensored.com/v1", api_key="ou-...")
r = client.chat.completions.create(model="qwen4-35b-a3b-uncensored-thinking", messages=[{"role": "user", "content": "Hello"}])
print(r.choices[0].message.content)
```

No account needed: buy a prepaid key at [openuncensored.com/credits](https://openuncensored.com/credits), or try it in the browser in the
[playground](https://openuncensored.com/chat?model=qwen4-35b-a3b-uncensored).

## Thanks

Credit for the model goes to the Qwen team, for releasing Qwen4 with open weights under Apache 2.0. The method builds
on refusal-direction research by Arditi et al. and the abliteration work of the open model community.