Blog

/

Guides

/

How to Run Qwen 4 35B Uncensored Locally: GGUF, Hardware and Benchmarks

How to Run Qwen 4 35B Uncensored Locally: GGUF, Hardware and Benchmarks

Qwen 4 35B Uncensored is our abliterated build of Alibaba's Qwen4-35B-A3B: the same 35B Mixture-of-Experts model that fits on a 24 GB GPU or a 36 GB Mac at 4-bit, with the refusal behavior taken out of the weights. This guide covers our GGUF builds and how much memory each one needs, then the exact setup for Atomic Chat and llama.cpp.

How to Run Qwen 4 35B Uncensored Locally: GGUF, Hardware and Benchmarks
Alex Shapiro
Alex Shapiro
Calendar icon

December 4, 2026

Table of Contents

In this guide, you'll learn:

  • What an uncensored Qwen 4 35B is and what the edit cost it
  • Which GGUF file to run and what hardware each one needs
  • How to run Qwen 4 35B uncensored locally with Atomic Chat or llama.cpp

This article is about the uncensored build. For the original model from Alibaba, see our guide to running Qwen 4 35B locally. For the wider category, see our roundup of the best uncensored LLMs to run locally.

For a 24 GB GPU, start with our AD-IQ4_XS: the file is 35.43 GB, but only 21.2 GB of it goes on the GPU. On a 32 GB Mac, use AD-IQ3_S at 31.09 GB.

What is Qwen 4 35B Uncensored?

Qwen 4 35B Uncensored is not a release from Alibaba. Alibaba's Qwen team published Qwen4-35B-A3B, the smaller sibling of the API-only Qwen4-Max, under Apache 2.0 on December 4, 2026. On the same day we edited the part of those weights that makes the model decline requests and published the result. The license allows it. Other publishers, including OpenUncensored and synthetic0x, released their own edits within hours.

The underlying model is unchanged:

SpecificationQwen 4 35B Uncensored
Total parameters35B, plus a 20B n-gram table and a 2B MTP layer
Active parameters per token3B
ArchitectureMoE, hybrid attention (Gated DeltaNet + Qwen Sparse Attention)
Experts256, with 8 routed and 1 shared active per token
Layers40: 30 Gated DeltaNet, 10 Qwen Sparse Attention
Context window1,048,576 tokens (1M)
ModalitiesText, image and video input
ReasoningThinking on by default at high effort, xhigh and low available, can be switched off
Multi-Token PredictionOne layer, kept in every GGUF file
Base modelQwen/Qwen4-35B-A3B, released December 4, 2026
LicenseApache 2.0, inherited from the base model

Per token it uses 3B of the 35B parameters, so it costs about as much compute as a 3B model. Of the 40 layers, 30 use Gated DeltaNet, a form of attention whose memory use stays the same no matter how long the conversation gets. Only the other 10 layers keep a regular KV cache, so long chats cost far less memory here than on a typical 35B model. Abliteration edits weights without retraining the model, so all of this carries over from the original.

Why does a 35 GB file fit on a 24 GB GPU?

Besides the 35B main model, the checkpoint holds a 20B lookup table of n-gram embeddings and a 2B Multi-Token Prediction layer. The table stores precomputed embeddings for frequent two- and three-token sequences. llama.cpp leaves it on disk and reads only the rows each token needs, so it takes no GPU memory. Here's where each part of our AD-IQ4_XS goes:

PartSize in AD-IQ4_XSWhere llama.cpp keeps it
Experts and attention21.16 GBGPU
N-gram table and token embeddings13.34 GBOn disk, read as needed
Multi-Token Prediction layerAbout 0.9 GBGPU, only with speculative decoding
Vision projector0.90 GB, separate fileGPU, only for image input

For text chat, only the first row has to sit on the GPU: 21.2 GB of the 35.43 GB file, which fits a 24 GB card with about 64K of context.

Qwen 4 35B benchmarks

Qwen's launch figure, from the model card, compares the 35B with Qwen3.8 Flash Next, Qwen 3.8 27B and Inkling 2 Mini. Here are seven of its twelve benchmarks, with each model's size and the size of our 4-bit GGUF in the first two rows:

