Run Bonsai 27B on M5 Max

Bonsai 27B runs at 66 tok/s (66.4 as recorded) on an M5 Max, a published figure reported by huggingface.co (llama.cpp, Q1_0_g128, tg128). It needs about 6 GB of unified memory. It is Prism ML's 27B dense model, released under the Apache 2.0 licence.

Speed
sourced66
tok/s
First Token
—
seconds
RAM Needed
6
GB minimum
Engine
llama.cpp
of this figure
Want to run Bonsai 27B faster — or step up to bigger models? Find your Mac →

The figure

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

MetricValue
Tokens per secondsourced66 tok/s
Provenancepublished figure · huggingface.co
QuantizationQ1_0_g128
Enginellama.cpp
Contexttg128
Figure dated2026-07
Minimum RAM6 GB
Parameters27B
Chip bandwidth614 GB/s

Every figure for Bonsai 27B on the M5 Max

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 (6 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
sourced66.4 tok/sQ1_0_g128llama.cpp—tg128huggingface.coVendor model card: PrismML llama.cpp fork (Metal), llama-bench; 3.9 GB.
Provenance key
sourced
Published figure — vendor or press review
estimated
community
Linked individual run — blog, forum or submission

Setup: run Bonsai 27B on a Mac

Ollama — the index has not verified an Ollama tag for Bonsai 27B, 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: Search the Ollama library → · model card →

The 66 tok/s figure above came from llama.cpp at Q1_0_g128; 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.

Bonsai 27B on other Apple Silicon chips

ChipSpeedQuantEngineBandwidth
M5 Prosourced44 tok/sQ1_0_g128llama.cpp307 GB/s
M4 Prosourced26 tok/sQ1_0_g128llama.cpp273 GB/s

About Bonsai 27B

Prism ML's 1-bit 27B (Q1_0_g128, 3.9 GB), Apache 2.0, so it runs on an 8 GB Mac. 1-bit decoding is kernel-bound, so the index quotes only vendor figures: 66.4 tok/s on an M5 Max, 44.2 on an M5 Pro and 26.0 on an M4 Pro (PrismML llama.cpp fork, tg128). Its ternary successor is Ternary Bonsai 2 27B.

Apache 2.0 licence · 27B · 262K context · LLMCheck capability 33/50 · see its leaderboard rank →

System requirements

Macs with the M5 Max

🛒 Get a Mac that runs Bonsai 27B

Bonsai 27B needs about 6 GB of unified memory. These current Apple Silicon Macs have the headroom to run it comfortably:

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 Bonsai 27B stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard