HU

Huihui4 8B A4B

HuihuiGGUF by mradermacherUpdated 2026-10-16
Download on Hugging Face
Parameters8.1B
Context256K
Layers30
Architecturegemma4
Smallest quant3.6 GB
Quick answer

Huihui4 8B A4B needs about 14.0 GB of memory at Q4_K_M (a 5.4 GB file) with an 8K context window, so it fits on a 16 GB GPU. This repository has 12 quants, from 3.6 GB (Q2_K) to 16.2 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 32.2 GB.

Huihui4 8B A4B – a lightweight MoE Gemma4 model for code and conversation

Huihui4 8B A4B is a Mixture of Experts model based on Gemma4. It contains 8.1 b parameters with 4 b active experts. The model is optimized for consumer‑grade hardware and code‑related dialogue.

Good at

  • Code‑centric conversations
  • Lightweight inference on single GPUs
  • MoE pruning efficiency

Limits

  • Vision support only, no other modalities
  • Requires at least 8 k context for full performance
  • Apache‑2.0 license

Best for

  • Local code assistants
  • Prototype MoE deployments
  • Baseline validation for pruning pipelines

Who it’s for. Developers and researchers who need a small, efficient MoE model for code dialogue. The model runs well on consumer GPUs and supports fine‑tuning on custom datasets.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K3.6 GB 12.1 GB
Too big Get file →
Q3_K_S4.1 GB 12.6 GB
Too big Get file →
Q3_K_M4.4 GB 13.0 GB
Too big Get file →
Q3_K_L4.6 GB 13.2 GB
Too big Get file →
IQ4_XS4.6 GB 13.2 GB
Too big Get file →
Q4_K_S5.0 GB 13.6 GB
Too big Get file →
Q4_K_M5.4 GB 14.0 GB
Too big Get file →
Q5_K_S5.8 GB 14.4 GB
Too big Get file →
Q5_K_M6.1 GB 14.7 GB
Too big Get file →
Q6_K7.2 GB 15.7 GB
Too big Get file →
Q8_08.6 GB 17.2 GB
Too big Get file →
F1616.2 GB 24.8 GB
Too big Get file →

For 8 GB VRAM use Q4_K_S (5.05 GB) or Q4_K_M (5.42 GB). For 12 GB VRAM use Q5_K_S (5.82 GB) or Q5_K_M (6.14 GB). Higher precision quants like F16 require 16.22 GB and more VRAM.

What GPU do you need for Huihui4 8B A4B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: no quant fits at an 8K context.
  • 16 GB VRAM: the best quant that fits is Q6_K (7.2 GB file, about 15.7 GB in use).
  • 24 GB VRAM: the best quant that fits is Q8_0 (8.6 GB file, about 17.2 GB in use).
  • 32 GB VRAM: the best quant that fits is F16 (16.2 GB file, about 24.8 GB in use).

Which Huihui4 8B A4B quant should you choose?

Q4_K_M is the usual starting point for Huihui4 8B A4B: it balances file size and quality well. Here it is a 5.4 GB file.

The Q8_0 file is 8.6 GB, about 1.6 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is Q2_K at 3.6 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegemma4
Parameters8.1B (approximate, mixture of experts)
Active parameters4B
Layers30
Trained context262,144 tokens
KV cache (fp16)960 KB per token

Source

Quantized bymradermacher
FamilyHuihui
Licenseapache-2.0
Downloads (HF)1,271
Last updated2026-10-16

Frequently asked questions about Huihui4 8B A4B

How much VRAM does Huihui4 8B A4B need?

About 14.0 GB at Q4_K_M with an 8K context window. That is the 5.4 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Huihui4 8B A4B on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 12.1 GB, so you would need a larger GPU or CPU offloading.

What is the file size of Huihui4 8B A4B GGUF?

It depends on the quant: Q2_K is 3.6 GB, Q3_K_S is 4.1 GB, Q3_K_M is 4.4 GB, Q3_K_L is 4.6 GB, IQ4_XS is 4.6 GB, Q4_K_S is 5.0 GB and 6 more.

What context length does Huihui4 8B A4B support?

The GGUF header lists a trained context length of 262,144 tokens (256K). The KV cache grows with the context you use: about 8.1 GB at 8K and 32.2 GB at 32K.

Where can I download Huihui4 8B A4B GGUF?

The files are on Hugging Face in the mradermacher/Huihui4-8B-A4B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Huihui4 8B A4B use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Does the model support vision tasks?

The model has detected vision ability but no other modalities are supported.

What license applies to this model?

The model is released under the Apache‑2.0 license.

Other GGUFs of Huihui4-8B-A4B

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Huihui models

All Huihui →

Other small models

All small models →