A generated title card reading 'Tencent Hy4 Flash on a Laptop' with the subtitle 'What the GGUF build actually runs on' and three stat tiles: 50 tok/s on an M5 Max with 128 GB, 126-157 GiB on disk, and llama.cpp PR #32517 still open. The footer reads 'GGUF weights published 25 November 2026. Speeds vendor-reported.'
Engineering & Research

Tencent Hy4 Flash on a Laptop: What the GGUF Build Actually Runs On

Author

jinhao.song

Date Published

Latest models · 20View all models →
Back to all posts

Fifty tokens a second on a 128 GB Mac is the headline number for laptops in Tencent's 25 November 2026 announcement, when it published AngelSlim GGUF builds of Tencent Hy4 Flash and posted laptop and desktop throughput figures for them. It is a real measurement, and it is also the best case on a machine whose memory is smaller than the file it is streaming. The detail that matters before you download as much as 157 GiB of weights is less flattering: the llama.cpp support these numbers depend on has not been merged.

That is not a reason to skip the release. It is the reason to read it properly. Tencent published the quantised files and a table of figures that mixes an engine which already runs the model with one whose support is still a pull request. The runtimes are community work in both cases. Knowing which is which is the difference between an afternoon of setup and a week of building the wrong branch.

What Tencent published, and where

The artefacts landed in a separate repository from the main model — AngelSlim/Hy4-flash-GGUF on Hugging Face — rather than as files inside the tencent/Hy4-flash repo. AngelSlim is Tencent's own compression toolkit, and the model card had already pointed at it for end-to-end testing when the BF16 weights went up on 17 November. What is new today is the spread of quantisation levels and the device numbers attached to them.

• Q4_K_M — 156.79 GiB, the general-purpose four-bit build and the one most of the Mac figures use.

• Q3_K — 144.70 GiB, the build tested on a 128 GB M5 Max.

• IQ2-AH — 125.73 GiB, roughly 69% smaller than the original, and the build used on a 64 GB M4 Pro.

• SPARK-4Bit and SPARK-4Bit-Fast — 151.3 and 148.6 GiB, two four-bit variants tuned for the DGX Spark's unified-memory layout.

For scale, the BF16 release is about 410.27 GiB of tensor data across three repositories. The smallest build here is roughly 30% of that. The licence has not changed: these are derivative weights of a model under the Tencent Hy License 1.0, so the same section 10.2 conditions that apply to the parent apply here. Running one on your own laptop is the case that licence explicitly permits; serving it to strangers at scale is the case that needs a separate agreement.

Screenshot of the AngelSlim/Hy4-flash-GGUF repository page on Hugging Face in English, headed 'Five GGUF builds of Hy4-flash', with a table listing Q4_K_M at 156.79 GiB, SPARK-4Bit at 151.3 GiB, SPARK-4Bit-Fast at 148.6 GiB and Q3_K at 144.70 GiB with their bits-per-weight values, and a sidebar showing an 0.8B parameter model size, the hy_v4_next_dfly architecture and 58 quantizations in the model tree.

Two engines, one upstream PR short

The announcement names two runtimes, and they are not peers. llama.cpp is the upstream project almost every local-inference stack is built on. Strata is a separate engine with its own Hy4 Flash implementation, developed outside Tencent and hosted at Niko1221/Strata; the thread points readers at a hy4-flash-hpc branch of it for machines with more headroom. Neither is a stock install.

llama.cpp's support lives in pull request #32517, "Model: add hy_v4_flash support," which introduces a new hy-v4-flash.cpp, a conversion script, and an mmproj for the vision tower. As of 25 November that pull request is open, not merged. Its own automated review flags two blockers: a RoPE change that would break existing hy_v4 GGUFs, and multimodal position plumbing that is dropped rather than implemented. In practice that means building the contributor's branch, or applying the patch set, before any of the published figures are reproducible.

This is the pattern to expect from a model this new rather than a scandal. Day-zero support usually means a vendor image or a fork plus an open pull request, and the merge follows weeks later once the compatibility questions are settled. The practical consequence for a reader is narrower: the GGUF files are official, the runtime that makes them fast is not yet official, and anything you build today will need rebuilding when #32517 lands.

Strata is a different trade. It exists to run large Mixture-of-Experts models on machines that cannot hold them, using expert caching and SSD-tier offload. A user report on the DGX Spark forum describes one of its offload paths as limited to a single in-flight request, with no prefix cache and a 256K context cap — fine for a laptop, disqualifying for a shared endpoint. The current release line is v0.2.20 with strata-hy4 0.1.66.

The numbers, device by device

Tencent's X thread leads with four figures: up to 39 tokens per second on a DGX Spark, 50 on a 128 GB M5 Max through llama.cpp, 58 on a 24 GB RTX 4090D, and 18 on a 64 GB M4 Pro through Strata. The GGUF card publishes full curves rather than peaks, and the curves are where the caveats live.

• M5 Max, 128 GB, Q3_K, llama.cpp — 50.34 tok/s decode at 4K context, 49.47 at 16K, 47.37 at 32K; prefill 743.2 at 4K. Up to 70 tok/s on code generation.

• M5 Max, 128 GB, Q4_K_M, llama.cpp — 48.13 tok/s at 4K falling to 44.15 at 32K; prefill 629.8 at 4K.

• DGX Spark, 128 GB, SPARK-4Bit-Fast, llama.cpp — 31.95 tok/s at 4K, 33.14 at 16K, 33.39 at 32K; prefill 799 at 4K, and up to 40 tok/s on code.

