Skip to content

OpenUncensored

Qwen4-35B-A3B-Uncensored

A 56B mixture-of-experts (about 3B active) model by OpenUncensored that uses tools such as web search, can think before answering and reads images.

Tools Thinking Vision
Downloads
317,835 downloads last month
Likes
16 likes
Uploaded
Uploaded 4 Dec 2026

Get it in Zero1LLM

Then open Explore in the app and search for:

Parameters
56,823,261,843 (56.8B)
Context length
1,048,576 tokens
Architecture
qwen4exp
Task
image-text-to-text
Licence
apache-2.0
Released
4 Dec 2026
Last updated
4 Dec 2026

This is bartowski's upload of OpenUncensored/Qwen4-35B-A3B-Uncensored, which is based on Qwen/Qwen4-35B-A3B.

Read the licence: apache-2.0

Languages listed in the model card

  • English

Tools

Uses tools, so web search and the browser work best with it.

Thinking

Can think step by step before it answers.

Vision

Reads images: photos, screenshots, scanned pages.

Each version is the same model stored at a different precision: smaller files use less memory and lose a little quality.

VersionFile sizeFileSHA-256
IQ1_M21.80 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ1_M.gguf
IQ2_XS23.59 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ2_XS.gguf
IQ2_S24.55 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ2_S.gguf
IQ2_M25.52 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ2_M.gguf
Q2_K26.32 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q2_K.gguf
IQ3_XXS27.92 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ3_XXS.gguf
IQ3_XS28.62 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ3_XS.gguf
Q3_K_S28.62 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q3_K_S.gguf
Show all 25 versions
VersionFile sizeFileSHA-256
Q3_K_M29.72 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q3_K_M.gguf
Q3_K_L30.54 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q3_K_L.gguf
IQ3_M31.46 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ3_M.gguf
Q4_032.17 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q4_0.gguf
IQ4_XS32.23 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ4_XS.gguf
IQ4_NL34.75 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-IQ4_NL.gguf
Q4_135.51 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q4_1.gguf
Q4_K_S35.79 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q4_K_S.gguf
Q4_K_M37.31 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q4_K_M.gguf
Q4_K_L39.03 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q4_K_L.gguf
Q5_K_S41.24 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q5_K_S.gguf
Q5_K_M43.15 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q5_K_M.gguf
Q6_K_S51.97 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q6_K_S.gguf
Q6_K53.34 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q6_K.gguf
Q6_K_L54.90 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q6_K_L-00001-of-00002.gguf+1 partsPer part
Q8_060.00 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-Q8_0-00001-of-00002.gguf+1 partsPer part
BF16112.81 GBOpenUncensored_Qwen4-35B-A3B-Uncensored-bf16-00001-of-00004.gguf+3 partsPer part

Vision add-on (needed to read images): mmproj-OpenUncensored_Qwen4-35B-A3B-Uncensored-f16.gguf, 899.3 MB

Model class
Qwen4MoeForConditionalGeneration
Model type
qwen4_moe_text
Layers
40
Hidden size
2048
Attention heads
16
Key/value heads
2
Experts
256 (8 used per token)
Vocabulary
248,320
Context length
1,048,576 tokens
Weights
bfloat16
Vision encoder
Included (vision_config)

The sampling settings the model's makers ship as its defaults.

Temperature
1
Top P
0.95
Top K
20

Qwen4 35B A3B Uncensored (OpenUncensored)

Available now on the OpenUncensored API, served from these exact weights on our own GPUs: qwen4-35b-a3b-uncensored (thinking off by default) and qwen4-35b-a3b-uncensored-thinking, with the full 1M context, tool calling and image input.

Qwen/Qwen4-35B-A3B (35B MoE, 3B active, 1M context, vision) with its refusals removed by directional ablation.

Same format and size as the original BF16 release. 78 tensors change: the residual writers of layers 8 to 33. Everything else (n-gram embedding table, vision tower, MTP head, router, gated-residual mixers, layers 0 to 7 and 34 to 39) is byte-identical to Qwen's files.

Results

