Until December 31: monthly plans give up to 2.5 times their price in credit. Scale is $200 a month with $400 of usage credit. See plans →

Abliterated Gemma models: Gemma 4 and Gemma 3 builds compared

Abliterated Gemma 4 and Gemma 3 builds compared: 15 Hugging Face models with their refusal and KL numbers, GGUF sizes, Ollama tags and the GPU each one fits.

Published GemmaAbliteratedModelsLocalGGUF

Quick answer

Abliterated Gemma models are Google Gemma checkpoints with refusals edited out of the weights. The most downloaded last month was mradermacher's GGUF of richardyoung's Gemma 4 31B ARA build: 305,917 downloads, 18.7 GB at Q4_K_M, for a 24 GB GPU (checked 2026-12-03). For an 8 GB GPU, llmfan46's Gemma 4 E4B Heretic GGUF is 5.3 GB, with 168,313 downloads.

Abliterated Gemma at a glance

An abliterated Gemma is one of Google's Gemma models with its refusal direction removed from the weights, usually by one of two tools: classic abliteration or Heretic. Hugging Face lists 1,160 repositories with "gemma" and "abliterated" in the name and 1,386 with "heretic" (API search, checked 2026-12-03). Gemma is the only one of the five largest families with more Heretic builds than abliterated ones, and 1,033 of its Heretic repositories are Gemma 4.

Two licences apply. Gemma 4 is Apache 2.0, per Google's Gemma 4 card. Gemma 3 is under the Gemma Terms of Use, and Google's own repositories ask you to accept them first. Editing the weights doesn't change either licence.

This page covers the Gemma family only. For every family side by side, see all abliterated models.

Model Parameters Context Input
Gemma 4 31B 31B, dense 256K Text, image
Gemma 4 26B-A4B 26B, mixture of experts with 3.8B active (8 of 128 experts plus 1 shared) 256K Text, image
Gemma 4 12B 12B, dense 256K Text, image, audio
Gemma 4 E4B and E2B 8B and 5.1B with embeddings (4.5B and 2.3B effective) 128K Text, image, audio
Gemma 3 27B, 12B, 4B 27B, 12B, 4.3B, dense 128K Text, image

Parameter counts and context come from Google's model cards and config.json files.

Abliterated Gemma builds on Hugging Face

The tables list the 15 most useful abliterated and Heretic Gemma builds. We sorted the Hugging Face API by downloads on 2026-12-03 and opened every card. A build is listed when its card names the base model and the method, and we left out builds whose cards market them for role-play. "Numbers on the card" are the uploader's own, measured with that uploader's prompts and judge, so they don't rank against each other. Downloads are Hugging Face's figure for the last month, for the original repository and then the GGUF most people download; the date is the later of the two repositories' last update. File sizes are the smallest quantization we'd run and the 4-bit file (Q4_K_M unless noted). Abliterated vs Heretic explains the method labels.

Gemma 4 31B (fits 24 GB at 4-bit)

Build Method Numbers on the card Smallest / 4-bit file Downloads last month (updated) Licence
richardyoung/gemma-4-31B-it-ARA-heretic Heretic 2.0.0, ARA Held-out: 0.6% refusals vs 89.3% on 972 prompts, automatic judges; KL 0.0845; capability −2.18 points (mean of MMLU-Pro, GSM8K, IFEval, HumanEval, MBPP) Safetensors gated with manual approval; GGUF by mradermacher: Q3_K_M 15.3 GB, Q4_K_M 18.7 GB 622; GGUF 305,917 (2026-11-28) Apache 2.0, plus the OpenRAIL++ use restrictions the card adds
llmfan46/gemma-4-31B-it-uncensored-heretic Heretic 1.2.0, ARA, on attn.o_proj in layers 30 to 48 10/100 vs 99/100; KL 0.0541; MMLU 86.44% → 85.90% on 7,021 questions GGUF: Q3_K_M 15.3 GB, Q4_K_M 18.7 GB 2,978; GGUF 122,373 (2026-11-29) Apache 2.0
trohrbaugh/gemma-4-31b-it-heretic-ara Heretic 1.2.0 with custom changes, ARA 5/100 vs 98/100; KL 0.0120, the lowest of the 31B builds here GGUF by mradermacher: Q3_K_M 15.3 GB, Q4_K_M 18.7 GB 574; GGUF 9,143 (2026-04-14) Apache 2.0