• DGX Spark, SPARK-4Bit — 25.80 tok/s at 4K rising to 30.30 at 32K.

• RTX 4090D, 24 GB, Strata — the thread's 58 tok/s figure; the card's own Strata table tops out at 47.6 tok/s on code with speculative decoding at 16 GiB of VRAM.

• Mac mini M4 Pro, 64 GB, IQ2, Strata — 17.3 tok/s decode at 8K context, prefill 125–127 tok/s.

Two of those bullets need translating. The Spark's "up to 39" is a peak across workloads, while the card's sustained figure at 32K is 33.4 — both are Tencent's, measured under different conditions, and the gap is the usual difference between a headline and a curve. And the M5 Max numbers are produced from a 144.70 GiB file on a machine with 128 GB of unified memory. The weights are memory-mapped from SSD rather than resident, so the first token pays for page faults even though the steady-state decode looks healthy. If you were hoping a 128 GB laptop holds this model, it does not; it streams it.

A generated scoreboard titled 'Hy4 Flash local decode speed' listing six rows: M5 Max 128 GB Q3_K at 50.3 tok/s, M5 Max 128 GB Q4_K_M at 48.1 tok/s, DGX Spark 4-Bit-Fast at 33.4 tok/s, RTX 4090D 24 GB with Strata at 47.6 tok/s on code, M4 Pro 64 GB with Strata at 17.3 tok/s, and the smallest build on disk at 125.7 GiB. The footer reads 'Decode speeds vendor-reported; 32K context except M4 Pro at 8K.'

What the quantisation costs

Tencent reports the quantised builds within 0.4 points of the original across PPTGenBench, DeepSWE v1.1, APEX-agents v1.1 and AutomationBench. SPARK-4Bit scores 54.1 on PPTGenBench against 54.2 for the reference build, a 0.1-point drop. Those are the vendor's own evaluations, run by the team that also tuned the quantiser, and nobody outside Tencent has reproduced them yet — so treat 0.4 points as an upper bound on quality loss rather than a measured constant.

The more useful observation is structural. Engram, the n-gram embedding tables that account for 63.5B of the model's 220B parameters, is exactly the kind of component that quantises badly: it is a lookup table, and lookup tables lose more from low-bit rounding than dense matrices do. Tencent does not break out Engram precision per file. If you care about long-tail vocabulary and code identifiers — the cases Engram exists to help — compare Q3_K against Q4_K_M on your own inputs before trusting a single average.

The model behind the GGUF

It is worth restating what is being squeezed onto a laptop, because the architecture is the reason any of this is possible. Tencent Hy4 Flash is a 220B-parameter Mixture-of-Experts model with 12B active per token — 11.3B of text parameters plus 0.43B of vision — spread over 42 layers, one dense and 41 sparse. It reads text and images and writes text, and it accepts a 1,048,576-token context.

The three design choices that make a 220B model laptop-shaped are a hybrid attention layout that interleaves sparse attention with a 512-token sliding window at a 1:3 ratio, a LatentMoE that routes 16 of 512 experts in a lower-dimensional space, and Engram's hashed bigram and trigram tables. Tencent claims the resulting KV cache is one twenty-fourth of Hy3's and one sixth of Hy4's. That claim is vendor-reported and unreproduced, but it is the claim the local builds depend on.

Local or hosted: the arithmetic

The honest comparison is not "local versus cloud" in the abstract; it is what each costs you for the work you actually do. On our catalogue, tencent/hy4-flash is $0.07 per million input tokens, $0.281 per million output, and $0.003 per million cached input, at list price with no markup on top. A 100,000-token document with a 5,000-token answer costs about 0.84 cents, and our own seven-day telemetry puts the median first token at 3.69 seconds and the 95th percentile at 10 seconds. The same job locally costs an afternoon, 126 to 157 GiB of disk, and — on the hardware in Tencent's own table — somewhere between 17 and 50 tokens per second, which for a 5,000-token answer is between 100 seconds and five minutes.

That is not an argument against local inference. It is an argument for being specific about why you want it: offline operation, data that cannot leave the building, or a workload where the per-token price dominates. If the reason is cost at low volume, hosting wins by a wide margin; if the reason is a regulated document set, no hosted price competes. The middle case — wanting to evaluate the model before committing a production path to it — is where having both matters, and it is the case a single endpoint with automatic failover is built for: call the hosted model today, keep the local build for the workloads that need it, and switch per request rather than per contract.

Screenshot of the OrcaRouter Hy4 Flash model page showing the tencent/hy4-flash id, a 16 November 2026 release date, a 1M-token context window, $0.07 input and $0.28 output per million tokens, $0.0030 per million cache reads, and a 3.69-second median time to first token.

What would change this

Three things, in order of importance. The llama.cpp pull request merging would turn today's build instructions into a one-line install and make the published curves reproducible by anyone. Transformers support landing in main — the model card currently pins a pull request commit, #50903 — would do the same for the Python path. And an independent lab running the quantised builds would tell us whether the 0.4-point claim survives contact with someone else's harness.

Until then, the accurate summary is this: Tencent has published real quantised weights and real measurements, on runtimes you have to build yourself, for a model that is genuinely small enough to be interesting on a workstation. The files are the solid part. The installation story is not yet.

Compared in this article1

Detected from this article · Benchmarks: Artificial Analysis · updated daily