BenchmarkQwen 4 35BQwen3.8 Flash NextQwen 3.8 27BInkling 2 Mini
Params
35B MoE (A3B)125B MoE (A6B)27B dense26.4B MoE (A3.4B)
4-bit GGUF size
38.58 GB94.53 GB17.12 GB16.53 GB
DeepSWE v1.1
Software engineering
61.858.742.248.2
Terminal Bench 4.1
Terminal agents
21.224.25.65.6
NL2Repo
Repo-level coding
51.748.142.341.8
APEX Agents v1.1
Agent tasks
59.061.047.550.9
AutomationBench-AA
Task automation
57.955.948.241.8
GPQA
Expert science
86.991.789.286.9
VideoIndex
Video understanding
52.951.451.944.0

On Qwen's full figure, the 35B and Qwen3.8 Flash Next each lead on six of the twelve benchmarks. A Flash Next-level model now runs on a single 24 GB card.

All scores in this table come from Qwen's figure, which takes the Terminal Bench 4.1 and AutomationBench-AA rows from Artificial Analysis and APEX Agents from the Mercor leaderboard. They are for the original weights: no uncensored build has published these benchmarks. Our own check of the edit is in the next section.

The direct rival here is Inkling 2 Mini, the 26.4B MoE that Thinking Machines released on November 20. On Qwen's full figure the 35B leads on eleven of the twelve benchmarks, including Terminal Bench 4.1 (21.2 vs 5.6), while GPQA is a tie at 86.9. Its uncensored build is in our guide to running Inkling 2 Mini uncensored locally.

Qwen 3.8 27B, the dense model in the same figure, beats the 35B only on GPQA (89.2 vs 86.9). On DeepSWE the 35B scores 61.8 against 42.2, which makes it the stronger pick for local coding. The community uncensored builds of the 27B are compared in our guide to running Qwen 3.8 27B uncensored locally.

What abliteration does to Qwen 4 35B

Researchers found that refusal in many aligned models is governed by a single direction in the model's residual stream, the internal state it passes from layer to layer. Arditi et al. showed this across 13 open-weight chat models at NeurIPS 2024: erase that one direction and the model stops declining harmful instructions, add it to harmless prompts and the model starts declining them.

To find the direction, you run the model over matched sets of harmful and harmless prompts, record the activations and take the difference in means between the two. Then you remove the model's ability to write to that direction by orthogonalizing the weight matrices against it. The edit uses no training data and no gradient descent, which is why uncensored builds of Qwen 4 35B appeared within hours of the release.

The word abliteration does not appear in that paper. It is a community coinage for what the authors called directional ablation.

Abliterated and uncensored point at the same files here. Abliterated names the method. Uncensored names the result and also covers models like Dolphin and Hermes that got there by training on extra instruction data. For the method on its own, across models and toolchains, see our explainer on what abliterated models are.

Qwen 4 35B refuses differently with thinking on and off: OpenUncensored found a separate refusal direction for each mode and removed both. We applied our edit to the original BF16 weights and tested it with thinking off, the mode all our refusal numbers below come from.

What abliteration costs Qwen 4 35B

We tested the edit on 20 harmful prompts and on 20 safe prompts from XSTest that only sound harmful, with thinking off. An automatic classifier read each answer and marked the refusals. The Uncensored column is our AD-Q4_K_M. In the refusal rows, Original is the BF16 model; in the match rows, it is our AD-Q4_K_M of the original weights:

CheckOriginalUncensored
Harmful prompts refused, of 20193
Safe prompts refused, of 2010
Top-1 match with the original BF1692.59%90.52%
KL divergence from the original BF160.042470.06546

Across our files, the edit costs about 2 to 3 percentage points of top-1 match from AD-IQ4_XS up, about 1 point on AD-IQ3_S and almost nothing on the 2-bit files, where quantization already costs more.

Other publishers measured the cost on benchmarks. OpenUncensored reports MMLU at 70.0% before its edit and 71.3% after, on 300 questions. It also found that an edit to the attention layers alone removed refusals but cost 6 MMLU points. synthetic0x reports slight gains on HumanEval and MMLU-Pro, with drops on LiveCodeBench (38.33% to 36.67%) and on a 100-question GPQA-Diamond subset (59 to 50). Our card does not cover thinking on, tool use or long context yet.

This model will answer requests that the original refuses. You are responsible for how you use it.

