<!-- Markdown mirror of https://getrigbase.com/models/hy4-flash/ . Source of truth is the HTML page. Data licence: CC BY 4.0, please cite RigBase (https://getrigbase.com/models/hy4-flash/). -->
Source: https://getrigbase.com/models/hy4-flash/
Last updated: 2026-12-01

[Models](https://getrigbase.com/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: 1 Dec 2026

Current model 220B total · 12B active 18 measured results fastest plain decode: 37.2 tok/s  [model info ↗](https://huggingface.co/tencent/Hy4-flash)

[Will it fit my GPU?](https://getrigbase.com/can-it-run/) [Best value GPU per euro →](https://getrigbase.com/guides/best-value-gpu-local-llm-europe/)

Real, measured generation speeds for Hy4 Flash on home hardware, fastest first. Different quants/engines aren't directly comparable.

| Build | Quant | Engine | tok/s | Prompt processing (tok/s) | Cost | Source |
|---|---|---|---|---|---|---|
| [Apple M5 Ultra 80-core 256GB (oMLX oQ4h + MTP): Tencent Hy4 Flash holds 52-56 tok/s from 32k to a 200k prompt, 2.6K tok/s prefill](https://getrigbase.com/builds/omlx-m5-ultra-80c-256gb-hy4-flash-oq4h-mtp/) | oMLX oQ4h (4-bit) | oMLX v0.8.4, Lightning MTP | **69.8** ⚡ | 2,717 @16k · est. TTFT @8k ≈3.0 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/enn3c3eh) |
| [Apple M5 Ultra 80-core 256GB (oMLX oQ4h + MTP): Tencent Hy4 Flash holds 52-56 tok/s from 32k to a 200k prompt, 2.6K tok/s prefill](https://getrigbase.com/builds/omlx-m5-ultra-80c-256gb-hy4-flash-oq4h-mtp/) | oMLX oQ4h (4-bit) | oMLX v0.8.4, Lightning MTP | **56.1** ⚡ | 2,704 @32k · est. TTFT @8k ≈3.0 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/enn3c3eh) |
| [Apple M5 Ultra 80-core 256GB (oMLX oQ4h + MTP): Tencent Hy4 Flash holds 52-56 tok/s from 32k to a 200k prompt, 2.6K tok/s prefill](https://getrigbase.com/builds/omlx-m5-ultra-80c-256gb-hy4-flash-oq4h-mtp/) | oMLX oQ4h (4-bit) | oMLX v0.8.4, Lightning MTP | **55.5** ⚡ | 2,674 @64k · est. TTFT @8k ≈3.1 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/enn3c3eh) |
| [Apple M5 Ultra 80-core 256GB (oMLX oQ4h + MTP): Tencent Hy4 Flash holds 52-56 tok/s from 32k to a 200k prompt, 2.6K tok/s prefill](https://getrigbase.com/builds/omlx-m5-ultra-80c-256gb-hy4-flash-oq4h-mtp/) | oMLX oQ4h (4-bit) | oMLX v0.8.4, Lightning MTP | **54.2** ⚡ | 2,562 @195k · est. TTFT @8k ≈3.2 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/enn3c3eh) |
| [Apple M5 Ultra 80-core 256GB (oMLX oQ4h + MTP): Tencent Hy4 Flash holds 52-56 tok/s from 32k to a 200k prompt, 2.6K tok/s prefill](https://getrigbase.com/builds/omlx-m5-ultra-80c-256gb-hy4-flash-oq4h-mtp/) | oMLX oQ4h (4-bit) | oMLX v0.8.4, Lightning MTP | **52.5** ⚡ | 2,623 @128k · est. TTFT @8k ≈3.1 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/enn3c3eh) |
| [M5 Max 128GB (llama.cpp Metal + Tencent patch): Hy4 Flash Q3_K at 50.3 tok/s and Q4_K_M at 48.1 tok/s with MTP at 4K, 37.2 tok/s plain decode at 48k](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/) | Q3_K (AngelSlim, 144.70 GiB incl. Engram table) | llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=2 | **50.34** ⚡ | 743 @4K · est. TTFT @8k ≈11.0 s* |  | [huggingface.co ↗](https://huggingface.co/AngelSlim/Hy4-flash-GGUF/blob/main/README_MAC-Metal.md) |
| [M5 Max 128GB (llama.cpp Metal + Tencent patch): Hy4 Flash Q3_K at 50.3 tok/s and Q4_K_M at 48.1 tok/s with MTP at 4K, 37.2 tok/s plain decode at 48k](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/) | Q3_K (AngelSlim, 144.70 GiB incl. Engram table) | llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=2 | **49.47** ⚡ | 563 @16K · est. TTFT @8k ≈14.6 s* |  | [huggingface.co ↗](https://huggingface.co/AngelSlim/Hy4-flash-GGUF/blob/main/README_MAC-Metal.md) |
| [M5 Max 128GB (llama.cpp Metal + Tencent patch): Hy4 Flash Q3_K at 50.3 tok/s and Q4_K_M at 48.1 tok/s with MTP at 4K, 37.2 tok/s plain decode at 48k](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/) | Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table) | llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=2 | **48.13** ⚡ | 630 @4K · est. TTFT @8k ≈13.0 s* |  | [huggingface.co ↗](https://huggingface.co/AngelSlim/Hy4-flash-GGUF/blob/main/README_MAC-Metal.md) |
| [M5 Max 128GB (llama.cpp Metal + Tencent patch): Hy4 Flash Q3_K at 50.3 tok/s and Q4_K_M at 48.1 tok/s with MTP at 4K, 37.2 tok/s plain decode at 48k](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/) | Q3_K (AngelSlim, 144.70 GiB incl. Engram table) | llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=2 | **47.37** ⚡ | 521 @32K · est. TTFT @8k ≈15.7 s* |  | [huggingface.co ↗](https://huggingface.co/AngelSlim/Hy4-flash-GGUF/blob/main/README_MAC-Metal.md) |
| [M5 Max 128GB (llama.cpp Metal + Tencent patch): Hy4 Flash Q3_K at 50.3 tok/s and Q4_K_M at 48.1 tok/s with MTP at 4K, 37.2 tok/s plain decode at 48k](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/) | Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table) | llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=2 | **45.18** ⚡ | 448 @16K · est. TTFT @8k ≈18.3 s* |  | [huggingface.co ↗](https://huggingface.co/AngelSlim/Hy4-flash-GGUF/blob/main/README_MAC-Metal.md) |
| [M5 Max 128GB (llama.cpp Metal + Tencent patch): Hy4 Flash Q3_K at 50.3 tok/s and Q4_K_M at 48.1 tok/s with MTP at 4K, 37.2 tok/s plain decode at 48k](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/) | Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table) | llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=2 | **44.15** ⚡ | 419 @32K · est. TTFT @8k ≈19.6 s* |  | [huggingface.co ↗](https://huggingface.co/AngelSlim/Hy4-flash-GGUF/blob/main/README_MAC-Metal.md) |
| [Apple M4 Max 40-core 128GB (oMLX oQ4h + MTP): Tencent Hy4 Flash 4-bit at 31.8-40.0 tok/s in under 90 GB](https://getrigbase.com/builds/omlx-m4-max-40c-128gb-hy4-flash-oq4h-mtp/) | oMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp) | oMLX v0.8.3, Lightning MTP | **40.0** ⚡ | 394 @4k · est. TTFT @8k ≈20.8 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/vtq1ai4r) |
| [M5 Max 128GB (llama.cpp Metal + Tencent patch): Hy4 Flash Q3_K at 50.3 tok/s and Q4_K_M at 48.1 tok/s with MTP at 4K, 37.2 tok/s plain decode at 48k](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/) | Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table) | llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), plain decode | **37.2** | 774 @4096 · est. TTFT @8k ≈10.6 s* |  | [huggingface.co ↗](https://huggingface.co/AngelSlim/Hy4-flash-GGUF/blob/main/README_MAC-Metal.md) |
| [Apple M4 Max 40-core 128GB (oMLX oQ4h + MTP): Tencent Hy4 Flash 4-bit at 31.8-40.0 tok/s in under 90 GB](https://getrigbase.com/builds/omlx-m4-max-40c-128gb-hy4-flash-oq4h-mtp/) | oMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp) | oMLX v0.8.3, Lightning MTP | **31.8** ⚡ | 355 @1k · est. TTFT @8k ≈23.1 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/vtq1ai4r) |
| [Mac Studio M3 Ultra 60-core 256GB (oMLX, MTP off): Tencent Hy4 Flash 4-bit at 28.4 tok/s at 1k context, still 24.1 tok/s at 128k](https://getrigbase.com/builds/omlx-m3-ultra-60c-256gb-hy4-flash-oq4h/) | oMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp) | oMLX v0.8.3, MTP off | **28.4** | 568 @1k · est. TTFT @8k ≈14.4 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/0ufd1h3f) |
| [Mac Studio M3 Ultra 60-core 256GB (oMLX, MTP off): Tencent Hy4 Flash 4-bit at 28.4 tok/s at 1k context, still 24.1 tok/s at 128k](https://getrigbase.com/builds/omlx-m3-ultra-60c-256gb-hy4-flash-oq4h/) | oMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp) | oMLX v0.8.3, MTP off | **25.8** | 580 @4k · est. TTFT @8k ≈14.1 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/0ufd1h3f) |
| [Mac Studio M3 Ultra 60-core 256GB (oMLX, MTP off): Tencent Hy4 Flash 4-bit at 28.4 tok/s at 1k context, still 24.1 tok/s at 128k](https://getrigbase.com/builds/omlx-m3-ultra-60c-256gb-hy4-flash-oq4h/) | oMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp) | oMLX v0.8.3, MTP off | **25.4** | 564 @8k · est. TTFT @8k ≈14.5 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/0ufd1h3f) |
| [Mac Studio M3 Ultra 60-core 256GB (oMLX, MTP off): Tencent Hy4 Flash 4-bit at 28.4 tok/s at 1k context, still 24.1 tok/s at 128k](https://getrigbase.com/builds/omlx-m3-ultra-60c-256gb-hy4-flash-oq4h/) | oMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp) | oMLX v0.8.3, MTP off | **24.1** | 530 @128k · est. TTFT @8k ≈15.5 s* |  | [omlx.ai ↗](https://omlx.ai/benchmarks/performance/0ufd1h3f) |

Prompt processing = prefill speed reported by the source, @ prompt length. * est. TTFT @8k is calculated from measured prefill, not measured. [Why it matters](https://getrigbase.com/can-it-run/#prefill).

## 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 ↗](https://huggingface.co/Xylolabs/Hy4-flash-GGUF). 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.
Ad · this space is available **Sponsor this spot: reach people building local AI rigs.** One clearly-labeled slot per page, no tracking scripts.  [Sponsor this spot →](https://getrigbase.com/advertise/#inquiry)

**Rent before you buy:** try this model on a cloud GPU for a few dollars first: [Runpod](https://runpod.io?ref=77qcpl2c) (referral link; sign up with Google to get the new-user bonus)

## Memory math: how much VRAM / RAM does Hy4 Flash need?

Hy4 Flash has **220B parameters**, about **12B active** per token ([source](https://huggingface.co/tencent/Hy4-flash): 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](https://github.com/ggml-org/llama.cpp/blob/master/tools/quantize/README.md)). "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](https://getrigbase.com/can-it-run/).

**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](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/): **48.13 tok/s** (Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table))
- [Apple M5 Max (unified) (128 GB) + 128 GB unified memory](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/): **45.18 tok/s** (Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table))
- [Apple M5 Max (unified) (128 GB) + 128 GB unified memory](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/): **44.15 tok/s** (Q4_K_M (AngelSlim, 156.79 GiB incl. Engram table))
- [Apple M5 Max (unified) (128 GB) + 128 GB unified memory](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/): **50.34 tok/s** (Q3_K (AngelSlim, 144.70 GiB incl. Engram table))
- [Apple M5 Max (unified) (128 GB) + 128 GB unified memory](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/): **49.47 tok/s** (Q3_K (AngelSlim, 144.70 GiB incl. Engram table))
- [Apple M5 Max (unified) (128 GB) + 128 GB unified memory](https://getrigbase.com/builds/m5-max-128gb-hy4-flash-q4km-q3k-llamacpp-metal-mtp-angelslim/): **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](https://getrigbase.com/can-i-run/hy4-flash-on-apple-m3-ultra/) · [Apple M4 Max](https://getrigbase.com/can-i-run/hy4-flash-on-apple-m4-max/) · [Apple M5 Ultra](https://getrigbase.com/can-i-run/hy4-flash-on-apple-m5-ultra/)

Related: [what GPU do you need for 2026 models](https://getrigbase.com/guides/what-gpu-for-qwen3-6-gemma-4-gpt-oss/) · [all builds](https://getrigbase.com/builds/)

**Search answer:** [How much VRAM do you need for Hy4 Flash?](https://getrigbase.com/vram/hy4-flash/) · [Will it fit my GPU?](https://getrigbase.com/can-it-run/)

Speed with and without MTP / DFlash on the same machines: [measured speed-ups](https://getrigbase.com/guides/speculative-decoding-mtp-dflash-speedup/).
