More
Submit build

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.

BuildQuantEnginetok/sPrompt processing (tok/s)CostSource
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 prefilloMLX oQ4h (4-bit)oMLX v0.8.4, Lightning MTP69.8 ⚡2,717 @16k · est. TTFT @8k ≈3.0 s*omlx.ai ↗
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 prefilloMLX oQ4h (4-bit)oMLX v0.8.4, Lightning MTP56.1 ⚡2,704 @32k · est. TTFT @8k ≈3.0 s*omlx.ai ↗
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 prefilloMLX oQ4h (4-bit)oMLX v0.8.4, Lightning MTP55.5 ⚡2,674 @64k · est. TTFT @8k ≈3.1 s*omlx.ai ↗
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 prefilloMLX oQ4h (4-bit)oMLX v0.8.4, Lightning MTP54.2 ⚡2,562 @195k · est. TTFT @8k ≈3.2 s*omlx.ai ↗
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 prefilloMLX oQ4h (4-bit)oMLX v0.8.4, Lightning MTP52.5 ⚡2,623 @128k · est. TTFT @8k ≈3.1 s*omlx.ai ↗
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 48kQ3_K (AngelSlim, 144.70 GiB incl. Engram table)llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=250.34 ⚡743 @4K · est. TTFT @8k ≈11.0 s*huggingface.co ↗
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 48kQ3_K (AngelSlim, 144.70 GiB incl. Engram table)llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=249.47 ⚡563 @16K · est. TTFT @8k ≈14.6 s*huggingface.co ↗
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 48kQ4_K_M (AngelSlim, 156.79 GiB incl. Engram table)llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=248.13 ⚡630 @4K · est. TTFT @8k ≈13.0 s*huggingface.co ↗
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 48kQ3_K (AngelSlim, 144.70 GiB incl. Engram table)llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=247.37 ⚡521 @32K · est. TTFT @8k ≈15.7 s*huggingface.co ↗
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 48kQ4_K_M (AngelSlim, 156.79 GiB incl. Engram table)llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=245.18 ⚡448 @16K · est. TTFT @8k ≈18.3 s*huggingface.co ↗
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 48kQ4_K_M (AngelSlim, 156.79 GiB incl. Engram table)llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), draft-mtp K=244.15 ⚡419 @32K · est. TTFT @8k ≈19.6 s*huggingface.co ↗
Apple M4 Max 40-core 128GB (oMLX oQ4h + MTP): Tencent Hy4 Flash 4-bit at 31.8-40.0 tok/s in under 90 GBoMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp)oMLX v0.8.3, Lightning MTP40.0 ⚡394 @4k · est. TTFT @8k ≈20.8 s*omlx.ai ↗
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 48kQ4_K_M (AngelSlim, 156.79 GiB incl. Engram table)llama.cpp 2cbca389f + Tencent hy4-flash-mac-minimal.patch (Metal), plain decode37.2774 @4096 · est. TTFT @8k ≈10.6 s*huggingface.co ↗
Apple M4 Max 40-core 128GB (oMLX oQ4h + MTP): Tencent Hy4 Flash 4-bit at 31.8-40.0 tok/s in under 90 GBoMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp)oMLX v0.8.3, Lightning MTP31.8 ⚡355 @1k · est. TTFT @8k ≈23.1 s*omlx.ai ↗
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 128koMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp)oMLX v0.8.3, MTP off28.4568 @1k · est. TTFT @8k ≈14.4 s*omlx.ai ↗
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 128koMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp)oMLX v0.8.3, MTP off25.8580 @4k · est. TTFT @8k ≈14.1 s*omlx.ai ↗
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 128koMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp)oMLX v0.8.3, MTP off25.4564 @8k · est. TTFT @8k ≈14.5 s*omlx.ai ↗
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 128koMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp)oMLX v0.8.3, MTP off24.1530 @128k · est. TTFT @8k ≈15.5 s*omlx.ai ↗

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.

QuantFile sizeMean KLD vs BF16Same top token
Q8_0 / E4M3 table228.86 GB0.14588.343%
Q6_K / E4M3 table193.25 GB0.145887.882%
Q5_K_M / E4M3 table176.73 GB0.166487.5%
AngelSlim Q4_K_M168.35 GB0.216185.059%
Q4_K_M / E4M3 table161.17 GB0.212385.078%
Q4_K_S / E4M3 table155.55 GB0.220284.946%
AngelSlim Q3_K below Q4155.37 GB0.296982.392%
NVFP4 / E4M3 table154.95 GB0.251183.814%
Q4_K_M / Q5_0 table141.37 GB0.223585.025%
AngelSlim IQ2_AH below Q4135.00 GB0.732871.353%
Q4_K_M / IQ4_NL table133.45 GB0.233385.049%
IQ4_XS / IQ4_NL table122.58 GB0.236284.422%
Q3_K_M / IQ4_NL table below Q4114.22 GB0.339380.966%
IQ3_M / IQ4_NL table below Q4108.13 GB0.402879.417%
IQ3_XXS / IQ4_NL table below Q4100.53 GB0.469877.304%
IQ2_M / IQ4_NL table below Q491.90 GB0.641273.324%
IQ2_XXS + IQ2_S / MXFP4 table below Q483.07 GB0.834969.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.

Rent before you buy: try this model on a cloud GPU for a few dollars first: Runpod (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: 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.

FormatBits/weightWeightsSmallest common memory size that holds the weights alone
Q8_08.50233.8 GB256 GB
Q6_K6.56180.5 GB192 GB
Q5_K_M5.70156.8 GB192 GB
Q4_K_M4.89134.6 GB192 GB
Q3_K_M4.00109.9 GB128 GB
Q2_K3.1686.9 GB96 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):

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

Search answer: How much VRAM do you need for Hy4 Flash? · Will it fit my GPU?

Speed with and without MTP / DFlash on the same machines: measured speed-ups.