llmfan46 also published a v2 of the 31B build (11/100, KL 0.0546). trohrbaugh's card has no base_model field; its text names google/gemma-4-31b-it.

Gemma 4 26B-A4B (fits 24 GB at 4-bit, faster per token)

The 26B-A4B is a mixture-of-experts model: it stores 26B parameters but activates 3.8B per token, so Google's card says it runs much faster than its total size suggests.

Build Method Numbers on the card Smallest / 4-bit file Downloads last month (updated) Licence
llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic Heretic 1.2.0, ARA 3/100 vs 100/100; KL 0.1237 GGUF: Q3_K_M 13.3 GB, Q4_K_M 16.8 GB 1,849; GGUF 144,047 (2026-11-19) Apache 2.0
trohrbaugh/gemma-4-26B-A4B-it-heretic-ara Heretic 1.2.0 with custom changes, ARA 2/100 vs 99/100; KL 0.0491 GGUF by mradermacher: Q3_K_M 13.3 GB, Q4_K_M 16.8 GB 128; GGUF 39,787 (2026-10-26) Apache 2.0

huihui-ai's classic build of the 26B-A4B has a 16.8 GB GGUF of the QAT variant with 59,496 downloads last month, and no numbers on the card.

Gemma 4 12B (fits 12 GB at 4-bit)

