Models / Hy4 Flash
Best home rig for Hy4 Flash
Quick answer
How much VRAM does Hy4 Flash need?
The weights are about 134.6 GB at Q4_K_M (220B params × 4.89 bits ÷ 8, before context/KV cache). Add memory for context (KV cache) and the runtime. The smallest-memory setup with a measured result here, fully in memory, is Apple M5 Ultra (256 GB) at 69.8 tok/s.
What is the fastest measured hardware for Hy4 Flash?
Apple M5 Ultra: 69.8 tok/s generation (oMLX v0.8.4, Lightning MTP, oMLX oQ4h (4-bit)), from https://omlx.ai/benchmarks/performance/enn3c3eh.
Last updated:
Current model220B total · 12B active18 measured resultsfastest plain decode: 37.2 tok/s model info ↗
Will it fit my GPU? Best value GPU per euro →
Real, measured generation speeds for Hy4 Flash on home hardware, fastest first. Different quants/engines aren't directly comparable.
Prompt processing = prefill speed reported by the source, @ prompt length. * est. TTFT @8k is calculated from measured prefill, not measured. Why it matters.
Quality cost of each quant for Hy4 Flash
How far each quantization drifts from the full-precision (BF16) model, as published by the quant maker. Lower KL divergence (KLD) is closer to the original; same-top-token % is how often the quant picks the same next token as BF16. Q4_K_M is usually the sweet spot; below Q4 the drift grows fast, which is why RigBase only lists Q4-or-higher speed results.
| Quant | File size | Mean KLD vs BF16 | Same top token |
|---|---|---|---|
| Q8_0 / E4M3 table | 228.86 GB | 0.145 | 88.343% |
| Q6_K / E4M3 table | 193.25 GB | 0.1458 | 87.882% |
| Q5_K_M / E4M3 table | 176.73 GB | 0.1664 | 87.5% |
| AngelSlim Q4_K_M | 168.35 GB | 0.2161 | 85.059% |
| Q4_K_M / E4M3 table | 161.17 GB | 0.2123 | 85.078% |
| Q4_K_S / E4M3 table | 155.55 GB | 0.2202 | 84.946% |
| AngelSlim Q3_K below Q4 | 155.37 GB | 0.2969 | 82.392% |
| NVFP4 / E4M3 table | 154.95 GB | 0.2511 | 83.814% |
| Q4_K_M / Q5_0 table | 141.37 GB | 0.2235 | 85.025% |
| AngelSlim IQ2_AH below Q4 | 135.00 GB | 0.7328 | 71.353% |
| Q4_K_M / IQ4_NL table | 133.45 GB | 0.2333 | 85.049% |
| IQ4_XS / IQ4_NL table | 122.58 GB | 0.2362 | 84.422% |
| Q3_K_M / IQ4_NL table below Q4 | 114.22 GB | 0.3393 | 80.966% |
| IQ3_M / IQ4_NL table below Q4 | 108.13 GB | 0.4028 | 79.417% |
| IQ3_XXS / IQ4_NL table below Q4 | 100.53 GB | 0.4698 | 77.304% |
| IQ2_M / IQ4_NL table below Q4 | 91.90 GB | 0.6412 | 73.324% |
| IQ2_XXS + IQ2_S / MXFP4 table below Q4 | 83.07 GB | 0.8349 | 69.314% |
Source: huggingface.co ↗. Xylolabs (GGUF publisher) card, Nov 2026: each GGUF vs a BF16 reference with llama.cpp PR #32517, WikiText-2 KL and top-1 agreement (the card also has chat and held-out sets). The part after '/' is the precision of the Engram table. Sizes include the Engram table. Even Q8_0 picks a different top token than BF16 on 11.7% of WikiText-2 tokens; a second publisher (AtomicChat) measured the same pattern (Q8_0 91.8% same top token) and attributes it to the 16-of-512 expert routing flipping on small rounding differences, so read the table as a ranking. The AngelSlim rows are Tencent's own files measured by Xylolabs. KLD from different publishers, datasets or llama.cpp builds isn't directly comparable.
Memory math: how much VRAM / RAM does Hy4 Flash need?
Hy4 Flash has 220B parameters, about 12B active per token (source: Tencent model card: 220B total (155.5B backbone + 63.5B Engram n-gram embedding table + 0.43B vision + 0.85B DFly2 drafter), ~12B active per token (11.3B text), 512 routed experts / 16 active, sparse + 512-token sliding-window attention, text + image in, 1M context, Tencent Hy License 1.0; released 16-17 Nov 2026). Weight size = parameters × bits-per-weight ÷ 8, before context (KV cache) and runtime overhead.
The 63.5B Engram table is read a few rows per token and can stay in host RAM or be mmapped from SSD (llama.cpp --override-tensor per_layer_token_embd=CPU); 4-bit GGUFs are 155-168 GB including the table. llama.cpp support is the open PR #32517.
| Format | Bits/weight | Weights | Smallest common memory size that holds the weights alone |
|---|---|---|---|
| Q8_0 | 8.50 | 233.8 GB | 256 GB |
| Q6_K | 6.56 | 180.5 GB | 192 GB |
| Q5_K_M | 5.70 | 156.8 GB | 192 GB |
| Q4_K_M | 4.89 | 134.6 GB | 192 GB |
| Q3_K_M | 4.00 | 109.9 GB | 128 GB |
| Q2_K | 3.16 | 86.9 GB | 96 GB |
Bits-per-weight for GGUF quants are llama.cpp's own figures (llama.cpp quantize README). "As measured" rows apply the source's stated bits-per-weight to the parameter count; real files differ slightly because some layers stay at higher precision. Try other combinations in the VRAM calculator.
Why it can still run on smaller GPUs: it is a mixture-of-experts model, so only about 12B of its 220B parameters are used for each generated token. Runtimes such as llama.cpp (--n-cpu-moe), ExLlamaV3 or Project Maya can keep most expert weights in system RAM and only the shared layers and hot experts in VRAM. Then you need VRAM + system RAM ≥ weights, and speed is limited mainly by RAM bandwidth.
Measured on setups with less GPU memory than the Q4_K_M weights (so part of the model lived in system RAM or was streamed from disk):
- Apple M5 Max (unified) (128 GB) + 128 GB unified memory: 48.13 tok/s (Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table))
- Apple M5 Max (unified) (128 GB) + 128 GB unified memory: 45.18 tok/s (Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table))
- Apple M5 Max (unified) (128 GB) + 128 GB unified memory: 44.15 tok/s (Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table))
- Apple M5 Max (unified) (128 GB) + 128 GB unified memory: 50.34 tok/s (Q3_K (AngelSlim, 144.70 GiB incl. Engram table))
- Apple M5 Max (unified) (128 GB) + 128 GB unified memory: 49.47 tok/s (Q3_K (AngelSlim, 144.70 GiB incl. Engram table))
- Apple M5 Max (unified) (128 GB) + 128 GB unified memory: 47.37 tok/s (Q3_K (AngelSlim, 144.70 GiB incl. Engram table))
FAQ
How much VRAM does Hy4 Flash need?
The weights are about 134.6 GB at Q4_K_M (220B params × 4.89 bits ÷ 8, before context/KV cache). Add memory for context (KV cache) and the runtime. The smallest-memory setup with a measured result here, fully in memory, is Apple M5 Ultra (256 GB) at 69.8 tok/s.
What is the fastest measured hardware for Hy4 Flash?
Apple M5 Ultra: 69.8 tok/s generation (oMLX v0.8.4, Lightning MTP, oMLX oQ4h (4-bit)), from https://omlx.ai/benchmarks/performance/enn3c3eh.
Which GPUs have measured results for Hy4 Flash?
Apple M3 Ultra, Apple M4 Max, Apple M5 Ultra.
Can it run on… Apple M3 Ultra · Apple M4 Max · Apple M5 Ultra
Related: what GPU do you need for 2026 models · all builds
Speed with and without MTP / DFlash on the same machines: measured speed-ups.