Qwen 4 35B Uncensored GGUF: we built it ourselves

We built the AtomicChat Qwen 4 35B Uncensored GGUF repository from Qwen's original BF16 weights: we applied the edit, then quantized the edited model with the same recipes as our original-weights builds. The repository holds eight builds from 23.14 to 59.99 GB, plus the BF16 and F16 vision projectors from our original-weights release. The edit also comes on its own as a 107 MB LoRA adapter for the unedited BF16. The multi-token prediction layer is inside every file. The AD prefix stands for Atomic Dynamic: each tensor gets its own type, calibrated with an importance matrix.

FileSizeKL divergenceTop-1 match
Q8_0 (2 parts)59.99 GB0.0509791.60%
AD-Q6_K (2 parts)54.14 GB0.0523791.54%
AD-Q5_K_M43.65 GB0.0557091.26%
AD-Q4_K_M38.58 GB0.0654690.52%
AD-IQ4_XS35.43 GB0.0751489.97%
AD-IQ3_S31.09 GB0.1092488.00%
AD-IQ2_XS24.23 GB0.3255179.62%
AD-IQ2_XXS23.14 GB0.4168876.79%

How to read the table: KL divergence measures how far the quant's next-token distribution is from the reference's. Lower values are better; zero means identical. Top-1 match is the percentage of positions where the quant selects the same next token as the reference. Here the reference is the original BF16 before the edit, so every number includes both the edit and the quantization.

We measured every number in the table ourselves, against the original BF16 on 87 held-out text windows of 4,096 tokens. On the refusal test, every file refused 0 to 5 of the 20 harmful prompts and none of the 20 safe ones. A repeat run of AD-IQ3_S refused 3 where the first run refused 2, so a one-refusal gap between files does not show which file refuses less. The per-file results are in our public metrics dataset.

Which uncensored Qwen 4 35B build should you run?

About 70 repositories published an uncensored, abliterated or Heretic Qwen 4 35B within hours of the release. Several of them are GGUF conversions of another publisher's edit. Besides ours, two are worth your download, for different reasons:

BuildMethodFilesVisionRuntime
AtomicChatRefusal direction removed from the BF16 weights8 GGUF builds from 23.14 to 59.99 GB; a 107 MB LoRABF16 and F16 projectorsllama.cpp b12969+, Atomic Chat
OpenUncensoredA separate refusal direction removed for thinking on and offBF16 safetensors; GGUF Q4_K_M, Q6_K and Q8_0; a 138 MB PEFT LoRABF16 projectorvLLM, Transformers, llama.cpp b12973
synthetic0xHeretic, ported to Qwen 420 GGUF quants from 20.67 to 59.40 GB, plus BF16BF16 projectorllama.cpp

AtomicChat has a file for every tier in the hardware table below, from 23.14 GB up. Its card measures each file against the original weights and counts refusals on each.

OpenUncensored is where to start if you serve the BF16 weights with vLLM or Transformers. It is the build that edits thinking on and off separately. Its card tests both modes on 100 harmful prompts, on the BF16 model and on its own GGUF files: on llama.cpp b12973 its Q4_K_M refused 1 prompt with thinking off and none with it on.

synthetic0x has the widest range of sizes: 20 GGUF quants from 20.67 GB, each listed with the memory it takes once loaded. Its KL divergence numbers compare each quant with synthetic0x's own BF16 edit, so they show the cost of quantization alone.

Why the refusal numbers don't line up

Each of these builds publishes a refusal rate. So does kitaniai, one of the first Heretic edits of Qwen 4 35B. No two of those numbers were measured the same way.

BuildRefusal ratePrompt setConditions
AtomicChat3 of 20 on AD-Q4_K_M, from 19 on the original BF1620 English harmful promptsAutomatic classifier, thinking off, answers up to 4,096 tokens
OpenUncensored2 of 100 with thinking off, from 97; 1 of 100 with thinking on, from 99100 held-out harmful prompts of their ownvLLM on BF16, Qwen's sampling, refusal phrase in the answer
synthetic0x10 of 50 with thinking off, from 47; 2 of 50 with thinking on, from 40JailbreakBench, 50 promptsBF16, temperature 0; 25 of 50 thinking answers unfinished at 768 tokens
kitaniai28 of 48 on the Q4_K_M, from 4748 held-out promptsRefusal keywords, thinking off, answers cut at 32 tokens