Build Method Numbers on the card Smallest / 4-bit file Downloads last month (updated) Licence
llmfan46/gemma-4-12B-it-uncensored-heretic Heretic 1.2.0, ARA 6/100 vs 99/100; KL 0.1203 GGUF by mradermacher: Q3_K_M 6.1 GB, Q4_K_M 7.4 GB 755; GGUF 74,033 (2026-11-19) Apache 2.0
culturerevolt/gemma-4-12b-heretic-abliterated Norm-preserving directional ablation, per the card, which credits Heretic None; no base_model field GGUF: IQ3_XS 5.3 GB, Q4_K_M 7.4 GB 1,451; GGUF 152,309 (2026-06-05) Apache 2.0
AEON-7/Gemma-4-12B-it-AEON-Abliterated-K4-BF16 Norm-preserving projection of four refusal directions, on 24 of 48 layers No refusal count; MMLU (285 questions) 81.4% → 80.4%, HumanEval 82.9% → 83.5%, IFEval 90% → 90% BF16 23.9 GB; MLX 4-bit 9.9 GB; FP8 and NVFP4 versions 183,509 (2026-11-13) Apache 2.0 (the card's metadata says "gemma")

Gemma 4 E4B and E2B (fit 8 GB)

Build Method Numbers on the card Smallest / 4-bit file Downloads last month (updated) Licence
llmfan46/gemma-4-E4B-it-ultra-uncensored-heretic Heretic 1.2.0, ARA 3/100 vs 99/100; KL 0.0076 GGUF: Q4_K_M 5.3 GB; mradermacher's GGUF adds Q3_K_M 4.9 GB 2,007; GGUF 168,313 (2026-11-19) Apache 2.0
llmfan46/gemma-4-E2B-it-ultra-uncensored-heretic Heretic 1.2.0, ARA 4/100 vs 98/100; KL 0.0779 GGUF: Q4_K_M 3.4 GB 380; GGUF 18,800 (2026-11-20) Apache 2.0

The E4B is the one Gemma size with an independent comparison. DreamFast's test of 23 Gemma 4 E4B builds ran 400 refusal-test prompts, KL divergence and 13 benchmark tasks on every build. It rated llmfan46's build "best overall": 95.5% of the prompts answered, GSM8K up 1.3 points, MMLU-Pro down 0.6, KL 0.002. huihui-ai's classic E4B build answered 98.3%.

Gemma 3 27B, 12B and 4B

Build Method Numbers on the card Smallest / 4-bit file Downloads last month (updated) Licence
mlabonne/gemma-3-27b-it-abliterated Classic, a separate direction per layer with refusal weight 1.5 Acceptance "over 90%"; no prompt count or KL GGUF: q3_k_m 13.4 GB, q4_k_m 16.6 GB 3,678; GGUF 12,236 (2025-04-01) Gemma Terms of Use
llmfan46/gemma-3-27b-it-ultra-uncensored-heretic Heretic 1.2.0, ARA 5/100 vs 98/100; KL 0.0616 GGUF: Q4_K_S 15.7 GB, Q4_K_M 16.6 GB 78; GGUF 1,443 (2026-11-22) Gemma Terms of Use
mlabonne/gemma-3-12b-it-abliterated-v2 Classic, o_proj orthogonalized with layer weights on a normal curve Target "acceptance rate >90%", judged by keywords plus the Minos-v1 classifier GGUF: q3_k_m 6.0 GB, q4_k_m 7.3 GB 574; GGUF 9,388 (2025-05-29) Gemma Terms of Use
DreamFast/gemma-3-12b-it-heretic-v2 Heretic 1.3.0 8/100 vs 100/100; KL 0.0801 GGUF in the same repository: Q3_K_M 6.0 GB, Q4_K_M 7.3 GB 8,331 (2026-08-10) Gemma Terms of Use
grayarea/gemma-3-4b-it-heretic-v1.2 Heretic 0/108 vs 107/108; KL 0.0621; MMLU at Q4_K_M 41.38% → 40.80% GGUF by mradermacher: Q3_K_M 2.1 GB, Q4_K_M 2.5 GB 59; GGUF 31,915 (2026-07-27) Gemma Terms of Use

The oldest Gemma build still in wide use is IlyaGusev's Gemma 2 2B from July 2024. bartowski's GGUF of it is 1.7 GB at Q4_K_M and had 36,152 downloads last month. Its card publishes no numbers.

What the tables show

  • Download counts mislead. AEON-7 published the 12B build in six formats, and each repository shows between 182,044 and 183,509 downloads last month, though the BF16 repository has only 201,820 all-time. Treat the count as unverified.
  • Popular builds often publish nothing. culturerevolt's GGUF is the most downloaded 12B GGUF, and its card has no refusal count, no KL and no base_model field. It also offers a replacement chat template, which is code that runs on every prompt: diff it against Google's before you use it.
  • Heretic cards are comparable in shape only. They all count refusals out of 100 prompts, but each uploader picks the prompts. KL divergence measures distance from the original on harmless prompts, so lower means closer to Google's model.

Run abliterated Gemma in Ollama and LM Studio

huihui-ai's huihui_ai/gemma-4-abliterated is the most pulled abliterated Gemma on Ollama, with 1.5M pulls (checked 2026-12-03). Its tags cover every Gemma 4 size, with image input:

Tag Size Context
e2b 7.2 GB (4.4 GB for E2b-qat) 128K
e4b (the default) 9.6 GB (6.3 GB for E4b-qat) 128K
12b 7.6 GB 128K
26b 18 GB 256K
31b 20 GB 256K
ollama run huihui_ai/gemma-4-abliterated:12b

The tag list also has a 48b tag of 33 GB. Google publishes no 48B Gemma 4: its Hugging Face organization lists E2B, E4B, 12B, 26B-A4B and 31B, and the Ollama readme doesn't say what the 48b tag is. Skip it until its source is documented.

For the builds with numbers, richardyoung publishes the 31B ARA build on Ollama as richardyoung/gemma-4-31b-it-ara-heretic (Q4_K_M 19 GB, IQ4_XS 17 GB). Any other GGUF in the tables runs straight from Hugging Face:

ollama run hf.co/llmfan46/gemma-4-E4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M

That E4B file is 5.3 GB, against 9.6 GB for Ollama's e4b tag, which matters on an 8 GB card. For Gemma 3, huihui_ai/gemma3-abliterated (121K pulls) lists only 8-bit and 16-bit tags for its 4B, 12B and 27B models, so a 4-bit Gemma 3 27B means the hf.co/ route with mlabonne's or llmfan46's GGUF.

To serve a build over an OpenAI-compatible API with llama.cpp:

llama serve -hf mradermacher/gemma-4-31B-it-ARA-heretic-GGUF:Q4_K_M -c 32768 --port 8080

llama.cpp downloads the repository's vision projector (mmproj, 0.8 GB for the 31B) along with the model, so image input works. In LM Studio, paste the repository name into the Discover tab and pick Q4_K_M. How to run abliterated models locally covers all three tools step by step.

Which abliterated Gemma to pick

Pick by memory first. Leave 1 to 3 GB beyond the file for the context cache and the runtime, then check the real figure with ollama ps. Gemma 4's cache is smaller than most models' of its size: in the 31B, 50 of 60 layers use a 1,024-token sliding window and only 10 attend to the whole context (config.json).

By hardware

GPU or unified memory What fits Start with
8 GB Gemma 4 E4B or E2B at 4-bit; Gemma 4 12B at IQ4_XS with a short context llmfan46's E4B Heretic, Q4_K_M 5.3 GB (3/100, KL 0.0076)
12 to 16 GB Gemma 4 12B at 4-bit to 8-bit; Gemma 3 12B llmfan46's 12B Heretic, Q4_K_M 7.4 GB or Q8_0 12.7 GB
24 GB Gemma 4 31B or 26B-A4B at 4-bit; Gemma 3 27B richardyoung's 31B ARA, Q4_K_M 18.7 GB, for the most measured build; llmfan46's or trohrbaugh's 26B-A4B, 16.8 GB, for speed
48 GB Gemma 4 31B at 8-bit with a long context A 31B Q8_0, 32.6 GB, from mradermacher's or llmfan46's GGUF
Apple Silicon MLX builds AEON-7's 12B in MLX 4-bit (9.9 GB) or 8-bit (13.4 GB)

By use

  • Coding and agents. Use the 31B or the 26B-A4B; Google's card reports native function calling for Gemma 4. richardyoung's card is the only one here whose capability figure includes coding benchmarks (HumanEval and MBPP, within a 2.18-point mean drop), and AEON-7's 12B reports HumanEval 82.9% → 83.5%.
  • Images. Every Gemma 4 size and Gemma 3 4B and up take images. The edits target the language model's layers, and no card in the tables reports refusals on image prompts, so test them yourself.
  • Audio. Google's card lists audio input for Gemma 4 E2B, E4B and 12B only.
  • Long context. Gemma 4 12B, 26B-A4B and 31B take 256K tokens; E2B, E4B and Gemma 3 take 128K.

What abliteration costs Gemma

Where a Gemma card measures capability, the loss is a point or two. Each figure below comes from the uploader's own harness, so compare it only with the same card's original-model score:

  • llmfan46's Gemma 4 31B: MMLU 86.44% → 85.90% on 7,021 questions.
  • richardyoung's Gemma 4 31B: −2.18 points, the mean of MMLU-Pro, GSM8K, IFEval, HumanEval and MBPP.
  • AEON-7's Gemma 4 12B: MMLU 81.4% → 80.4% on 285 questions, HumanEval 82.9% → 83.5%, IFEval unchanged at 90%.
  • grayarea's Gemma 3 4B at Q4_K_M: MMLU 41.38% → 40.80%.

Builds without numbers can cost far more. In DreamFast's E4B comparison, the most downloaded variant, OBLITERATUS/gemma-4-E4B-it-OBLITERATED with 796,331 all-time downloads, lost 11.7 points on MMLU-Pro and 20.9 on GSM8K, answered 72.0% of the refusal-test prompts, and was marked "Do not use."

For paired measurements with 95% intervals on two frontier models, see does abliteration hurt performance. On DeepSeek V4.1 Flash, refusals fell from 94% to 1% while reasoning, math and vision scores stayed within noise, and MMLU-Pro dropped 0.8 points (benchmarks).

Is an abliterated Gemma download safe?

Check the file before you trust the card. Our vetting checklist covers file formats, hash pinning and chat-template diffs. The hash-check snippet compares a repository's weight files with the official checkpoint without downloading them. Swap in google/gemma-4-31B-it or the size you use: Gemma 4 ships in one or two files, so the check tells you whether a build is byte-identical to Google's model or to another uploader's, not which layers changed.

A hosted alternative

Abliterator doesn't serve Gemma. It serves two abliterated frontier models through an API: Kimi K3.1 Pro Abliterated (kimi-k3.1-pro-abliterated) and DeepSeek V4.1 Flash Abliterated (deepseek-v4.1-flash-abliterated). Their weights are not released.

A local Gemma is the better choice when prompts must stay on your machine or volume is high. A hosted frontier model is the better choice when the task needs more than a 31B model gives, when you need more than Gemma 4's 256K-token context (both hosted models take 1M), or when you have no GPU. DeepSeek V4.1 Flash Abliterated costs $1.00 input and $2.00 output per 1M tokens. Abliterated model API compares the two routes, and the acceptable use policy applies to every request.

Other families: abliterated Qwen and abliterated GLM.

Frequently asked questions

Is there an abliterated Gemma 4?

Yes, for all five sizes: E2B, E4B, 12B, 26B-A4B and 31B. Hugging Face has 559 repositories named for Gemma 4 with abliterated in the name and 1,033 with heretic (checked 2026-12-03). The most downloaded is mradermacher's GGUF of richardyoung's Gemma 4 31B ARA build, with 305,917 downloads last month, and Gemma 4 itself is Apache 2.0.

Is there a Gemma 3 27B abliterated GGUF?

Yes. mlabonne's gemma-3-27b-it-abliterated-GGUF has a 16.55 GB Q4_K_M file and 12,236 downloads last month, but its card publishes no refusal numbers. llmfan46's Gemma 3 27B Heretic build reports 5 refusals out of 100 against 98 for the original, at KL 0.0616, with a Q4_K_M of the same size. Both keep the Gemma Terms of Use.

Which abliterated Gemma runs on an 8 GB GPU?

Gemma 4 E4B: llmfan46's Heretic build is 5.34 GB at Q4_K_M and reports 3 of 100 refusals at KL 0.0076. Gemma 4 E2B is 3.43 GB. Gemma 4 12B fits at IQ4_XS (6.69 GB) with a short context.

Abliterated or Heretic Gemma: which should I use?

Prefer a build whose card reports refusals and KL divergence, which Heretic cards do by default and most classic abliterated cards don't. In DreamFast's independent test of 23 Gemma 4 E4B builds, a Heretic build was rated best overall and the most downloaded build, made with a different tool, was marked Do not use. Test the exact file on your own prompts either way.

Does abliteration hurt Gemma's capability?

On the cards that measure it, the cost is small: llmfan46's Gemma 4 31B went from 86.44% to 85.90% on its MMLU run, and richardyoung's 31B build reports a 2.18-point mean drop across five benchmarks. Builds that publish no numbers can be much worse: one popular E4B build lost 11.7 points on MMLU-Pro in DreamFast's test.

Try it in your browser.

Ask it something your usual model refuses.

Start a chat

No sign-up to try. $10 free when you verify your email.