Skip to main content
株式会社オブライト
株式会社オブライト

Hy4 Flash Requirements

~135-168GB at 4-bit, 287GB in FP8 [Tencent 220B MoE, 12B Active, 1M Context, Nov 2026]

Published 2026/11/2314 min read

Hy4 Flash is a ~220B MoE with ~12B active. Weights: BF16 441GB, FP8 287GB, GGUF 4-bit ~135-168GB. Needs multiple H200s or a 256GB-class Mac. Quant memory, how to run, license caveats. Updated Nov 2026.

Hy4 Flash (tencent/Hy4-flash) is a Mixture-of-Experts model with about 220B total parameters and about 12B active per token. The weights are 441GB in BF16, 287GB in FP8, and roughly 135-168GB in 4-bit-class GGUF files. Because all of the weights must sit in memory even though only about 12B are active, it does not fit on a single 24GB or 48GB GPU. The official vLLM recipe uses 8 H200s as its example, but about 63.5B of the parameters are Engram (an N-gram embedding table) that is offloaded to host RAM by design, so the amount held in GPU memory is smaller than the file size suggests. Tencent released the open weights in mid-November 2026 (around November 18), under the custom Tencent Hy License 1.0 rather than Apache 2.0. This article covers a memory table, how MoE and Engram relate, the 1M context and KV cache, hardware by tier, how to run it with vLLM, SGLang, transformers and GGUF, and the license caveats.

