SC117
gemma-4-26B-A4B-it-qat-heretic
- Parameters
- 25.2B
- Max context length
- 262,144
- Architecture
- gemma4
- License
- Commercial OK
- License
- apache-2.0
- llama.cpp
- b8637+
About gemma-4-26B-A4B-it-qat-heretic
gemma-4-26B-A4B-it-qat-heretic is a GGUF model based on coder3101/gemma-4-26B-A4B-it-qat-q4_0-unquantized-heretic on Hugging Face. GGUF files are published by SC117/gemma-4-26B-A4B-it-qat-heretic-GGUF. It has about 25.2B parameters, the gemma4 architecture, a maximum context length of 262,144 tokens (values written in the GGUF).
There are 2 quantizations, with file sizes from 14.2 GB (UD-Q4_K_XL) to 50.5 GB (F16) (actual sizes on Hugging Face).
Running UD-Q4_K_XL (14.2 GB) with an 8,192-token context needs an estimated 15.8 GB of memory, and an estimated 16.3 GB at 32,768 tokens. For 8,192 tokens, a GPU with 16 GB or more of VRAM (such as GeForce RTX 5080, GeForce RTX 5070 Ti), or a Mac with 16 GB or more of unified memory, is a rough guide (macOS caps how much memory the GPU can use, so leave some headroom).
The original model is licensed under Apache License 2.0, which allows commercial use (keep the license text and copyright notice when redistributing). Check the original license for the terms of use. An mmproj file for image input is also available.
File size and estimated memory per quantization
- Up to 8 GB
- Up to 16 GB
- Up to 24 GB
- Up to 48 GB
- Up to 128 GB
- More
File sizes are the actual values on Hugging Face. Memory is estimated for each context length (KV cache f16). The formula is in How memory is calculated.
All memory figures are Estimated (KV cache f16). It should run on a setup with at least this much VRAM (or Mac unified memory). Click a value to see the devices and models that fit that amount (Find by GPU / Mac).
Using image input: This model supports image input. To use images, an mmproj file is loaded as well.
About the "quality guide" (how far a quantization drifts from the original)
For each quantization type, how far the output drifts from the original model, grouped into six levels from values llama.cpp measured on Llama-3-8B.
The value is mean KLD (the difference between the original and quantized model in next-token probabilities); smaller means closer to the original. Quantizations made with an imatrix (importance data) come out slightly smaller. Levels use the value without an imatrix (or with one, for types that only have that).
These values were not measured on this model. Larger models and MoE models tend to drift less with the same type. Distributor-specific mixed types (such as UD-Q4_K_XL) cannot be matched by type name alone, so they show "-".
| Quantization | Quality guide | KLD (no imatrix) | KLD (imatrix) | Size (Llama-3-8B) |
|---|---|---|---|---|
| Q8_0 | Nearly identical | 0.0014 | - | 7.96 GiB |
| Q6_K | Very small | 0.0055 | - | 6.14 GiB |
| Q5_K_M | Very small | 0.0108 | - | 5.33 GiB |
| Q5_K_S | Small | 0.0166 | - | 5.21 GiB |
| Q5_1 | Small | 0.0180 | - | 5.65 GiB |
| Q5_0 | Small | 0.0222 | - | 5.21 GiB |
| Q4_K_M | Small | 0.0313 | 0.0282 | 4.58 GiB |
| Q4_K_S | Medium | 0.0431 | 0.0320 | 4.37 GiB |
| IQ4_NL | Small | - | 0.0357 | 4.35 GiB |
| IQ4_XS | Small | - | 0.0363 | 4.14 GiB |
| Q4_1 | Medium | 0.0717 | - | 4.78 GiB |
| Q4_0 | Medium | 0.0719 | - | 4.34 GiB |
| Q3_K_L | Medium | 0.0872 | 0.0731 | 4.03 GiB |
| Q3_K_M | Medium | 0.1019 | 0.0844 | 3.74 GiB |
| IQ3_M | Medium | - | 0.1025 | 3.53 GiB |
| IQ3_S | Medium | - | 0.1113 | 3.42 GiB |
| IQ3_XS | Large | - | 0.1387 | 3.28 GiB |
| IQ3_XXS | Large | - | 0.1836 | 3.05 GiB |
| Q3_K_S | Large | 0.2282 | 0.1998 | 3.41 GiB |
| IQ2_M | Large | - | 0.3260 | 2.74 GiB |
| Q2_K | Very large | 0.4451 | 0.3322 | 2.96 GiB |
| Q2_K_S | Very large | - | 0.4034 | 2.96 GiB |
| IQ2_S | Very large | - | 0.4392 | 2.56 GiB |
| IQ2_XS | Very large | - | 0.5463 | 2.43 GiB |
| IQ2_XXS | Very large | - | 0.8120 | 2.24 GiB |
| IQ1_M | Very large | - | 1.3931 | 2.01 GiB |
| IQ1_S | Very large | - | 2.2546 | 1.88 GiB |
Source: llama.cpp (MIT), measured on Llama-3-8B against FP16, Wikitext-2, revision f364eb6f. Original table · Reading and choosing quantizations
GGUF source
SC117/gemma-4-26B-A4B-it-qat-heretic-GGUF
Published by the original developer Modified version (name includes abliterated etc.) About this label
Last checked: Oct 26, 2026
- Architecture
- gemma4
- llama.cpp b8637 and later
- Parameters
- 25.2B
- Max context length
- 262,144
- License
- apache-2.0 Commercial OK
| Quantization | File size Measured | Quality guide | 4,096 | 8,192 | 16,384 | 32,768 | 65,536 | 131,072 | 262,144 max |
|---|---|---|---|---|---|---|---|---|---|
| UD-Q4_K_XL | 14.2 GB | - | 15.7 GB | 15.8 GB | 16.0 GB | 16.3 GB | 17.0 GB | 18.3 GB | 21.0 GB |
| F16 | 50.5 GB | Original precision | 52.0 GB | 52.1 GB | 52.2 GB | 52.6 GB | 53.2 GB | 54.6 GB | 57.3 GB |
The mmproj file for image input (F16) is 1.19 GB Measured . It is not included in the memory above, so add it if you use images.
Ollama ollama run hf.co/SC117/gemma-4-26B-A4B-it-qat-heretic-GGUF:UD-Q4_K_XL
llama.cpp llama-server -hf SC117/gemma-4-26B-A4B-it-qat-heretic-GGUF:UD-Q4_K_XL
License and commercial use
Apache License 2.0 Commercial OK
Allows commercial use, modification and redistribution. When redistributing, keep the license text and copyright notice, and note changes in modified files.
Based on the license on the original model's Hugging Face page. Original license text (checked Oct 18, 2026)
The summary states facts this site read from the original text and is not legal advice. Always check the original license and its latest terms before use. All licenses
How to run
Mainline llama.cpp can load this model's format (gemma4) from b8637 (Apr 2, 2026) onward. Ollama and LM Studio bundle llama.cpp internally, so an older app fails to load it with errors such as "unknown model architecture". If that happens, update the app.
Example commands using UD-Q4_K_XL. To use another quantization, replace the name with one from the table above. How to run local LLMs
Ollama
Run it by pointing directly at the GGUF on Hugging Face.
ollama run hf.co/SC117/gemma-4-26B-A4B-it-qat-heretic-GGUF:UD-Q4_K_XL
llama.cpp
Pass the repository and quantization name to llama-server (or llama-cli) with -hf.
llama-server -hf SC117/gemma-4-26B-A4B-it-qat-heretic-GGUF:UD-Q4_K_XL
LM Studio
Paste SC117/gemma-4-26B-A4B-it-qat-heretic-GGUF into the search box, download it, and choose the quantization from the file list.
Other models from SC117
-
176.9B
SC117
Qwen3.8-Flash-Next-GSQ-RCO-abliterated
- Q2_0 size
- 66.8 GB
- Memory at 8K
- 68.2 GB
Measured Estimated VRAM 64 GB+
-
176.9B
SC117
Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-abliterated
- Q2_0 size
- 66.5 GB
- Memory at 8K
- 67.9 GB
Measured Estimated VRAM 64 GB+
-
34.7B
SC117
occamy-1.0-abliterated-FIT
- Q4_K_M size
- 16.5 GB
- Memory at 8K
- 17.8 GB
Measured Estimated VRAM 24 GB+
-
4.1B
SC117
Spark-X2.6-4B-abliterated-FIT
- Q4_K_M size
- 2.70 GB
- Memory at 8K
- 3.92 GB
Measured Estimated VRAM 4 GB+
-
SC117
Ornith-1.0-9B-heretic-MTP
- Q4_K_M size
- 5.78 GB
- Memory at 8K
- 7.15 GB
Measured Estimated VRAM 8 GB+
-
SC117
Ornith-1.0-35B-Heretic-MTP-APEX
- BF16 size
- 71.1 GB
- Memory at 8K
- 72.3 GB
Measured Estimated VRAM 96 GB+
Models of a similar size (other developers)
-
27.3B
Qwen
Qwen3.8-27B
- UD-Q4_K_M size
- 16.5 GB
- Memory at 8K
- 18.2 GB
Measured Estimated VRAM 24 GB+
-
35.5B
ornith-ai
Ornith-1.5-35B-A3B
- Q4_K_M size
- 21.7 GB
- Memory at 8K
- 23.0 GB
Measured Estimated VRAM 24 GB+
-
27.3B
huihui-ai
Huihui-Qwen3.8-27B-abliterated
- Q4_K_M size
- 16.6 GB
- Memory at 8K
- 18.3 GB
Measured Estimated VRAM 24 GB+
-
25.2B
farbodtavakkoli
OTel-2.0-Decision-26B-A4B-4bit
- Q4_K_M size
- 16.8 GB
- Memory at 8K
- 18.4 GB
Measured Estimated VRAM 24 GB+
-
27.3B
JonathanColetti
Qwen3.8-27B-Uncensored
- Q4_K_M size
- 16.5 GB
- Memory at 8K
- 18.3 GB
Measured Estimated VRAM 24 GB+
-
25.2B
google
gemma-4-26B-A4B-it
- UD-Q4_K_M size
- 16.9 GB
- Memory at 8K
- 18.5 GB
Measured Estimated VRAM 24 GB+
Frequently asked questions
- How much memory do I need to run gemma-4-26B-A4B-it-qat-heretic (UD-Q4_K_XL)?
- The file size is 14.2 GB (measured). With a 8,192-token context, the estimated memory including the KV cache is 15.8 GB. The formula is published at https://localllm.az-arte.com/en/guide/memory-calculation.
- Can gemma-4-26B-A4B-it-qat-heretic be used commercially?
- The original model's license is Apache License 2.0 (Commercial use allowed).Allows commercial use, modification and redistribution. When redistributing, keep the license text and copyright notice, and note changes in modified files. Check the original license text before deciding.
- Does gemma-4-26B-A4B-it-qat-heretic run in 8 GB, 12 GB, 16 GB or 24 GB of VRAM?
- 8 GB: no quantization fits; 12 GB: no quantization fits; 16 GB: up to UD-Q4_K_XL (est. 15.8 GB); 24 GB: up to UD-Q4_K_XL (est. 15.8 GB) (estimated at 8,192 tokens with an f16 KV cache, files from the most-downloaded source).
- What is the command to run gemma-4-26B-A4B-it-qat-heretic with Ollama?
- Run "ollama run hf.co/SC117/gemma-4-26B-A4B-it-qat-heretic-GGUF:UD-Q4_K_XL" to use the GGUF on Hugging Face directly. To use another quantization, replace the name at the end.