
SUSHI
A local AI server for low-bit, very high quality Sushi quants, using custom Sushi Trellis Quant (STQ) or EXL3-Affine hybrid converter. It is a detached fork of ddalcu's mlx-serve. Sushi runs stand-alone and also as a guest engine inside mlx-serve, Apple Silicon M1+ and macOS 26.2 or later are required.
Model support list
Usage see recommended launch commands and coding agent usage. Which pack suits your Mac, and running a bigger one from the SSD: Choosing a pack and streaming.
- DeepSeek-V4.1-Flash-1017-Sushi-STQ-1.75bpw (pack revision 2.0, requires 96 GB+ and sushi 1.5.0 or later, experts streamed, text and image input; on M5 Macs it generates on Sushi Cooler, sushi's own engine, and
--ds41-mlx-engineor the model's settings page go back to MLX) - DeepSeek-V4.1-Flash-1017-Sushi-STQ-2.7bpw (requires 64 GB+ and sushi 1.8.1 or later, every expert resident on 256 GB, streamed with
--expert-cache-biason 64 and 96 GB, 13-20% faster decode from 1.7.4 on an M5 Ultra, KLD 0.0607 against the 1.75bpw pack's 0.1525, text and image input; generates on Sushi Cooler) - Hy4-Flash-Sushi-STQ-4bpw (requires 96 GB+ and sushi 1.8.0 or later, up to a 1M context on 128 GB, KLD 0.0194, text and image input; generates on Sushi Cooler,
sushi pull hy4-flash) - Hy4-Flash-Sushi-STQ-2.25bpw (requires 64 GB+ and sushi 1.8.1 or later, resident on a 64 GB Mac with about 46 GB free, streamed otherwise and on 48 GB, KLD 0.1022, text and image input; generates on Sushi Cooler,
sushi pull hy4-flash:2.25bpw) - Qwen3.8-Flash-Next-Sushi-2bpw (requires 48 GB+, or 32 GB streamed)
- Qwen3.8-Flash-Next-Sushi-STQ-2.75bpw (pack revision 2.0, requires 64 GB+ and sushi 1.5.1 or later)
- Qwen3.8-Flash-Next-Sushi-4bpw (requires 96 GB+, or 64 GB streamed)
- GLM-5.3-Flash-Sushi-2bpw (requires 96 GB+, text, image and video input)
- GLM-5.3-Flash-Sushi-2.4bpw (requires 128 GB, text, image and video input)
Unsupported: MiMo-V2.6-Flash-Sushi-2.3bpw still loads, but from 1.5.1 releases do not test, benchmark or tune it. 1.5.0 is the last release that supports it.
Quality