Information is based on primary sources as of November 23, 2026 (the Hugging Face model card, config.json, LICENSE and AngelSlim GGUF page, the vLLM recipe, and Tencent's official page). Values shown by the vendor are marked official; values we derived from them are marked estimate. All benchmarks and internal evaluations are Tencent's own published figures, not third-party reproductions.

Memory Requirements by Quantization

FormatWeight size (as shown on HF)Typical hardware
BF16 (tencent/Hy4-flash)441GB8x H200 (official example), with Engram in host RAM
FP8 (tencent/Hy4-flash-FP8)287GB4-8x H200 or 8x H100 (estimate); the official production example uses 8
GGUF Q4_K_M (AngelSlim)168.4GBMac with 256GB+ unified memory, or a 192GB-class GPU setup (estimate)
GGUF SPARK-4Bit (AngelSlim)163GB (Fast variant: 160GB)Speeds are published for an RTX Spark 128GB machine; likely with the Engram part kept outside (estimate)
GGUF Q3_K (AngelSlim)155.4GB192GB-class memory, or a 128GB machine with Engram kept outside (estimate)
GGUF IQ2-AH (AngelSlim)135.0GBSmallest official GGUF; expect lower accuracy. A 128GB machine with Engram kept outside (estimate)

Sizes are the repository listings on Hugging Face. The GGUF Q4_K_M figure combines a main file of about 105GB and a 63.4GB Engram file; Q3_K is 92GB + 63.4GB, and IQ2-AH is 71.6GB + 63.4GB. These are weights only; the KV cache and working memory come on top. AngelSlim describes the GGUFs as compressed versions for end-to-end testing and does not state that they fit in 128GB. The image projector (mmproj, bf16) is a separate file of about 1.04GB.

If you want to check quickly whether it runs on your own GPU or Mac, the VRAM calculator (free, no sign-up) estimates required VRAM from the model, quantization and context length you select. Hy4 Flash is available in its model list.

The official vLLM recipe lists rough totals of 529GB for BF16 and 345GB for FP8, but notes these are conservative estimates (download size of 440.5GB / 287.1GB times 1.2), not measured minimums. It also says that because Engram is offloaded to host RAM, actual GPU usage is lower. In other words, host RAM capacity is a requirement alongside the GPU count.

What Is Hy4 Flash? Model Specs

Hy4 Flash was developed by Tencent's Hy team (formerly Hunyuan). It was offered first through the app and cloud API, and the weights followed about two days later (per TechNode). It is hosted on Hugging Face, ModelScope and GitCode. There are three variants: the instruct BF16 model (Hy4-flash), an FP8 build (Hy4-flash-FP8), and the pretrained-only Hy4-flash-base. It takes text and images as input, outputs text, and supports up to 1M (1,048,576) tokens of context.

ItemDetails (source: model card, config.json)
DeveloperTencent (Hy team)
Total parametersAbout 220B (including 63.5B of Engram; TechNode says about 224B, but we use the card's 220B)
Active parametersAbout 12B per token (11.3B text + 0.43B image encoder)
BreakdownMain body 155.5B / Engram 63.5B / ViT 0.43B / DFly2 (speculative-decoding drafter) 0.85B
Layers42 (first layer dense FFN, remaining 41 MoE), hidden size 3,072, vocabulary 120,832
MoEPer layer, 512 routed experts + 1 shared expert, 16 activated per token; LatentMoE (latent dimension 1,536)
Attention12 Sparse Attention layers + 30 Sliding Window Attention layers (512-token window), MLA (kv_lora_rank 512)
Context lengthUp to 1M (1,048,576) tokens
Reasoning modesreasoning_effort=high (default, thinking on) or no_think; recommended temperature=0.9, top_p=1.0
Image encoderSigLIP2-So400m based (27 layers)
LicenseTencent Hy License, Version 1.0

The model card cites decode speeds above 150 tokens/s when combining megakernels, 4-bit quantization and DFly2 speculative decoding. That is a figure from Tencent's own setup, not a guarantee for your hardware.

MoE vs. Engram: Active 12B Still Needs All the Weights

Reading the 12B active figure as meaning it runs in the memory of a 12B model is a mistake. In an MoE, which experts are chosen for a token cannot be known in advance, so all of the weights must be in memory. Speed follows the active parameters (about 12B), while required memory follows the total (about 220B). That is why the files are 287GB in FP8 and 441GB in BF16.

Hy4 Flash does differ from a typical MoE in one respect. Of the roughly 220B total, 63.5B is Engram: an embedding table of learned bigram and trigram representations retrieved by multi-head hash lookup (stored in FP8, with about 10.3 million hash entries per head). This is a table lookup rather than matrix math, so it does not need to live on the GPU, and the vLLM recipe offloads it to host RAM by default. The real requirement is therefore closer to the following split.

- On the GPU: the 155.5B main body (experts and attention) plus the image encoder. In FP8, excluding Engram, that is on the order of 220GB (estimate)
- In host RAM: Engram, 63.5B (about 63GB in FP8; the GGUF Engram file is also 63.4GB)
- So you need GPU memory plus enough host RAM for Engram (leave headroom, 100GB or more; estimate)
- The GGUF split into a main file and an Engram file appears to follow this structure

1M Context and the KV Cache

The 1M-token context is attractive, but we could not find an official KV-cache size table. The model card gives only relative figures: the KV cache is 1/24 of Hy3 and 1/6 of Hy4. Structurally, MLA (kv_lora_rank 512) compresses the KV into a low-rank form, and 30 of the layers use 512-token Sliding Window Attention, so only the 12 Sparse Attention layers hold KV for the whole context. That points to a smaller KV cache than comparable models, but there is no official gigabyte figure, so we do not give one.

In practice, start with a 32K-128K context and extend it while watching free memory. If you plan to use the full 1M tokens, measure the KV allocation on your own setup before committing.

Hardware by Tier: Data Center, Workstation, Mac, CPU

The following combines the official guidance with our own estimates from the weight sizes; we have not verified it on real hardware. What is official is the vLLM recipe's 8x H200 (tensor parallel 8) example and the range of supported GPUs.

- Data center: the official example is 8x H200 with BF16. Supported GPUs are Hopper and Blackwell (H100, H200, B200, GB200, B300, GB300); AMD Instinct is not supported. FP8 (287GB) fits on 4x H200 (564GB total) on paper, with room left for the KV cache; with H100 (80GB), plan on 8 (estimate)
- Workstation: two RTX PRO 6000 Blackwell (96GB) cards give 192GB, which is in range for a Q4_K_M-class GGUF (168.4GB) including the Engram file (estimate). KV cache and host RAM headroom are extra
- Mac: a Mac Studio with 256GB or 512GB (M3 Ultra) can hold Q4_K_M at 168.4GB (estimate). A 128GB machine would need the Engram part kept outside memory (read from storage or host memory); AngelSlim publishes speeds for a Mac M5 Max 128GB with Q4_K_M and Q3_K but without full conditions
- CPU only: because only a small part is active it should run in principle, but all of the weights must be read, so memory capacity is the first constraint. We could not find measured CPU tokens per second in official or third-party sources

Community quantizations exist, including MLX 4-bit and 8-bit (TensorFold, nace-ai), NVFP4 and EXL3 builds, and quality varies by release. We did not find an unsloth build at the time of writing.

How to Run It: vLLM, SGLang, transformers, GGUF

The commands below are taken from the model card and recipes and have not been verified on real hardware. vLLM (FP8, production example). Eight GPUs with tensor parallelism, with speculative decoding and the parsers enabled.

docker run --gpus all -p 8000:8000 --ipc=host vllm/vllm-openai:hy4-flash tencent/Hy4-flash-FP8 --tensor-parallel-size 8 --speculative-config '{"num_speculative_tokens":5,"method":"dfly"}' --attention-backend FLASHMLA_SPARSE --tool-call-parser hy_v4 --reasoning-parser hy_v4 --enable-auto-tool-choice --port 8000 --served-model-name hy4-flash

SGLang. The image is lmsysorg/sglang:hy4-flash.

sglang serve --trust-remote-code --model-path tencent/Hy4-flash-FP8 --tp 8 --speculative-algorithm DFLY --speculative-dfly-block-size 6 --host 127.0.0.1 --port 8000

transformers. Support has not yet been merged into the main branch, so you install the pull-request branch. Load the model with AutoModelForImageTextToText.

pip install "transformers[torch,vision] @ git+https://github.com/huggingface/transformers.git@refs/pull/50903/head"

GGUF (llama.cpp, Ollama, LM Studio). On Hugging Face, AngelSlim/Hy4-flash-GGUF is listed for local apps such as llama.cpp, Ollama and LM Studio. We could not confirm official support in mainline llama.cpp, so follow the instructions on the AngelSlim GGUF page. Because the Engram part is a separate file, handling may differ from an ordinary single-file GGUF.

Benchmarks and Positioning

The model card publishes the following pretrained (Base) comparison, all from Tencent. Columns: Hy4 flash Base / Hy4 Base / Hy3 preview Base / DeepSeek-V4-flash-Base / DeepSeek-V4-Pro-Base.

BenchmarkHy4 flash BaseHy4 BaseHy3 preview BaseDeepSeek-V4-flash-BaseDeepSeek-V4-Pro-Base
MMLU88.791.687.589.791.1
MMLU-Pro71.173.965.868.673.4
SuperGPQA57.862.752.352.554.8
C-Eval92.095.090.191.993.4
SimpleQA37.557.226.431.352.1
U-MATH69.871.660.957.464.8
MBPP-plus73.774.077.476.879.1

On image Base evaluations, MMMU-Pro is 52.0 for Hy4 flash Base (59.6 for Hy4 Base) and RealWorldQA is 71.1 (72.3). Reading the table: on factual recall (SimpleQA) it trails the larger Hy4 considerably, and on code (MBPP-plus) it falls below Hy3 preview and the DeepSeek models, while on math (U-MATH) it scores high within this comparison.

For the instruct model, Tencent reports an internal WorkIndex (eight evaluation sets) of 42.1 for Hy4 flash, against 39.7 for Hy4 preview and 51.4 for Hy4. Cost per WorkIndex task is said to be about 1/13 of Hy4 preview, 1/20 of Hy4 and 1/8 of DeepSeek-V4.1-Flash. In a blind evaluation by 85 internal users over 259 tasks, satisfaction was 2.79 out of 4, close to Claude Haiku 5.5 at 2.81, at 0.26 yuan per task. Reinforcement learning reportedly cut average output tokens by 50%. Tencent recommends Hy4 flash for everyday work tasks and Hy4 for long software-development tasks. All of these are Tencent's own criteria and tasks, so they should not be read as a general ranking against other vendors' models.

License Caveats: It Is Not Apache 2.0

Hy4 Flash is released under the Tencent Hy License, Version 1.0. It is a modified version based on Apache 2.0, and the license itself states that it is not the Apache License 2.0. This differs from its predecessor Hy4 preview, which was Apache 2.0, so do not embed it commercially on the same assumptions.

- Section 10: a separate license is required if you use it in a MaaS business that offers inference or fine-tuning to third parties and either (a) worldwide revenue over the last 12 months exceeds US$50 million, or (b) the product has more than 100 million monthly active users (contact: hy_partners@tencent.com)
- For internal use only (not providing the model, derivatives or outputs to third parties), this condition does not apply
- Quantized, fine-tuned, distilled and merged versions all count as derivatives
- In the text we read, we did not find regional exclusion clauses for the EU, UK or South Korea. Check the original text for legal decisions and consult a professional for important cases

Differences from Hy4 Preview

ItemHy4 FlashHy4 preview
Architecture~220B, ~12B active (MoE)770B, 49B active (MoE)
LicenseTencent Hy License 1.0Apache 2.0
BF16441GB~1.54TB
FP8287GB~770GB
Around 4-bit~135-168GB (GGUF)~385GB
Realistic hardwareA few H200s, 256GB-class MacMany H200 / B200 GPUs

Details on the preview are in our Hy4 preview requirements guide. With memory needs roughly a quarter to a fifth of the preview's, Hy4 Flash is within reach of individuals and small teams. The larger official Hy4 has also been reported as released, but we have not verified it, so we give no numbers for it here.

Who Should Use It

- Teams that want to run a fairly large model in-house without sending data outside (if you have a few H200s or a Mac Studio with 256GB or more)
- Cost-focused use cases that run everyday business tasks cheaply (Tencent recommends Hy4 flash for everyday work)
- People who want to try document and slide processing with image input locally
- Poor fit: environments with only a single consumer GPU (smaller Gemma- or Qwen-class models are more realistic), use cases that need top factual recall or coding accuracy, and embedded products or MaaS businesses that require Apache 2.0

Frequently Asked Questions

How much memory does Hy4 Flash need?

The weights are 441GB in BF16, 287GB in FP8 and roughly 135-168GB in 4-bit-class GGUF. Even with about 12B active parameters, all of the weights are needed, so it does not fit on a single GPU. The official vLLM example uses 8x H200, and because Engram (63.5B) is offloaded to host RAM, actual GPU usage is lower than the headline figures.

Can I run it on a Mac?

A Mac Studio with 256GB or more of unified memory (such as an M3 Ultra) can hold the GGUF Q4_K_M at 168.4GB (estimate). AngelSlim also publishes speeds on a 128GB Mac M5 Max, but does not state that it fits, and it appears to keep the Engram part outside memory.

How is it different from Hy4 preview?

The preview is 770B with 49B active under Apache 2.0, while Flash is about 220B with about 12B active under the Tencent Hy License 1.0. Memory is far smaller: 441GB vs. about 1.54TB in BF16, and 287GB vs. about 770GB in FP8.

Can I use it commercially?

Yes under the Tencent Hy License 1.0, but it is not Apache 2.0. A separate license is required for a MaaS business offering inference or fine-tuning to third parties with over US$50 million in revenue over 12 months, or for products with over 100 million monthly active users. Internal-only use is not subject to that condition.

How much KV cache does it need?

We could not find an official gigabyte table. The model card says the KV cache is 1/24 of Hy3 and 1/6 of Hy4. MLA and 512-token Sliding Window Attention on 30 layers keep it small by design, but you should measure the actual amount on your own setup, especially at 1M tokens.

References (Primary Sources)

株式会社オブライト

Oflight Inc. is a Tokyo-based IT company providing software development, digital signage, web development, network systems, and IoT/AR/VR technology services.

Feel free to contact us

Contact Us