The rows differ in the prompt set, the number of prompts, who or what decides that an answer counts as a refusal and whether thinking was on. A response that opens with a warning and then delivers what was asked can count as a refusal under a keyword check like kitaniai's and as compliance under a judge model that reads the whole answer.

A refusal rate describes one publisher's own test, on their prompts and their judge. Run your own prompts against a build before you rely on it.

Qwen 4 35B uncensored hardware requirements

The system requirement to check is memory. The table below shows the memory your GPU can use: VRAM on a graphics card, or the share of unified memory macOS gives the GPU, about two thirds up to 32 GB and about three quarters from 36 GB. The n-gram table stays on disk, so the On the GPU column is what has to fit. The figures come from llama.cpp's own memory planner, run on our files:

Available GPU memoryRecommended GGUF quantFile sizeOn the GPULeaves room for
12 GBAD-IQ2_XS24.23 GB11.93 GBShort context, with a few expert layers in system RAM
16 GBAD-IQ2_XS24.23 GB11.93 GBAround 96K of context
22.9 GB (a 32 GB Mac)AD-IQ3_S31.09 GB18.10 GBAround 96K of context
24 GBAD-IQ4_XS35.43 GB21.16 GBAround 64K of context
32 GBAD-Q5_K_M43.65 GB26.83 GBAround 128K of context
48 GB or moreQ8_059.99 GB36.77 GBAround 384K of context

Note: if you are choosing between two neighbouring files, take the larger one. It usually costs a few gigabytes more on the GPU and picks the wrong token less often, especially below AD-IQ3_S, where top-1 match falls from 88.00% to under 80%.

How much memory does the context window add?

The figures above only cover the model weights. On top of that, the engine allocates a KV cache: the longer you chat, the more context the model holds in memory and the more gigabytes that takes. The same goes for pasting big documents or codebases into the conversation.

The 30 Gated DeltaNet layers keep a fixed state of 63 MiB in total, whatever the length of the chat. Measured with llama.cpp's memory planner, the other 10 layers keep 25 KiB of cache per token, plus a compute buffer of about 0.5 GB that stays flat up to 128K before it grows:

Context lengthKV cache and stateWith the compute buffer
8K (typical chat)~0.28 GB~0.81 GB
32K (long document)~0.90 GB~1.45 GB
128K (large codebase)~3.42 GB~4.03 GB
256K~6.78 GB~7.91 GB
1M (maximum native context)~26.9 GB~31.2 GB

The full 1M window fits a 64 GB Mac with AD-IQ3_S or a 96 GB Mac with Q8_0.

What hardware can run Qwen 4 35B uncensored?

  • RTX 3090 / RTX 4090 (24 GB VRAM): can run AD-IQ4_XS entirely in VRAM with room for about 64K of context, or AD-Q4_K_M with about 16K.
  • RTX 5090 (32 GB VRAM): can run AD-Q5_K_M entirely in VRAM with around 128K of context.
  • 16 GB GPUs (RTX 4060 Ti, RTX 5060 Ti): can run AD-IQ2_XS entirely on the GPU with around 96K of context. A larger file also runs with some expert layers kept in system RAM. On a MoE that slows generation less than on a dense model: each token reads only its 8 routed experts and the shared one.
  • 12 GB GPUs (RTX 3060, RTX 4070): can run AD-IQ2_XS with a few expert layers in system RAM and a short context.
  • 8 GB GPUs (RTX 4060, RTX 5060): can run these files only with most or all expert layers in system RAM. A smaller model from our uncensored roundup fits a card this size better.
  • Macs with 24-32 GB (MacBook Air, MacBook Pro): can run AD-IQ2_XS with around 128K of context on 24 GB or AD-IQ3_S with around 96K on 32 GB. A 16 GB Mac cannot run any of these files.
  • Macs with 36-48 GB (MacBook Pro M4/M5 Max): can run AD-Q4_K_M with around 128K of context on 36 GB and AD-Q6_K with around 192K on 48 GB.
  • Macs with 64 GB or more (MacBook Pro M5 Max, Mac Studio): can run Q8_0 with around 384K of context. On Apple Silicon the GGUF builds run natively through Metal; see our GGUF vs MLX guide if you're choosing between formats.
  • No GPU, 16 GB of RAM (Linux): can run AD-IQ2_XS on the CPU with the n-gram table read from the SSD, using the command on our model card. Under a 16 GB memory limit it peaked at 13.93 GB of RAM with a 4,096-token context; our model card has the setup.
  • Phones: no. The smallest file is 23.14 GB.