- DeepSeek-V4.1-Flash-1017-Sushi-STQ-1.75bpw, pack revision 2.0, scores KLD 0.1576 (top-1 agreement 89.13%) on the eight-category reading, down from 0.1843 in revision 1.0 and below oQ2.5e's 0.1717 at 2.96 bits per weight
- MiMo-V2.6-Flash-Sushi-2.3bpw scores KLD 0.0860 (top-1 agreement 91.95%)
- GLM-5.3-Flash-Sushi-2.4bpw scores KLD 0.0742 (top-1 agreement 90.33%)
- GLM-5.3-Flash-Sushi-2bpw scores KLD 0.1037 (top-1 agreement 88.18%)
- Hy4-Flash-Sushi-STQ-4bpw scores KLD 0.0194 (top-1 agreement 96.30%) on the eight-category reading, and Hy4-Flash-Sushi-STQ-2.25bpw 0.1022 (91.72%); per category: quality-kld
Install
brew install beamivalice/tap/sushiUpdate with brew upgrade sushi.
sushibar puts the server in the menu bar: the generation speed in tok/s as its title, and a menu with a live status card, Start/Stop and Load/Unload buttons (Start brings the server up empty; Load brings back the last model), a port switcher, its pages, and Log, Update and Quit buttons (Log follows the server log live; hold ⌥ for Quit & Stop).
- The server listens on
127.0.0.1:12345(Settings has a Default port). - Support speculative decoding: MTP for Qwen and MiMo, DFlash2 for GLM, DSpark for DeepSeek, DFly2 for Hy4-Flash.
return_progress: truestreams llama.cpp'sprompt_progress(total, cache, processed, time_ms) on chat completions and completions while the prefill runs.- 8-bit KV cache are on by default.
Memory
GPU memory in GiB to serve one prompt that fills the whole context (8-bit KV, MTP on with --mtp-head-kv-quant; GLM
with its DFlash2 assistant and vision tower). The prompt cache and the n-gram table stay on the SSD and are not counted.
The Qwen rows are at the default f32 GatedDeltaNet state; --qwen-gdn 16 (bf16) takes about 0.2 GiB off each Qwen cell.
| pack | weights only | 128k | 256k | 512k | 1M |
|---|---|---|---|---|---|
| Qwen3.8-Flash-Next-Sushi-2bpw | 35.2 | 40.3 | 43.2 | 48.2 | 58.4 |
| Qwen3.8-Flash-Next-Sushi-STQ-2.75bpw | 44.9 | 50.0 | 52.8 | 57.9 | 68.1 |
| Qwen3.8-Flash-Next-Sushi-4bpw | 63.9 | 69.0 | 71.9 | 76.9 | 87.1 |
| GLM-5.3-Flash-Sushi-2bpw | 78.3 | 82.6 | 83.8 | 86.0 | 90.5 |
| GLM-5.3-Flash-Sushi-2.4bpw | 89.8 | 94.1 | 95.2 | 97.5 | 102.0 |
| MiMo-V2.6-Flash-Sushi-2.3bpw | 89.7 | 93.7 | 95.8 | 99.9 | 108.2 |
| DeepSeek-V4.1-Flash-1017-Sushi-STQ-1.75bpw ‡ | 108.0 | 110.0 | 110.3 | 111.0 | 112.5 |
A context fits when its number is below the GPU limit you set with sudo sysctl iogpu.wired_limit_mb=<N> vm.global_user_wire_limit=<N × 1048576> vm.user_wire_limit=<N × 1048576> (all three, always: why). Max context is
the largest multiple of 8192 tokens that fits, at 8-bit / 4-bit KV, with 256 MiB spare and capped at 1M (GLM has no
4-bit KV):
| pack | 48 GB † (43,000 MB) | 64 GB † (59,000 MB) | 96 GB (90,000 MB) | 128 GB (120,000 MB) |
|---|---|---|---|---|
| Qwen3.8-Flash-Next-Sushi-2bpw | 200k / 304k | 976k / 1M | 1M / 1M | 1M / 1M |
| Qwen3.8-Flash-Next-Sushi-STQ-2.75bpw | — | 488k / 824k | 1M / 1M | 1M / 1M |
| Qwen3.8-Flash-Next-Sushi-4bpw | — | — | 1M / 1M | 1M / 1M |
| GLM-5.3-Flash-Sushi-2bpw | — | — | 696k / — | 1M / — |
| GLM-5.3-Flash-Sushi-2.4bpw | — | — | — | 1M / — |
| MiMo-V2.6-Flash-Sushi-2.3bpw | — | — | — | 1M / 1M |
| DeepSeek-V4.1-Flash-1017-Sushi-STQ-1.75bpw ‡ | — | — | 1M / — | 1M / — |
| Hy4-Flash-Sushi-STQ-2.25bpw § | 200k / — | 500k / — | · | · |
| Hy4-Flash-Sushi-STQ-4bpw § | — | — | 500k / — | 1M / — |
† At --qwen-gdn 16 (bf16 GatedDeltaNet state), which the 32, 48 and 64 GB launch lines use. The f32 default gives
less: 192k / 288k at 48 GB, and 968k / 1M (Sushi-2bpw) and 480k / 800k (Sushi-STQ-2.75bpw) at 64 GB.
‡ DeepSeek-V4.1-Flash streams its routed experts from the SSD on 96 and 128 GB Macs. It runs 1M at --ssd-budget-gb 108 on a 128 GB Mac with sudo sysctl iogpu.wired_limit_mb=125000 vm.global_user_wire_limit=131072000000 vm.user_wire_limit=131072000000 and at 80 on a 96 GB Mac with sudo sysctl iogpu.wired_limit_mb=93000 vm.global_user_wire_limit=97517568000 vm.user_wire_limit=97517568000 (usage). Always raise the two user-wire limits with the GPU limit: without them the system slows down and can become unresponsive.
On 64 GB and 96 GB Macs, DeepSeek-V4.1-Flash STQ 2.7bpw streams with --expert-cache-bias: see Running DeepSeek-V4.1-Flash on 64 GB and 96 GB Macs, a guide by Samuel Reed (@STRML), who also contributed the DeepSeek prefetch fixes in PR #128.
§ Hy4-Flash's cells are its recommended launches (usage), at 8-bit KV, not a computed maximum; · is not measured. On a 64 GB Mac the 2.25bpw pack loads resident with no budget flag when about 46 GB is free and otherwise streams its experts at the largest budget that fits (41 GB on an idle Mac with 45 GB free); on a 48 GB Mac it streams within 34 GB. Its Engram tables stay on the SSD.
Streaming
A pack bigger than your Mac's GPU memory can still run: --ssd-budget-gb N keeps N GiB of the model on the GPU and
reads the rest from the SSD as it runs, with the same answers and lower speed. Which pack to pick for your Mac, what
the GPU limit is, how to size the budget and when streaming is worth it, with measured examples:
Choosing a pack and streaming.
Serve on your network
export SUSHI_KEY=<pick a secret>
sushi serve --model <pack> --host 0.0.0.0 --api-key-env SUSHI_KEYOther computers then reach http://<your-mac-ip>:12345/v1 (ipconfig getifaddr en0 prints the IP) and send the key
as Authorization: Bearer <key>. If SUSHI_KEY is unset or empty, the server runs with no key.
Benchmarks
Sushi bench (Speed)
| Sushi 🍣 1.4.0 | M5 Max 128 GB | 4k | 8k | 16k | 32k | 64k | 128k |
|---|---|---|---|---|---|---|---|
| Qwen 3.8 Flash-Next-STQ-2.75bpw | Prefill | 1,122 | 1,993 | 2,049 | 1,976 | 1,906 | 1,877 |
| Decode | 168.6 | 151.1 | 146.1 | 146.8 | 151.0 | 138.2 | |
| Qwen 3.8 Flash-Next-4bpw | Prefill | 2,079 | 2,379 | 2,326 | 2,231 | 2,147 | 2,120 |
| Decode | 146.2 | 150.1 | 136.2 | 149.8 | 153.5 | 122.0 | |
| GLM 5.3 Flash-2.4bpw | Prefill | 928 | 775 | 814 | 805 | 688 | 573 |
| Decode | 71.5 | 69.4 | 67.3 | 65.8 | 71.8 | 63.8 | |
DeepSeek 4.1 Flash-STQ-1.75bpw (--ssd-budget-gb 108) | Prefill | 707 | 1,024 | 998 | 993 | 950 | 829 |
| Decode | 76.6 | 84.2 | 76.2 | 85.3 | 78.1 | 63.7 |
| Sushi 🍣 1.8.0 | M5 Ultra 256 GB | 4k | 8k | 16k | 32k | 64k | 128k |
|---|---|---|---|---|---|---|---|
| Hy4 Flash-STQ-4bpw | Prefill | 1,929 | 1,939 | 1,904 | 1,837 | 1,713 | 1,510 |
| Decode | 143.2 | 115.0 | 116.3 | 102.3 | 74.5 | 96.2 | |
| Hy4 Flash-STQ-2.25bpw | Prefill | 1,954 | 1,941 | 1,919 | 1,846 | 1,724 | 1,515 |
| Decode | 147.6 | 126.7 | 86.3 | 103.6 | 68.5 | 106.2 |
Code arm, shipping defaults (8-bit KV, DFly2). Hy4-Flash's decode moves with DFly2's draft acceptance at each rung. The release ladders: v1.8.0.
Tool-eval-bench 3.0 (Agentic)
| Pack | Thinking | Score | Points | Rating | Max weights in RAM |
|---|---|---|---|---|---|
| Qwen STQ 2.75bpw | medium | 94 | 182/194 | 5★ | 48 GB |
| DeepSeek STQ 1.75bpw | high | 92 | 178/194 | 5★ | 129 GB (108 stream) |
| Qwen 4bpw | medium | 90 | 174/194 | 5★ | 68 GB |
| GLM 2.4bpw | high | 90 | 175/194 | 5★ | 98 GB |
| MiMo 2.3bpw | on | 89 | 172/194 | 4★ | 103 GB |
| Qwen 2bpw | medium | 88 | 170/194 | 3★ | 38 GB |
License
MIT, for sushi and the mlx-serve code it forks (LICENSE); ported kernels and vendored code are listed in NOTICE. The Qwen packs follow the Qwen Community License, the Hy4-Flash packs Tencent's Hy license and the MiMo pack Xiaomi's MIT license, stated on each Hugging Face page.