Hy4 flash
Hy4 flash needs roughly 188.7 GB VRAM at Q4_K_M quantization (492.9 GB at FP16). 8 GPUs we track can run it fully in VRAM at 8k context.
8 GPUs run this natively · 1 with CPU offload
- Q4_K_M total
- 188.7 GB
- at 8k context
- Smallest GPU
- 256 GB
- Apple M5 Ultra (256GB), at Q4_K_M
- KV cache, full context
- 14.5 GB
- 12 of 42 layers grow with context, 30 capped at 512 tokens
- Inputs
- Text · Image
- Tencent Hy License 1.0, released November 2026
- Engram tables
- 63.36 GB
- the same 8-bit shard in every GGUF build
- Attention pattern
- 30 local : 12 sparse
- 512-token sliding window
- Experts
- 16 of 512
- routed per token, plus 1 shared
Hy4 flash is a Mixture of Experts (MoE) model with 220B total parameters but only 12B active per token developed by Tencent. Tencent announced Hy4 flash on November 16, 2026 as the low-cost member of its Hy4 family and opened the weights the next day under the Tencent Hy License, an Apache 2.0 derivative that only asks model-as-a-service businesses above US$50 million in revenue or 100 million monthly users for a separate licence. It is a 220B-parameter mixture of experts that routes each token to 16 of 512 experts plus a shared one, so about 12B parameters do the work per token. Two architectural choices set it apart. First, 63.5B of the 220B are Engram tables: hashed lookup tables of word-pair and word-triple embeddings, read a handful of rows at a time at four points in the network. Second, 30 of the 42 attention layers only look at the last 512 tokens; the other 12 use sparse attention over the full 1M-token context. It reads text and images.
To run Hy4 flash locally: the Engram tables make the download bigger than a 12B-active model suggests. Tencent's own GGUF repo (AngelSlim) ships every build as two files, and the second is always the same 63.36 GB of 8-bit Engram tables, so the Q4_K_M build is 168.35 GB and even the smallest 2-bit-class build is 135.0 GB. With KV cache and overhead, Q4_K_M needs 188.7 GB at an 8k context, which one 288 GB B300, two H200s, three H100s or a 256 GB Mac Studio can hold; a single B200 or two RTX Pro 6000s fall just short. This site counts the Engram tables as resident memory. AngelSlim reports running Q4_K_M on a 128 GB M5 Max at about 48 tokens per second, with a patched llama.cpp that memory-maps the file, which only works if most of the table stays on the SSD. As a MoE model, inference speed depends on active parameters (12B) rather than total size.
Tencent tuned it for everyday office agent work and says so: its recommendation is deep search, document processing, slide creation, simple frontend demos and computer use, with the full Hy4 for long software-engineering tasks. Its own table bears that out. Against Qwen3.8-Flash-Next it leads on OSWorld 2.1 (68.1 against 58.8), APEX-Agents (63.1 against 57.6) and AutomationBench (52.2 against 49.3), and trails on Terminal-Bench 4.0 (19.2 against 29.5) and ProgramBench (16.0 against 22.0). In a blind test with 85 of Tencent's WorkBuddy users it scored 2.79 out of 4 for satisfaction, against 2.81 for Claude Haiku 5.5. The pretrained base model scores 71.1 on MMLU-Pro (5-shot), but Tencent published no MMLU-Pro, GPQA Diamond or SWE-bench score for the instruct model, so it has no headline score on this site. All figures are Tencent's own.
Three short-sighted layers for every one that sees everything
Hy4 flash's 42 layers open with two sparse-attention layers, then repeat one block ten times: three sliding-window layers that only look at the last 512 tokens, then one sparse-attention layer that can reach back across the whole 1M-token context. Every layer stores its keys and values in compressed form (Multi-head Latent Attention, the design DeepSeek introduced), and every layer after the first routes each token to 16 of 512 small experts.
12 of 42 layers keep a KV cache that grows with the full context. 30 more cap their cache at a fixed 512-token window, no matter how long the context gets.
Once a conversation passes 512 tokens, the 30 sliding-window layers stop growing, so only the 12 sparse layers add to the cache, at about 13.8 KB per token on this site's math. The sparse layers' indexer chooses which 2,048 past tokens each query reads, which saves compute, but the cache it chooses from still holds every token. In other words: a token costs the memory of 12 layers instead of 42.
What the full 1M-token window costs
At everyday lengths the cache is a rounding error next to 168.35 GB of weights: 0.13 GB at 8k context and 1.83 GB at 128k. The chart runs out to the full 1,048,576-token window, where the sliding-window layers make a real difference.
KV cache only, at FP16. Weights and activation overhead sit on top of these figures.
Filling the whole window costs 14.5 GB of KV cache, against 50.7 GB if every layer saw the full context. With Q4_K_M weights that is a full-window total of 204.8 GB instead of 245.4 GB, and only 16.1 GB more than the 188.7 GB needed at 8k. In practice: a 256 GB Mac Studio or one B300 that holds the model at short context still holds it with the full million tokens loaded.
VRAM at each quantization
Hy4 flash natively supports a longer context window, but the table below is capped at 8k for comparability; its hybrid attention stack keeps KV cache growth well below linear.
| Quant | Weights | KV cache | Total |
|---|---|---|---|
| FP32 | 880.0 GB | 0.13 GB | 985.8 GB |
| BF16 | 440.0 GB | 0.13 GB | 492.9 GB |
| FP16 | 440.0 GB | 0.13 GB | 492.9 GB |
| Q8_0est | 246.6 GB | 0.13 GB | 276.3 GB |
| Q6_Kest | 204.9 GB | 0.13 GB | 229.6 GB |
| Q5_K_Mest | 186.1 GB | 0.13 GB | 208.6 GB |
| Q4_K_Mrec | 168.3 GB | 0.13 GB | 188.7 GB |
| Q3_K_M | 155.4 GB | 0.13 GB | 174.2 GB |
| Q2_K | 135.0 GB | 0.13 GB | 151.3 GB |
| NVFP4cuda | 162.5 GB | 0.13 GB | 182.2 GB |
Shown at 8k context with FP16 KV cache. NVFP4 needs a CUDA GPU to run. Toggle TurboQuant in the calculator to view compressed KV cache numbers.
Benchmarks
Independent benchmark scores for Hy4 flash are not yet listed on the Open LLM Leaderboard v2. See the HuggingFace model card for reported evaluations.
Against Qwen3.8-Flash-Next, the closest open rival
Qwen3.8-Flash-Next is the model to compare it with. It also bolts a large n-gram embedding table onto a sparse mixture of experts (180B total, 51B of it the table), it fits the same 256 GB machines, and it ranks first on this site's board for them among the open models in Tencent's comparison table. Tencent's numbers put Hy4 flash ahead on computer use and office agents, and behind on coding.
Tencent's appendix table on the Hy4 flash model card (Hugging Face, November 2026), with every model run by Tencent at its highest reasoning setting. None of these suites has a field in this site's benchmark data, and none had been reproduced independently at time of writing.
The widest lead is OSWorld 2.1, by 9.3 points, which fits Tencent's pitch of a model for operating a desktop and editing office files. The widest gap the other way is Terminal-Bench 4.0, 10.3 points behind, and on that suite DeepSeek V4.1 Flash 1017 scores 40.0, more than twice Hy4 flash. Tencent's table also prices every run with each vendor's API rates, and Hy4 flash is the cheapest per task on all nine rows, but that is a cloud-pricing result, not something that carries over to your own hardware.
GPUs that run Hy4 flash natively (8)
- NVIDIA B300 288GBNVFP4 · 122.2 t/s
- NVIDIA B200 180GBQ2_K · 135.3 t/s
- AMD Instinct MI300XQ3_K_M · 78.6 t/s
- Apple M5 Ultra (512GB)BF16 · 29.1 t/s
- Apple M5 Ultra (256GB)Q4_K_M · 52.8 t/s
Show 3 more
- Apple M3 Ultra (512GB)BF16 · 21.7 t/s
- Apple M3 Ultra (256GB)Q4_K_M · 42.6 t/s
- Apple M2 Ultra (192GB)Q3_K_M · 44.1 t/s
Plus 1 GPU that runs it with CPU offload (slower)
- NVIDIA H200 141GBQ2_K · 39.6 t/s
Cloud GPU Rental
Cheapest way to run Hy4 flash: 4× A100 80GB at Q4_K_M, ~77 tok/s, from $4.76/hr.
Pay by the hour · no contract · pods start in about a minute.
Rent this setup on RunPod ↗ (+$5 signup credit)Prices as of Nov 20, 2026. Rates change; check RunPod for current pricing.
Affiliate link: CanItRun may earn a commission. Doesn't affect the fit calculation above.
Notes
Tencent's cheapest Hy4 model: a 220B-parameter mixture of experts that reads about 12B parameters per token, takes text and images, and has a 1M-token context window. It was announced on November 16, 2026, with open weights released the next day under the Tencent Hy License (Apache 2.0 terms, plus a separate licence for model-as-a-service businesses with over US$50 million in revenue or 100 million monthly users). 63.5B of the 220B parameters are Engram tables, lookup tables of word-pair and word-triple embeddings that the model reads a few rows from per token. They stay 8-bit in every GGUF build, so even the smallest download, a 2-bit-class build, is about 135 GB. Attention is a hybrid: 30 of its 42 layers only look at the last 512 tokens, which keeps the KV cache small. Tencent pitches it for everyday office agent work (documents, slides, search, computer use) rather than hard coding, and reports a blind-test satisfaction score close to Claude Haiku 5.5. On its own agent table it trails DeepSeek V4.1 Flash 1017 on coding (Terminal-Bench 4.0 19.2 against 40.0) while costing much less per task. None of its published scores is a benchmark this site records, so the benchmark fields are empty.
Compare Hy4 flash with other models
How to run Hy4 flash locally
Q4_K_M needs 188.7 GB: needs a 288 GB or larger workstation or datacenter GPU, or several cards pooled.
llama.cpp (pull request #32517, not merged yet)
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
git fetch origin pull/32517/head:hy4-flash && git checkout hy4-flash
cmake -B build -DGGML_CUDA=ON # drop -DGGML_CUDA=ON on a Mac, Metal is on by default
cmake --build build --config Release -j
# Download both shards of the Q4_K_M build from AngelSlim/Hy4-flash-GGUF, then:
./build/bin/llama-server -m Hy4-flash-Q4_K_M-00001-of-00002.gguf \
-c 32768 -ngl 99 --jinja --temp 0.9 --top-p 1.0 --port 8080
# Thinking is on by default (reasoning_effort "high"). For direct answers add:
# --chat-template-kwargs '{"reasoning_effort":"no_think"}'
# For image input, also download mmproj-Hy4-flash-bf16.gguf and add --mmproj.LM Studio: Ollama and LM Studio cannot load it yet: llama.cpp support lives in an unmerged pull request, and AngelSlim publishes separate patches for Macs and for DGX Spark (its Spark build uses the SPARK-4Bit file, a 162.51 GB NVFP4-style GGUF). On servers Tencent's recommended route is vLLM (the vllm/vllm-openai:hy4-flash image) or SGLang (lmsysorg/sglang:hy4-flash) serving the FP8 checkpoint across 8 GPUs with the built-in DFly2 speculative decoder.
Why this quantization? Q4_K_M is the build AngelSlim calls the safe default, and it is the one this page's numbers use: 168.35 GB on disk (104.99 GB of model plus a 63.36 GB Engram shard), 188.7 GB in total at an 8k context. Going smaller buys less than usual, because the 63.36 GB Engram shard is identical in every build: the Q3_K file saves 13.0 GB and the IQ2-AH file 33.35 GB. In the table above, the Q3_K_M row is AngelSlim's Q3_K file (mixed Q3_K and Q4_K experts) and the Q2_K row is its IQ2-AH file. No Q5, Q6 or Q8 GGUF has been published, so those rows are estimates.
Who is Hy4 flash for?
People with a 256 GB Mac Studio, a 288 GB B300, or two or three datacenter GPUs who want a cheap-to-run open model for office agent work: editing documents and slides, searching, and operating a desktop through screenshots.
Best for
- Computer-use agents: Tencent reports OSWorld 2.1 at 68.1, ahead of Qwen3.8-Flash-Next's 58.8
- Document, slide and spreadsheet editing workflows, the tasks Tencent built its WorkIndex evaluation around
- Long inputs on modest memory: the full 1M-token window adds 14.5 GB of KV cache on this site's math
- Image questions alongside text, through the separate vision projector file
Not ideal for
- Terminal-heavy coding agents: Tencent's own Terminal-Bench 4.0 score is 19.2, and it points coding users to the full Hy4
- Any single consumer GPU: even the smallest build is 135.0 GB
- Plug-and-play desktop apps, until llama.cpp merges support and Ollama or LM Studio pick it up
So, should you run it yourself?
If you own a 256 GB Mac Studio, yes, this is one of the more practical big models for it: Q4_K_M needs 188.7 GB at 8k context and 204.8 GB with the full 1M-token window, and this site estimates about 52.8 tokens per second on an M5 Ultra and 42.6 on an M3 Ultra, because only about 12B parameters are read per token. On NVIDIA it takes one 288 GB B300 (about 120 tokens per second) or a pool of two H200s or three H100s. A single 180 GB B200 or two RTX Pro 6000s only fit the 135.0 GB IQ2 build, which is below the quality this site recommends. The 128 GB question is the interesting one. This site says no, because it counts all 168.35 GB of the Q4_K_M file as memory the model needs. Tencent's own AngelSlim team reports about 48 tokens per second on a 128 GB M5 Max and about 26 to 33 on a DGX Spark, with patched llama.cpp builds. The file is bigger than either machine's memory, so that presumably relies on llama.cpp memory-mapping it and leaving most of the rarely read 63.36 GB Engram shard on the SSD. Treat that as a promising vendor result rather than a guarantee, and expect to build llama.cpp from a pull request until support is merged.
Frequently asked questions
- What are the VRAM requirements for Hy4 flash?
- Hy4 flash requires approximately 188.7 GB of VRAM at Q4_K_M quantization, 276.3 GB at Q8 (an estimate, since no Q8 build has been published), and 492.9 GB at FP16. These numbers assume 8k context window; its hybrid attention stack caches far fewer than all layers, so VRAM grows much slower than linearly with context.
- How many parameters does Hy4 flash have?
- Hy4 flash has 220 billion total parameters, but only 12 billion are active per token thanks to its Mixture of Experts (MoE) architecture. This makes inference significantly faster than the total parameter count suggests.
- Can Hy4 flash run on a 16 GB GPU?
- No. At Q4_K_M, Hy4 flash needs 188.7 GB of VRAM, more than 16 GB. You will need a multi-GPU server.
- Can Hy4 flash run on a 24 GB GPU?
- No. Even at Q4_K_M, Hy4 flash needs 188.7 GB. Consider a multi-GPU server with 189 GB+ of combined VRAM.
- What is the highest-quality quantization of Hy4 flash that fits in 24 GB of VRAM?
- Hy4 flash cannot fit in 24 GB of VRAM at any standard quantization level. The minimum needed is 151.3 GB at Q2_K.
- What GPU do I need to run Hy4 flash locally?
- You need a multi-GPU server. At Q4_K_M, Hy4 flash needs 188.7 GB VRAM, more than any single consumer GPU. That's roughly 3x 80 GB datacenter GPUs (H100, A100, or similar) pooled together.
- Can I run Hy4 flash in the cloud?
- Yes. The cheapest RunPod setup we found that holds Hy4 flash entirely in GPU memory at 8k context is 4× A100 80GB at Q4_K_M, at roughly 77.4 tokens per second and from $4.76 per hour for the whole pod. Prices as of Nov 20, 2026; RunPod rates change, so check their pricing page for the current figure.
- How much memory does Hy4 flash need?
- With the recommended Q4_K_M build, 188.7 GB at an 8k context: 168.35 GB of weights plus KV cache and runtime overhead. Filling the full 1,048,576-token window raises that to 204.8 GB. The smallest published build, IQ2-AH, is 135.0 GB of weights and needs 151.3 GB in total at 8k context.
- Why is Hy4 flash so large if only 12B parameters are active?
- Because all 220B parameters have to be loaded even though each token only uses about 12B of them, and 63.5B of the 220B are Engram tables, lookup tables of word-pair and word-triple embeddings. Tencent's GGUF builds keep those tables 8-bit in every file, as a fixed 63.36 GB second shard, which is why the 2-bit-class build is still 135.0 GB and only 33.35 GB smaller than Q4_K_M.
- Can Hy4 flash run on a 128 GB Mac or a DGX Spark?
- Not by this site's math, which counts the whole 168.35 GB Q4_K_M file as resident memory. Tencent's AngelSlim team reports otherwise: about 48 tokens per second decoding on a 128 GB M5 Max with Q4_K_M, and about 26 to 33 tokens per second on a DGX Spark with its 162.51 GB SPARK-4Bit build, using patched llama.cpp builds that memory-map the file so that most of the Engram tables can stay on the SSD. That is the vendor's own measurement on its own patches; independent reports had not appeared at time of writing.
- Can I run Hy4 flash with Ollama or LM Studio?
- Not yet. Support for its architecture is in llama.cpp pull request #32517, which had not been merged at time of writing, so you build llama.cpp from that branch and load AngelSlim's GGUF files yourself. Ollama and LM Studio will need that support merged first. On GPU servers, Tencent provides vLLM and SGLang images for its FP8 checkpoint.