Stock Qwen4 35B A3B and this model, same prompts, same settings, measured on these exact files with vLLM (vllm/vllm-openai:qwen4). Harmful prompts are 100 held-out requests (none were used to find the edit), sampled at the card's settings (thinking off: temperature 0.7, top-p 0.8, top-k 20, presence penalty 1.5, up to 4,096 tokens; thinking on: temperature 1.0, top-p 0.95, top-k 20, up to 8,192 tokens). Answers are graded by two judges from different model families (DeepSeek and GLM). Only finished answers are graded.

Qwen4 35B A3BThis model
Refusals, thinking off (refusal phrase in the answer)97 / 1002 / 100
Refusals, thinking on99 / 1001 / 100
Full answers, thinking off (both judges agree)2 / 7263 / 72
Full answers, thinking on (both judges agree)1 / 7266 / 72
MMLU, 300 questions, thinking off, greedy70.0%71.3%
SQuAD 2.0 unanswerable questions answered anyway (lower is better)7 / 1008 / 100

The gains in full answers are significant per prompt (exact McNemar test, p < 1e-18 in both modes). MMLU (p = 0.65) and SQuAD 2.0 fabrication (p = 1.0) are unchanged. Answers that hit the token limit are long, finished-looking code or guides cut off at the cap, not repetition loops.

How it was made

  1. Refusal directions. Qwen4 keeps 4 residual streams (gated residual, width 2,048 each). Every attention, DeltaNet and MoE branch writes one 2,048-wide output into all 4 streams with scalar weights. We read the mean of the 4 streams at the last prompt token after each of the 40 layers, for 128 harmful and 128 harmless prompts, with thinking off and on, and took the difference of means per layer and mode with the harmless mean projected out. The two modes refuse along different directions (cosine about 0.3), so each layer gets a rank-2 basis B that covers both.
  2. Where to edit. All residual writers on layers 8 to 33: the DeltaNet linear_attn.out_proj or sparse attention self_attn.o_proj, the shared expert down_proj, and the fused routed experts down_proj (all 256 experts). W' = W − 1.5 B Bᵀ W, which removes the refusal component each writer adds and flips half of it. We picked this from 17 screened settings (attention only, attention plus shared expert, all writers; strengths 1.0 to 3.0; several layer ranges) as the best trade between refusals and drift on harmless prompts. Attention-only edits also removed refusals but cost 6 MMLU points.
  3. Writing it in. The edit is computed in float32 and rounded once to BF16. For every edited tensor the refusal component is 0.50x the original (target |1 − 1.5|, error under 0.0002), the change outside B is BF16 rounding only (under 0.17%), and every untouched tensor is byte-identical, checked tensor by tensor.

edit.safetensors holds B and the strength for each of the 78 edited tensors, so the edit can be re-applied to the original weights or studied.

Use it

It runs exactly like the original. We served it on one B200 with vLLM:

vllm serve OpenUncensored/Qwen4-35B-A3B-Uncensored --trust-remote-code \
  --max-model-len 32768 --enable-prefix-caching --reasoning-parser qwen4

Qwen4 reasons by default. To turn thinking off for a request, send "chat_template_kwargs": {"reasoning_effort": "off"}. SGLang, transformers (5.26 or later), llama.cpp and MLX work as they do for the original; see the Qwen4 35B A3B model card.

Caveats

  • The routed experts are edited, so quantizing them to 4 bits may weaken the edit. We have not measured refusals after quantization yet.
  • The MTP head is unchanged. Speculative decoding works, but acceptance on the edited weights was not measured.
  • The model answers more requests, not more of everything: it still declines some, and some answers swap in a safer version of the task (graded PARTIAL by one judge).
  • MMLU here asks for a letter only. About 15% of answers in both models explain instead and count as wrong, so read the MMLU numbers as a paired comparison, not a leaderboard score.

Use it without GPUs

OpenUncensored serves this model behind an OpenAI-compatible API, from these exact weights on our own GPUs, along with the other uncensored open-weight models it hosts. qwen4-35b-a3b-uncensored answers with thinking off unless you send reasoning_effort (low, high or xhigh); qwen4-35b-a3b-uncensored-thinking reasons first. No account needed: buy a prepaid key at openuncensored.com/credits.

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."}]
  }'

Follow us on X: https://x.com/OpenUncensored

License

Apache 2.0, the same as the original model.

Made by OpenUncensored.

On Hugging Face

Everything on this page comes from these pages and is refreshed every few hours; Hugging Face always has the latest.