← CanIRunLocal · All hardware · All models

Can a M4 Max (40c GPU) 64GB run Bonsai 2 4B (ternary)?

Yes. Bonsai 2 4B (ternary) fits in fast memory on M4 Max (40c GPU) 64GB at Q2_0 (2.8 GB needed, 48.0 GB usable), about 273 tok/s (estimate).

Hardware: M4 Max (40c GPU) 64GB · Model: Bonsai 2 4B (ternary)

M4 Max (40c GPU) 64GB has 64 GB of unified memory and 546 GB/s of memory bandwidth. Mac Studio M4 Max (40c GPU) 64GB has the same memory and bandwidth, so the fit numbers match; this page is M4 Max (40c GPU) 64GB. The checker leaves macOS a share of unified memory, so Ollama can use 48.0 GB. Bonsai 2 4B (ternary) (4B, Prism ML) at Q2_0 is a 1.6 GB download and needs 2.8 GB with headroom for about 8k tokens.

Best quantQ2_0
Download size1.6 GB
Memory needed2.8 GB
Usable fast memory48.0 GB
Fitfits in fast memory
Estimated speed~273 tok/s (estimate)
Commandollama run bonsai-2:4b
Open M4 Max (40c GPU) 64GB in the checker

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-23.

A project by OnDevice Labs · llms.txt