By Annie Vane · Models · Local · Guide · Docs-only · Checked December 1, 2026
Short answer: Yes, on most computers with 16 GB of memory or more. The file is 6.0 to 7.7 GB depending on the version, and our estimate for the 7.7 GB Q2_0 file at a 32K context is about 10.3 GiB. This is a documentation review and a memory estimate, not a benchmark we ran.
| 8 GB | 16 GB | 24 GB | 32 GB |
|---|---|---|---|
| No | Yes | Yes | Yes |
This guide follows one reader: someone with a 16 GB laptop who wants a coding and tool-calling assistant that keeps their files on the machine.
On this page: What is Ternary Bonsai 2.5 27B? · How big is the download? · How much memory do you need? · How do you run it? · How fast is it? · Common questions · Verdict · Sources
What is Ternary Bonsai 2.5 27B?
It is a model from Prism ML, built from Qwen3.8-27B, and released under the Apache 2.0 license. The maker's model card says each weight is stored as one of three values, which it calls ternary. That is how it gets down to 1.76 bits per weight and 5.93 GB, against 53.8 GB for the full-precision (FP16) model.
The card calls this release the agentic one. It is aimed at tool calling and coding agents. It lists a 262K token context and says the model thinks by default. The vision part ships as a separate optional file, so text-only use does not load it.
The benchmark scores on the card are the maker's own numbers. We have not checked them.
How big is the download?
These are the files in the maker's repository (opened December 1, 2026). All are the same ternary model in different packings.
| File | Size | Runs on |
|---|---|---|
| PTQ1_0 | 6.0 GB | PrismML llama.cpp fork |
| PQ2_0 | 7.3 GB | PrismML llama.cpp fork |
| Q2_0 | 7.7 GB | Stock llama.cpp, build b11556 or newer |
| Same three with -mtp | 6.2, 7.5 and 7.9 GB | Add a draft head for faster decoding |
| mmproj (optional, for images) | 629 MB (Q8_0) or 931 MB (BF16) | Only loaded for image input |
The card says the two fork-only files are rejected as unknown types by stock llama.cpp. It also warns that older stock builds load Q2_0 without any warning and produce garbage, so check your build first.
How much memory do you need?
The maker does not give a minimum memory figure for the whole model. The number below is our estimate, made with the hf-mem tool from the Q2_0 file's metadata. It is an estimate, not a measurement.
| Part | Estimate (Q2_0, 32K context) |
|---|---|
| Weights, including the image file | about 7.4 GiB |
| KV cache (the model's working memory for the chat) | about 2.1 GiB |
| Runtime overhead | about 0.75 GiB |
| Total | about 10.3 GiB |
At that total, hf-mem says the longest context that fits in 16 GiB is about 99,000 tokens. The maker's quick-start uses a 32K context. The card also says a community report on a 10 GB graphics card saw about 9.5 GB of use, dropping to about 7.8 GB after adding -np 1 to the server command.
- 8 GB: no. Even the smallest file plus working memory is likely over 8 GB.
- 16 GB: yes on paper. On a Mac, macOS and your apps share that memory, so keep the context at 32K or less.
- 24 GB or more: yes, with room for a longer context.
For why memory matters more than speed, see how much memory a local AI model needs.
How do you run it?
The maker says its Bonsai-demo page is the source of truth for setup, so check it if anything here has changed. The card's quick-start uses llama.cpp. For stock llama.cpp, use the Q2_0 file:
hf download prism-ml/Ternary-Bonsai-2.5-27B-gguf Ternary-Bonsai-2.5-27B-Q2_0.gguf --local-dir .
llama-cli -m Ternary-Bonsai-2.5-27B-Q2_0.gguf \
-ngl 99 -fa on -c 32768 \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 \
-p "Explain quantum computing in simple terms." -n 16384
Two details from the card. First, pass --min-p 0, because llama.cpp defaults to 0.05. Second, keep -n large: the model thinks before it answers, and a cap such as 256 tokens ends the reply mid-thought.
On a Mac, the card says Metal is the default when you build the PrismML fork, and that PQ2_0 is the file the maker benchmarked on Apple Metal. The card also lists an MLX build for Apple silicon. We did not run any of these.
How fast is it?
The maker's card reports speed on its own machines. On an Apple M5 Pro with the PQ2_0 file, it lists 30.2 tokens per second for decoding. On an RTX 4090 it lists 112 tokens per second with the PTQ1_0 file. These are the maker's numbers and we did not reproduce them. Your machine will differ.
Common questions
Can it read images?
The card lists a vision tower that ships as a separate mmproj file, loaded only for image input. Follow the Bonsai-demo page for the exact flags.
Why is it so small for a 27B model?
The weights are stored as three values with a shared scale for every group of 128. The card gives 5.93 GB for the PTQ1_0 packing, against 53.8 GB for the FP16 base. Smaller files usually cost some quality. The maker says its general score is 82.1 against 84.3 for FP16, which is its own measurement.
Which file should I download?
If you use stock llama.cpp, take Q2_0. If you use the PrismML fork, the card picks PTQ1_0 for NVIDIA GPUs and PQ2_0 for Apple Metal. Skip the -mtp files unless you want the draft head for speculative decoding.
Verdict
For our 16 GB laptop reader: try the Q2_0 file with a 32K context, and expect memory to be tight if other apps are open. Update llama.cpp first. If it does not fit, pick a smaller model from our best Ollama models list.
Sources
- Prism ML: Ternary-Bonsai-2.5-27B-GGUF model card, opened December 1, 2026
- Prism ML: repository file list, opened December 1, 2026
- Memory estimate: hf-mem 1.1.2 run on the Q2_0 file, December 1, 2026. An estimate, not a test.
Next steps: Install Ollama · How much memory does a local AI model need?