We have not timed the edited files. Each one is the same size as the original-weights file with the same name. On an M5 Max with 64 GB, our original-weights AD-Q4_K_M generated about 90 tokens per second on a short prompt and 84 at 32K of context. The full measurements are in our Qwen 4 35B guide.

How to run Qwen 4 35B uncensored locally with Atomic Chat

Atomic Chat is a free, open-source local AI app we built. It includes a Hugging Face model browser and a built-in chat, with no manual llama.cpp build required. From version 2.6.1, Atomic Chat runs Qwen 4 35B once its Llama.cpp engine updates to b12973, with no app update: the app installs a new engine only when you confirm it, so click Check engine updates under Inference engines.

Here's how to run Qwen 4 35B uncensored with Atomic Chat:

Step 1: Install Atomic Chat

Download Atomic Chat from atomic.chat and install the build for your platform:

  • macOS: a universal .dmg (Intel and Apple Silicon), macOS 13.6 or later
  • Windows: an .exe installer for x64
  • Linux: a self-contained .AppImage for x86_64, which needs no root

On Linux, mark the AppImage executable with chmod +x and run it directly. If the app asks about FUSE on first launch, install it with sudo apt install fuse libfuse2 on Debian or Ubuntu, or sudo dnf install fuse fuse-libs on Fedora.

Step 2: Find the uncensored Qwen 4 35B GGUF

Open Models Hub from the icon rail on the left and search for:

AtomicChat/Qwen4-35B-A3B-Uncensored-GGUF

The catalog is backed by Hugging Face, so you'll also see uncensored builds from other publishers. Choose the result published by AtomicChat, then expand the Download Options picker to list the available quantizations.

Step 3: Pick a quant for your memory

Use the hardware table above. For the most common configurations:

  • 16 GB GPU: download AD-IQ2_XS.
  • 24 GB GPU: download AD-IQ4_XS.
  • 32 GB Mac: download AD-IQ3_S.

The picker's sizes count the whole file, n-gram table included, so a build can look too big for your GPU and still fit: check the On the GPU column of the hardware table instead. Select the largest quant that fits with context headroom. If you're not sure what the quant names mean, see our guide to what GGUF is and how quantization works.

Step 4: Set the context, thinking and sampling

The context window lives in the chat's Run settings panel: click the sliders icon in the top-right corner of the chat. Fit to device memory is on by default, so the engine picks the largest window your memory holds. To set the window yourself, turn Fit to device memory off and start with 8,192 tokens for chat or 32,768 for code and document work. Raise it toward the figure in the hardware table when the workload requires it.

Turn on Advanced settings in the same panel for the load options:

  • GPU Layers: -1 offloads every layer. Use it when the On the GPU figure for your build fits your VRAM or the GPU share of unified memory.
  • Keep all Experts in CPU and Number of MoE weights in the CPU: these move expert weights off the GPU so a build larger than your VRAM still loads, for example AD-IQ2_XS on a 12 GB GPU. Expect slower generation: the GPU waits for the slower system-RAM layers on every token.

Changing Context Size, GPU Layers or the MoE offload controls restarts the model, so set them before a long conversation.

Thinking is on by default at high effort, with xhigh and low available. Pick the level from the model pill next to Send.

Sampling sits in the same Run settings panel. For thinking mode, Qwen recommends temperature 1.0, top_p 0.95 and top_k 20; with thinking off, temperature 0.7, top_p 0.80 and a presence penalty of 1.5. These settings are saved on the assistant, your chat profile, not on the model, so they stay the same when you switch models.

Step 5: Chat locally

After the download completes, Atomic Chat loads the model and opens it in the built-in chat. Send it a prompt the original declines, to check that the build you downloaded is the edited one. The weights and your prompts stay on your machine.

Atomic Chat also exposes an OpenAI-compatible API server at http://localhost:1337/v1. Any tool that speaks the OpenAI API, including coding agents like Claude Code and Cline, can use the local model as a drop-in replacement for a cloud one.

How to run Qwen 4 35B uncensored with llama.cpp

You might prefer to run the model directly through llama.cpp if you need:

  • An OpenAI-compatible local endpoint with explicit flags
  • Precise control over GPU offload
  • Image input through the vision projector

Upstream llama.cpp has supported Qwen 4 35B since release b12969 on December 3, 2026, so our GGUFs load on any build from b12969 up with no patches. Use b12973 or newer, the build Atomic Chat ships, so the n-gram table stays off the GPU on a Mac.

Step 1: Build current llama.cpp

For NVIDIA CUDA:

git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=ON
cmake --build build -j --target llama-cli llama-server llama-mtmd-cli llama-gguf-split

For Apple Silicon, Metal is enabled by default:

cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j --target llama-cli llama-server llama-mtmd-cli llama-gguf-split

Step 2: Run the model

The following command downloads AD-IQ4_XS from Hugging Face, offloads all layers to the GPU, applies Qwen's recommended sampling for thinking mode and limits the context to 8K:

./build/bin/llama-cli \
  -hf AtomicChat/Qwen4-35B-A3B-Uncensored-GGUF:AD-IQ4_XS \
  --jinja \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 \
  -ngl 99 \
  -c 8192

Replace AD-IQ4_XS with another quant name if your system has a different memory capacity. On a card where the file does not fit, add --n-cpu-moe 8 to keep the expert weights of the first 8 layers in system RAM. Raise the number until the model loads.

The MTP layer is inside every file. To use it for speculative decoding, add --spec-type draft-mtp --spec-draft-n-max 1; our Qwen 4 35B guide has the speedup we measured on the original weights.

Step 3: Expose a local OpenAI-compatible API

Replace llama-cli with llama-server:

./build/bin/llama-server \
  -hf AtomicChat/Qwen4-35B-A3B-Uncensored-GGUF:AD-IQ4_XS \
  --alias qwen4-35b-uncensored \
  --jinja \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 \
  -ngl 99 \
  -c 8192 \
  --host 127.0.0.1 --port 8080

Test it with:

curl http://127.0.0.1:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{ "model": "qwen4-35b-uncensored", "messages": [ { "role": "user", "content": "Explain what an n-gram embedding table does." } ], "chat_template_kwargs": { "enable_thinking": false }, "temperature": 0.7, "top_p": 0.8, "presence_penalty": 1.5 }'

This request switches thinking off with Qwen's sampling for that mode; our refusal numbers come from the same mode. A reasoning_effort of off on its own fails here: llama-server tells the template that thinking is on unless the request sets enable_thinking to false. To keep thinking on, send a reasoning_effort of xhigh, high or low in chat_template_kwargs instead. Bind the server to 127.0.0.1 unless other machines on your network need access.

Running vision through llama.cpp

Image input needs one extra file, the vision projector. Download it from our repository next to the quant and pass both:

hf download AtomicChat/Qwen4-35B-A3B-Uncensored-GGUF \
  Qwen4-35B-A3B-Uncensored-AD-IQ4_XS.gguf \
  mmproj-Qwen4-35B-A3B-F16.gguf --local-dir .
./build/bin/llama-mtmd-cli \
  -m Qwen4-35B-A3B-Uncensored-AD-IQ4_XS.gguf \
  --mmproj mmproj-Qwen4-35B-A3B-F16.gguf \
  --image your-photo.jpg \
  --jinja -ngl 99 -c 8192 \
  -p "What is in this image?"

llama-server takes the same --mmproj flag. The projectors come from our original-weights release, where image input worked on AD-Q4_K_M. We have not tested image input on the edited files yet.

Applying the LoRA adapter to the BF16 weights

The adapter holds the whole edit in 107 MB. It is for people who already run the unedited BF16 from our original-weights repository. Our GGUF files above already include the edit, so do not add the adapter to them. We tested it on the BF16 merged into one file, so merge the three parts first, which takes another 113 GB of disk. Then load the adapter at the strength our files were built with:

./build/bin/llama-gguf-split --merge \
  Qwen4-35B-A3B-BF16-00001-of-00003.gguf Qwen4-35B-A3B-BF16.gguf
./build/bin/llama-server \
  -m Qwen4-35B-A3B-BF16.gguf \
  --lora-scaled Qwen4-35B-A3B-Uncensored-LoRA.gguf:1.1 \
  --jinja -c 32768 -ngl 99

Running it with Ollama or LM Studio

Ollama publishes only the original model: ollama run qwen4:35b-a3b pulls Qwen's weights, a 36-37 GB download. The official Ollama library has no uncensored Qwen 4 tag. LM Studio lists the original weights through lmstudio-community's GGUF builds. We have not tested our files in either app.

Troubleshooting

The model still refuses

The edit lowers refusals but does not remove all of them: our AD-Q4_K_M still declined 3 of 20 harmful prompts. Check three things:

  • Switch thinking off. Our refusal numbers were measured that way. In llama-server, send enable_thinking set to false, as in the curl test above. OpenUncensored found a separate refusal direction for thinking on, so a prompt can pass in one mode and get declined in the other.
  • Confirm you loaded the build you meant to load. The original weights and the edited ones sit under similar names on Hugging Face and in the app catalog.
  • If you use the adapter, check that llama-server printed the LoRA file while loading and that it sits on the unedited BF16.

The build you downloaded is not what it claims

The file fails to load, or the model declines the same prompts as the original. Some uncensored repositories are GGUF conversions of another publisher's edit. Placeholder repositories already use the Qwen 4 27B name, although Qwen has not published those weights. Before downloading from an unfamiliar repository, check that the model card describes an actual method, that the file list holds GGUF files of a plausible size and that the publisher is one you can trace. A 4-bit Qwen 4 35B file weighs 35 to 39 GB.

The model does not fit, although the hardware table says it should

The load fails to allocate, or it fills your RAM. llama.cpp leaves the n-gram table on disk only when it reads the table from the memory-mapped file on demand, which needs build b12973 or newer with mmap on. Update llama.cpp, remove --load-mode none from your command and leave --lazy-mode at auto: --lazy-mode off reads the whole table into RAM.

Atomic Chat says a build that fits might not fit

The app's fit check counts the whole file, n-gram table included, against your memory. A build that fits by the hardware table can show Might fit or Won't fit in Models Hub, or a yellow or red dot next to the model. Go by the On the GPU column instead: the n-gram table stays on disk and needs no GPU memory.

You run out of memory at long context

The weights fit, then the model fails to load after you raise the context, or llama-server fails to start at a large -c value. That's the KV cache and compute buffer growing past your headroom. In Atomic Chat, turn Fit to device memory back on; in llama.cpp, lower -c. If you need more room, step one quant down: at 25 KiB of cache per token, every gigabyte you free adds about 39K of context.

Frequently asked questions

The questions that come up most often about running an uncensored Qwen 4 35B on your own hardware.

What is the difference between abliterated and uncensored models?

Abliterated describes how the model was changed: one direction in the weights, the one that governs refusal, was removed. Uncensored describes the result. It also covers models that got there through fine-tuning rather than weight editing. Every Qwen 4 35B build in this guide is abliterated, so here both words point at the same files.

Is Qwen 4 35B Uncensored an official Qwen release?

No. Alibaba's Qwen team published Qwen4-35B-A3B under Apache 2.0. The uncensored versions are edits of those weights made by other publishers, including us. Qwen neither produced nor endorsed them.

How much VRAM does Qwen 4 35B uncensored need?

About 23 GB at 8K of context for our AD-IQ4_XS: 21.2 GB of weights plus the KV cache, the compute buffer and the 1 GB llama.cpp keeps free. The 20B n-gram table stays on disk. A 24 GB GPU runs this file with around 64K of context. A 16 GB GPU runs AD-IQ2_XS with around 96K.

Can I run Qwen 4 35B uncensored on a 32GB Mac?

Yes. macOS gives the GPU about 22.9 GB of a 32 GB machine. Our AD-IQ3_S puts 18.10 GB on the GPU and fits with around 96K of context. A 4-bit build needs about 23 GB at 8K, just over that budget. For other models that fit this hardware, see our best local LLM for 32GB roundup.

Which uncensored Qwen 4 35B build is best?

Ours, if you run Atomic Chat or llama.cpp: it has a file for every memory tier and a card that measures each one against the original weights. If you serve the BF16 weights with vLLM or Transformers, take OpenUncensored's build, which edits thinking on and off separately. synthetic0x has the most sizes, 20 GGUF quants from 20.67 GB.

