AIToday
Large Language ModelsZenn AI/MLPublished: Nov 29, 2026, 10:01 JST

M4 Mac mini (16GB) hits 16.21 tok/s on 27B local LLM

Send on LINE
M4 Mac mini (16GB) hits 16.21 tok/s on 27B local LLM

3 Key Points

  1. What happened

    On an M4 Mac mini (16GB), a 27B model in Q2_0 form reached 16.21 tok/s decode, up 57.4%, while physical footprint fell to 0.897 GB and Dirty Malloc heap dropped 90.1% to 236 MB.

  2. Why it matters

    The same 16GB machine now handles bulk collection, JSON-structured extraction, and initial classification locally at no extra cost, though decode gains came with only a 0.9% prefill rise.

Ask AI

Ask the AI about this article. Questions and answers are published on this page

Context & Analysis

The benchmark compares three configurations on the same 16GB machine: a standard production baseline, a best standard-binary setting, and an M4-specific custom setup. The baseline delivered 10.30 tok/s decode with a 2.840 GB physical footprint and a 2,621.2 MB swap increase, while the custom setup reached 16.21 tok/s with 0.897 GB and negative swap change, showing that tuning mattered more than raw hardware headroom.

The gains trace to two levers. MTP raised decode by about 1.5× at a 65.0% acceptance rate, while turning off caches and UI reduced the Dirty Malloc heap from 2,374 MB to 236 MB and eliminated swap growth. Rejected settings such as --load-mode none inflating physical memory to 11.0 GB and ngram-mod dropping to 8.55 tok/s show the tuning window is narrow.

The author frames the 16GB machine as a hybrid component rather than a standalone server: larger models such as Qwen3.6 35B-A3B at 13.9GB and Muse Glimmer 30B at 19.6GB do not fit, so routine preprocessing stays local and harder integration goes to cloud models.

FAQ
What settings drove the speed and memory gains?
Enabling MTP with --spec-type draft-mtp, --spec-draft-n-max 4, and --spec-draft-p-min 0.3 gave about 1.5× decode at a 65.0% acceptance rate; adding --cache-ram 0, --no-webui, --no-slots, -sm none, --no-repack, and --no-host cut Dirty Malloc heap from 2,374 MB to 236 MB.
Which settings made performance worse?
--load-mode none inflated physical memory to 11.0 GB, GGML_METAL_TENSOR_ENABLE=1 dropped prefill by 17%, --spec-type ngram-mod fell to 8.55 tok/s on long text, and MTP n-max 1 fell to 8.12 tok/s.
Why use a hybrid local-plus-cloud setup?
Running everything through cloud APIs can exhaust weekly quotas early and cause double billing, so bulk collection, JSON extraction, and initial classification run on the local 27B model at zero additional cost.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Related Articles

Next articleFirefox Smart Window picks Mistral Small 4 as recommended model