Gemma 4 Abliterated: 12B, 26B MoE vs 31B Dense Guide
Gemma 4 abliterated builds differ by publisher. Compare the 12B, 26B-A4B MoE and 31B dense builds by refusal rate and KL divergence, and run one with Ollama.
Key points
- Refusal-removed Gemma 4 builds span three sizes: 12B, 26B-A4B MoE and 31B dense.
- Publishers differ in editing scope and method, so refusal rates and KL diverge.
- Which build fits you depends on whether you prioritize low refusals or original quality.
Contents
- What is Gemma 4?
- Why does Gemma 4 refuse, and what is abliteration?
- Which abliterated Gemma 4 builds are available?
- Which 31B builds are available?
- Which 26B-A4B builds are available?
- Which 12B builds are available?
- Which E4B builds are available?
- Which size should you run: E4B, 12B, 26B-A4B or 31B?
- How do you run an abliterated Gemma 4 locally?
- How do you run it with Ollama?
- What should you check before using an abliterated Gemma 4?
- What is Deepent Research?
- Frequently asked questions
- Disclaimer
Gemma 4 abliterated builds are community edits of Google's Gemma 4 that remove its refusals, and for local use the practical choices are the 12B, 26B-A4B mixture-of-experts (MoE), and 31B dense models. Google released Gemma 4 on April 2, 2026 under the Apache 2.0 license, and several publishers now offer uncensored versions of each. Most builds report cutting refusals from roughly 99 to 100 out of 100 test prompts to 11 or fewer, while keeping KL divergence low enough to preserve most of the original model's ability.
The sizes behave differently: the MoE model trades some raw quality for speed, while the dense model is the quality pick. Editing tool, edited layers, and published numbers also vary by publisher. This guide covers what Gemma 4 is, how abliteration works, and how the best-known 12B, 26B-A4B, 31B, and E4B builds compare, so you can match one to your hardware.
What is Gemma 4?#
Gemma 4 is Google's family of open-weight multimodal models, released on April 2, 2026 under the Apache 2.0 license, and it comes in five sizes. For local use, three matter most: the 12B model for 8–12 GB GPUs, the 26B-A4B MoE model, which runs only 3.8B parameters per token, and the 31B dense model, which uses all of its parameters.
The two larger models differ in design. The 26B-A4B has 25.2B total parameters but only 3.8B active per token. It has 30 layers and selects 8 of its 128 experts plus one shared expert for each token, which keeps generation fast. The 31B has 30.7B parameters across 60 layers and uses every parameter on every token.
Both support up to 256,000 tokens (256K) of context, more than 140 languages, text and image input, and a thinking mode that writes out reasoning before the answer. At release, the Arena text score was 1452 for the 31B model and 1441 for the 26B-A4B model. See the Google announcement and the Gemma 4 model card for the full figures.
See also: Uncensored vs abliterated: what's the difference?
Why does Gemma 4 refuse, and what is abliteration?#
The instruction-tuned Gemma 4 refuses heavily: in the publishers' refusal tests, the unmodified model declined 99 of 100 prompts, or all 100. Abliteration removes that refusal by editing the weights directly. A 2024 study found that a model's decision to refuse is concentrated along a single direction inside the weights, so removing that direction strips the behavior while leaving the model's knowledge in place.
That makes the method cheap and fast compared with retraining. The editing tool Heretic automates the process and searches for an edit strength that removes refusals without damaging the model. Its ARA mode is used in the llmfan46 builds below. For MoE models, some publishers also use EGA, which edits the experts one by one instead of only the dense part.
One number shows how much a build gives up in exchange. KL divergence measures how far the edited model's output has drifted from the original, and a smaller value means the model stays closer to the base. As a rule of thumb, a build in the roughly 0.05 to 0.12 range has kept most of its ability while removing the large majority of refusals.
See also: What is abliteration?
Which abliterated Gemma 4 builds are available?#
Several, and they are not interchangeable. For 31B there is llmfan46's ARA build. For 26B-A4B there are llmfan46's standard and ultra builds, TrevorJS's EGA build, and SevenOfNine's full-precision build. For 12B there are Heretic-based GGUF builds from culturerevolt and others, huihui-ai's QAT-based abliterated build, and HauhauCS's QAT-Uncensored build. For the smaller E4B there is InfinimindCreations' build.
| Publisher | Size | Method | KL | Refusal |
|---|---|---|---|---|
| llmfan46 | 31B | Heretic v1.2.0, ARA, layers 30–48 (attn.o_proj) | 0.0541 | 10/100 |
| llmfan46 | 26B-A4B | Heretic v1.2.0, ARA, layers 1–30 | 0.0468 | 11/100 |
| llmfan46 (ultra) | 26B-A4B | ARA pushed further | 0.1237 | 3/100 |
| TrevorJS | 26B-A4B | Biprojection + EGA (OBLITERATUS), all 128 experts | 0.09 | 1/100 |
| SevenOfNine | 26B-A4B | Heretic, full bf16, 200 trials | 0.0845 | 82% removed |
| InfinimindCreations | E4B | Biprojection, all 42 layers | 0.068 | 0/656 |
See also: Uncensored LLMs: the 10 best models by GPU memory
Which 31B builds are available?#
- llmfan46's gemma-4-31B-it-uncensored-heretic was made with Heretic v1.2.0 and its ARA method, editing layers 30 to 48 at the attention output (attn.o_proj). KL divergence is 0.0541, and refusals fell from 99/100 in the original to 10/100. On a 7,021-question MMLU run it scored 85.90% against the original's 86.50%. GGUF files are available, including Q4_K_M at about 17.4 GB.
Which 26B-A4B builds are available?#
- llmfan46's heretic build (gemma-4-26B-A4B-it-uncensored-heretic) uses Heretic v1.2.0 with ARA, editing layers 1 to 30. KL divergence is 0.0468, and refusals fell from 100/100 to 11/100. Quantizations run from Q3_K_M to BF16.
- llmfan46's ultra build (gemma-4-26B-A4B-it-ultra-uncensored-heretic) pushes the same ARA method further. Refusals fall to 3/100, at the cost of a higher KL divergence of 0.1237.
- TrevorJS's gemma-4-26B-A4B-it-uncensored combines norm-preserving biprojection with EGA (OBLITERATUS), which edits all 128 experts per layer. Refusals fell from 98 to 1 effective refusal on a 100-prompt set, and to 5 out of 686 across four datasets (0.7%). KL divergence is 0.09. The publisher reports that editing only the dense part left 29/100 refusals, and adding EGA brought that to 3/100.
- SevenOfNine's Gemma-4-26B-A4B-It-Abliterated ran Heretic in full bf16 across 200 trials. KL divergence is 0.0845, with 82% of hard refusals removed.
Which 12B builds are available?#
At Q4, 12B needs roughly 8 GB, so these builds suit 8–12 GB GPUs.
- culturerevolt's gemma-4-12b-heretic-abliterated-GGUF is a Heretic-based abliterated build made with norm-preserving directional ablation, distributed as GGUF from IQ3_XS through Q8_0.
- huihui-ai's Huihui-gemma-4-12B-it-qat-q4_0-unquantized-abliterated-GGUF is an abliterated version of the QAT 12B that edits layers 23–36 and covers both thinking and non-thinking modes. It is also published through the Ollama tag
huihui_ai/gemma-4-abliterated:12b-qat. - HauhauCS's Gemma4-12B-QAT-Uncensored-HauhauCS-Balanced removes refusals from the official QAT weights and is labeled Uncensored rather than abliterated. The publisher reports 0 refusals across 465 prompts. Only Q4_K_M is published, and of the three 12B builds above it has the most downloads on Hugging Face as of November 2, 2026.
Which E4B builds are available?#
- InfinimindCreations' gemma-4-E4B-it-uncensored applies biprojection across all 42 layers. On a 656-prompt test it refused 0 times (the original refused 99/100), with a KL divergence of 0.068. GGUF files are available.
Which size should you run: E4B, 12B, 26B-A4B or 31B?#
Choose by VRAM and by what you value. E4B fits around 8 GB and is the cheapest way to try an uncensored build. 12B needs roughly 8 GB at Q4, is larger than E4B and lighter than 26B-A4B, and is the first pick for 8–12 GB GPUs. The 26B-A4B MoE suits around 16 GB (with a smaller quantization or expert offload, covered below) and generates fast because only 3.8B parameters run per token, which makes it the balanced pick. The 31B dense needs around 24 GB and is the quality pick.
If you are unsure, start with the 26B-A4B MoE at about 16 GB of VRAM and the 31B dense at 24 GB. See also: What is a local LLM?
How do you run an abliterated Gemma 4 locally?#
Download a GGUF file and load it in a runtime such as Ollama or llama.cpp. The 31B model's Q4_K_M file is about 17.4 GB, which with context overhead points to roughly 24 GB of VRAM. The 26B-A4B model's Q4_K_M file is about 16.8 GB, so it does not quite fit in 16 GB on its own. You can pick a smaller quantization or offload the experts to system memory.
Offloading works in practice. SevenOfNine's report runs its 26B-A4B build on an RTX 4080 Super (16 GB VRAM) with 32 GB of RAM, using llama.cpp's -cmoe option to keep the experts in main memory, and reaches 34.5 tokens per second at Q5_K_M. If you do not have a GPU, TrevorJS's build is also served through an inference provider (Featherless), so you can test its behavior before downloading the local files.
How do you run it with Ollama?#
GGUF builds can be pulled directly through Ollama. The huihui-ai build has an official tag:
ollama run huihui_ai/gemma-4-abliterated:12b-qat
For other publishers, specify the repository and quantization tag:
ollama run hf.co/culturerevolt/gemma-4-12b-heretic-abliterated-GGUF:Q4_K_M
The tag follows the file name (...-Q4_K_M.gguf becomes Q4_K_M). Pulling from hf.co needs a reasonably recent Ollama release, so update if the command is not recognized. In LM Studio, search the Hugging Face repository from the Models tab and load the GGUF you want.
See also: GGUF quantization explained
What should you check before using an abliterated Gemma 4?#
Check these four things before relying on a build:
- Not refusing is not the same as being accurate. An abliterated build has had its refusal behavior removed, not its tendency to state things that are false. You are responsible for checking the facts.
- The published numbers are each publisher's own. Refusal rates and benchmarks come from prompt sets that differ between publishers, so read them as a rough guide rather than a head-to-head ranking.
- The same name can mean a different model. Tool, edited layers, and whether the experts were edited can all differ. Check the publisher, the edit details, and the KL divergence on the model card before downloading.
- Watch how thinking mode is rendered. Gemma 4 writes out its reasoning before answering, so confirm how your front end displays that output.
If you only want a no-filter AI and have no wish to run models yourself, see how to choose and try one free.
What is Deepent Research?#
Deepent Research is a browser-accessible LLM chat service built to refuse as little as possible. It keeps going with research that a standard AI would cut off mid-answer.
- It refuses nothing. We run uncensored and abliterated models with guardrails reduced as far as possible, so prompts a standard AI answers with "I can't help with that" still get a response (Qwen3.5 / Qwen3.8-27B-abliterated, depending on your plan).
- Your input is never used for training. What you look up is used only to provide the service, never to train AI or for any other purpose. Personal data is protected, and our privacy policy is public.
- Try it free. No GPU and no install, just open a browser. In the logged-out trial your conversation isn't saved, so you can start casually.
→ Try it free, no sign-up: https://deepentresearch.com
No question can stop research.
Frequently asked questions#
Is Gemma 4 abliterated an official Google model?#
No. Google released Gemma 4 as an open-weight model under the Apache 2.0 license, but the abliterated versions are community edits. Each publisher applies its own refusal-removal process, so these builds are not supported by Google and differ from one another.
Should I choose the 26B-A4B MoE or the 31B dense build?#
Decide by VRAM and speed. Around 16 GB, the 26B-A4B MoE is the better fit, because only 3.8B parameters run per token and generation is fast. Around 24 GB, the 31B dense build is the quality-focused choice, since it uses every parameter on every token.
Is there a 12B abliterated Gemma 4?#
Yes. Heretic-based builds (culturerevolt), huihui-ai's QAT-based abliterated build, and HauhauCS's QAT-Uncensored build are available. At Q4 they need about 8 GB, so 12B is the first size to consider on an 8–12 GB GPU. It is larger than E4B and smaller than 26B-A4B.
How much do abliterated Gemma 4 builds differ by publisher?#
Enough to count as different models. For example, llmfan46's 26B-A4B build keeps KL divergence at 0.0468 to stay close to the original, while TrevorJS's build edits all 128 experts and reports 5 refusals out of 686 prompts (0.7%). The tool, the edited layers, and the published numbers all vary.
Does an abliterated model give accurate answers?#
Not necessarily. Removing refusals changes whether a model answers, not whether what it says is true. An abliterated Gemma 4 can still produce incorrect statements, so you should verify anything you rely on, especially numbers and factual claims.
Disclaimer#
This article was drafted with AI assistance and then reviewed, fact-checked, and edited by the Deepent Research team before publication.
It is provided for educational and research purposes and is not intended to encourage unlawful activity or crime.
Where figures are cited, they come from third-party public reports and vendor-published values and may vary with measurement conditions.
How this note was edited and verified
We cross-check primary sources such as official documentation and papers, and organize only what the facts support.
This note was drafted with AI, then fact-checked, expanded, and edited by the operator before publication.
Related notes
Abliterated Qwen3.8-27B: Which of 4 Editions to Run
Compare the huihui-ai, orcarouter, Heretic and RVN Qwen3.8-27B abliterated editions, then pick a quant for a 16GB GPU, a 24GB GPU or a Mac, with file sizes.
Low Guardrail Models: Why Makers Ship Safety Separately
Low guardrail models from Meta, Google, Mistral and DeepSeek fall into three types. Learn how each type works and what to check before you choose one.
What Is OBLITERATUS? Abliteration Toolkit and Model Guide
OBLITERATUS is an open-source abliteration toolkit that maps a model's refusal structure before editing it. Learn its 6-step pipeline and how to choose models.
Try it yourself
Deepent Research is an LLM chat service that refuses almost nothing. Everything covered in this note can be tried without downloading anything.