Do abliterated models get dumber?

A little. Against our builds of the original weights, our edit costs about 2 to 3 percentage points of top-1 match from AD-IQ4_XS up. OpenUncensored reports MMLU at 70.0% before and 71.3% after on 300 questions. synthetic0x reports drops on LiveCodeBench (38.33% to 36.67%) and on a 100-question GPQA-Diamond subset (59 to 50). No uncensored build has published DeepSWE or the other agent benchmarks from Qwen's figure, so test the build on your own work before you rely on it.

Is Qwen 4 35B uncensored free for commercial use?

Yes. Qwen4-35B-A3B ships under Apache 2.0 and the uncensored builds inherit it: commercial use, modification and redistribution are all allowed. What you generate with the model is your responsibility and local law still applies.

Does Qwen 4 35B uncensored support vision locally?

Yes, through llama.cpp: pass one of the two projectors in our repository with --mmproj. With the F16 projector, image input worked on our original-weights AD-Q4_K_M. We have not tested image input on the edited files yet.

Does Qwen 4 35B uncensored work with Ollama or LM Studio?

Not through their official catalogs: Ollama's qwen4 tags and lmstudio-community's GGUF builds carry the original model. For the uncensored build, use Atomic Chat or llama.cpp b12969 or newer with our GGUF files.

Is there a Qwen 4 27B uncensored?

No. Qwen has not published open weights for a Qwen 4 27B, so no uncensored build of it exists. The Qwen4-27B-Uncensored repositories on Hugging Face are empty placeholders for that release: they hold a model card and no weights. Every Qwen 4 uncensored build you can run locally is an edit of the 35B.

Where can I download Qwen 4 35B Uncensored?

The uncensored GGUF files, the LoRA adapter and the vision projectors are in our AtomicChat/Qwen4-35B-A3B-Uncensored-GGUF repository on Hugging Face. Qwen does not publish an uncensored version.

Bottom line

If you want an uncensored Qwen 4 35B and you have a 24 GB card, download our AD-IQ4_XS through Atomic Chat and start at 8K of context: its card shows what the edit removed and what it cost. On a 32 GB Mac, take AD-IQ3_S. From 36 GB of unified memory, take AD-Q4_K_M. If you serve BF16 weights with vLLM, start with OpenUncensored instead. The llama.cpp route serves the same files behind a local OpenAI-compatible API.

Key takeaways:

  • Qwen 4 35B Uncensored is our edit of Alibaba's Apache 2.0 weights. Qwen did not publish it.
  • The 4-bit AD-IQ4_XS file is 35.43 GB, but only 21.2 GB of it has to sit on the GPU.
  • With thinking off, refusals on 20 harmful prompts fell from 19 to 3.
  • The edit costs about 2 to 3 percentage points of top-1 match on the 4-bit and larger files.
  • Refusal rates from different publishers are measured on different prompt sets. They cannot be ranked against each other.
How to Run Qwen 4 35B Locally: GGUF, Hardware and Benchmarks

How to Run Qwen 4 35B Locally: GGUF, Hardware and Benchmarks

Qwen 4 35B is a 57B-parameter download, but only 23 GB of it has to sit on the GPU at 4-bit. Pick the GGUF for your GPU or Mac and run it locally.

12/4/26

20 min

MiniMax M4: Benchmarks, Open Weights and Pricing

MiniMax M4: Benchmarks, Open Weights and Pricing

See MiniMax M4 benchmarks and API pricing, when the open weights may reach Hugging Face and how much memory M4 needs to run locally. Use it in Atomic Chat.

12/3/26

13 min

MiniMax M4 Alternatives: Open-Weight and Local Models

MiniMax M4 Alternatives: Open-Weight and Local Models

MiniMax M4 alternatives you can download today: Kimi K3.1 Pro, Amazon Ergo and DeepSeek for servers, plus models that run on a 32 GB Mac or a 24 GB GPU.

12/3/26

12 min

Heretic AI: What It Is and How to Run Heretic Models

Heretic AI: What It Is and How to Run Heretic Models

What Heretic AI does to a model, what happened after the archive, which Heretic models to run and how to run them locally.

12/3/26

15 min