Run Hy4 on M5 Ultra

Hy4 runs at 13 tok/s on a 512 GB M5 Ultra, a community run reported by omlx.ai (MLX, 4-bit, 1k context). It needs about 422 GB of unified memory. It is Tencent's 770B mixture-of-experts model (49B active), released under the Tencent Hy License licence.

Speed
community13
tok/s
First Token
—
seconds
RAM Needed
422
GB minimum
Engine
MLX
of this figure
Want to run Hy4 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 secondcommunity13 tok/s
Provenancecommunity run · omlx.ai
Quantization4-bit
EngineMLX
Prompt processing (prefill)community358 tok/s at 4K context
Context1k
Figure dated2026-11-24
Minimum RAM422 GB
Parameters770B MoE (49B active)
Chip bandwidth1228 GB/s

Every figure for Hy4 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 (422 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
community13 tok/s4-bitMLX512 GB1komlx.ai80-core GPU. oMLX v0.8.3, MTP/DFlash off; Hy4-MLX-4bit; 419.9 GB peak (467.6 GB at 32k). 12.3 tok/s at 4k, 12.0 at 32k.
Provenance key
sourced
Published figure — vendor or press review
estimated
community
Linked individual run — blog, forum or submission

Speed by context depth: Hy4 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)@4K@8K@16K@32KPrefill
MLX · 4-bit · 512 GB Mac · omlx.aicommunity13 tok/s
1k
community12.3 tok/scommunity12.2 tok/scommunity12.1 tok/scommunity12 tok/scommunity358 tok/s
at 4K

Setup: run Hy4 on a Mac

Ollama — the index has not verified an Ollama tag for Hy4, 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 13 tok/s figure above came from MLX at 4-bit; 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.

About Hy4

Tencent's final Hy4 (weights 20 Nov 2026), replacing the August preview: a 770B MoE with 49B active text parameters plus a 1.23B vision encoder, 1M context, now under the Tencent Hy License instead of Apache 2.0 (Model-as-a-Service operators above US$50M revenue or 100M monthly users need a separate licence). Card: DeepSWE v1.1 74.9, Terminal-Bench 4.0 44.4 (Claude Code harness); base MMLU 91.6. It needs a 512 GB Mac Studio: a 4-bit MLX build peaked at 420 GB in oMLX 0.8.3, where a community run measured 13.0 tok/s on an M5 Ultra (MTP off). oMLX 0.8.1+ runs it; Tencent's official GGUFs still point to an unmerged llama.cpp branch, and Ollama is cloud-only.

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

Memory by context length

Estimated, not measured: the index’s minimum for Hy4 (422 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 on all 78 layers (kv_lora_rank 512 + rope 64); DSA indexer keys not counted; runtimes that expand MLA to per-head K/V use far more. 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.7 GB~422.4 GB~422.2 GB512 GB Macsame
32K~2.9 GB~424.6 GB~423.3 GB512 GB Macsame
64K (coding-agent context)~5.9 GB~427.5 GB~424.8 GB512 GB Macsame
128K~11.8 GB~433.4 GB~427.7 GB512 GB Macsame

System requirements

Macs with the M5 Ultra

🛒 Get a Mac that runs Hy4

Hy4 needs about 422 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 stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard