Run Hy4 flash on M5 Ultra

Hy4 flash runs at 41 tok/s (40.6 as recorded) on a 256 GB M5 Ultra, a community run reported by omlx.ai (MLX, oQ4h, 1k context). It needs about 134 GB of unified memory. It is Tencent's 220B mixture-of-experts model (11.3B active), released under the Tencent Hy License licence.

Speed
community41
tok/s
First Token
community1.396
seconds
RAM Needed
134
GB minimum
Engine
MLX
of this figure
Want to run Hy4 flash faster — or step up to bigger models? Find your Mac →

The figure

This is a community run: a real run, reported by its source and linked below. The index records it as given and never adjusts it.

MetricValue
Tokens per secondcommunity41 tok/s
Provenancecommunity run · omlx.ai
QuantizationoQ4h
EngineMLX
Time to first token1.396s
Prompt processing (prefill)community2328 tok/s at 4K context
Context1k
Figure dated2026-11-26
Minimum RAM134 GB
Parameters220B MoE (11.3B active)
Chip bandwidth1228 GB/s

Every figure for Hy4 flash on the M5 Ultra

Each row as the index holds it, with its source. “Mac RAM” is the memory of the Mac a run used, not the model’s requirement (134 GB). The headline figure follows the reference rule: the lower-median measured plain-decode run at 5 bits or fewer (a run whose quant was not stated counts only when no stated-quant run qualifies), else the estimate; a run marked “not used to anchor estimates” is listed here but never becomes the headline.

SpeedQuantEngineMac RAMContextSourceNote
community40.6 tok/soQ4hMLX256 GB1komlx.ai80-core GPU. oMLX v0.8.3, MTP/DFlash off; Hy4-flash-oQ4h-mtp (132.4 GB for 220.25B = ~4.81 bpw) (MTP head not used); 124.3 GB peak. 37.0 tok/s at 4k.
Provenance key
sourced
Published figure — vendor or press review
estimated
community
Linked individual run — blog, forum or submission

Speed by context depth: Hy4 flash on the M5 Ultra

Measured figures only, each from its source’s own session; the index does not estimate long-context or prefill speed, so a missing cell is —. Each @ column is plain decode with that many tokens already in the prompt, from the same session as the row’s short-context figure: decode slows as the KV cache it reads grows. Prefill is prompt processing, the tokens per second a runtime reads a prompt at; with long agent contexts it sets how long you wait before the first token.

RunDecode (row)@4KPrefillTTFT
MLX · oQ4h · 256 GB Mac · omlx.aicommunity40.6 tok/s
1k
community37 tok/scommunity2328 tok/s
at 4K
community1.396 s

Setup: run Hy4 flash on a Mac

Ollama — the index has not verified an Ollama tag for Hy4 flash, so it doesn’t print one (a guessed tag fails with “pull model manifest: file does not exist”). Search the Ollama library →

MLX — pick a build from Hugging Face’s MLX listings, then run it with its repo id:

pip install -U mlx-lm
mlx_lm.generate --model <repo-id> --prompt "Hello"

Downloads: Hugging Face repo → · Hugging Face model card →

The 41 tok/s figure above came from MLX at oQ4h; other runtimes and quants run at different speeds.

Prefer a GUI? LM Studio downloads GGUF and MLX builds in one click. Step by step: install Ollama on a Mac.

Hy4 flash on other Apple Silicon chips

ChipSpeedQuantEngineBandwidth
M5 Maxestimated22 tok/sQ4_K_M—614 GB/s

For the estimated figures here, the bandwidth formula’s typical error for large MoEs is ±31% (mostly below the measured figure), against 77 measured runs of 22 models (how it is computed).

About Hy4 flash

Tencent's 220B MoE (17 Nov 2026) under the Tencent Hy License (Apache-derived; Model-as-a-Service operators above US$50M revenue or 100M monthly users need a separate licence): 155.5B backbone plus a 63.5B 'Engram' n-gram table, 11.3B active, text and image in, 1M context. Card: DeepSWE v1.1 64.6 (mini-SWE-agent), Terminal-Bench 4.0 19.2; base MMLU 88.7. The oQ4h MLX build is 132 GB, so it needs a 192 GB Mac fully loaded; oMLX can leave the Engram table on the SSD, which lets a 128 GB M5 Max run it (29.9 tok/s, 87.5 GB peak, community). oMLX 0.8.1+ runs it and llama.cpp has its architecture from b12755 (v1.1.0); a community run measured 40.6 tok/s on a 256 GB M5 Ultra (4-bit, MTP off). Tencent's AngelSlim 48 tok/s M5 Max figure uses MTP drafting.

Tencent Hy License licence · 220B MoE · 1000K context · LLMCheck capability 43/50 · see its leaderboard rank →

Memory by context length

Estimated, not measured: the index’s minimum for Hy4 flash (134 GB — the weights at the quant that fits, plus ~2 GB) plus the KV cache for that many tokens, computed from its config.json. MLA (kv_lora_rank 512 + rope 64) on 12 DeepSeek-sparse layers + 30 sliding-window layers (window 512); sparse-indexer keys not counted. A 16-bit KV cache is the default in llama.cpp, Ollama, LM Studio and mlx-lm; a q8 cache halves the KV part. Coding agents hold 64K tokens or more. Runtimes also add a buffer that grows with context, so leave a few GB spare. macOS lets the GPU use only part of a Mac’s memory by default (figures for an M5 Ultra Mac, which runs macOS 26 or later): “fits” means within the GPU memory a Mac of that tier can use with the limit raised, a tier tagged raise GPU limit fits only after sudo sysctl iogpu.wired_limit_mb raises it (the tooltip has the exact command), and the last column is the smallest Mac memory size whose default limit holds it (the GPU memory limit).

ContextKV cache (16-bit)RAM neededRAM, q8 KVSmallest tier that fitsWithin the default GPU limit
8K~0.1 GB~134.1 GB~134.0 GB192–256 GB Macsame
32K~0.5 GB~134.4 GB~134.2 GB192–256 GB Macsame
64K (coding-agent context)~0.9 GB~134.8 GB~134.4 GB192–256 GB Macsame
128K~1.8 GB~135.8 GB~134.9 GB192–256 GB Macsame

System requirements

Macs with the M5 Ultra

🛒 Get a Mac that runs Hy4 flash

Hy4 flash needs about 134 GB of unified memory. These Apple Silicon Macs have enough to run it. Apple builds the higher-memory configurations to order; Amazon does not stock them, so the used option links Amazon Renewed listings.

As an Amazon Associate, LLMCheck earns from qualifying purchases. These affiliate links cost you nothing extra and help keep the LLMCheck index free.

Compare More Models

See how Hy4 flash stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard