Ternary Bonsai 2.5 is a 27-billion-parameter language model that takes up about 6 GB. That is small enough to try on an 8 GB graphics card. This guide shows which file to pick, how to install it, and which settings keep it inside 8 GB.
Quick answer: Ternary Bonsai 2.5 27B is a free, Apache 2.0 model from PrismML, released on 24 November 2026. Download it from the official Hugging Face page. The easiest install is PrismML’s Bonsai-demo setup script. PrismML gives no official minimum VRAM. Owners of 8 GB cards report that it fits with one server slot and a 4-bit cache.
Table of Contents
- Ternary Bonsai 2.5 at a Glance
- What Is Ternary Bonsai 2.5?
- Which Ternary Bonsai 2.5 File Should You Download?
- How to Install Ternary Bonsai 2.5 on Windows (Step by Step)
- Best Ternary Bonsai 2.5 Settings for 8 GB VRAM
- Does Ternary Bonsai 2.5 Work in Ollama, LM Studio or on a Mac?
- How Good Is Ternary Bonsai 2.5?
- Related Guides
- Common Ternary Bonsai 2.5 Problems and Fixes
- Ternary Bonsai 2.5: Frequently Asked Questions
- Sources
Ternary Bonsai 2.5 at a Glance
| What you need to know | Details |
|---|---|
| What it does | Chat, coding and tool-calling model built for agents; reads images with an extra file |
| Maker | PrismML |
| Released | 24 November 2026 |
| Based on | Qwen3.8-27B |
| Size | About 6 GB, against 53.8 GB for the full 16-bit model |
| Official source | Hugging Face model page |
| Works on | Windows, Linux and Mac |
| Licence | Apache 2.0, which allows commercial use |
| Cost | Free |
What Is Ternary Bonsai 2.5?
Most small model files are made by rounding a big model’s numbers down to 4 or 5 bits each. Ternary Bonsai 2.5 goes much further. According to the model card, every weight is one of three values: minus one, zero or plus one. A shared scale is stored for each group of 128 weights. The result averages 1.76 bits per weight.
As a result, a 27-billion-parameter model shrinks to roughly the size of a 7-billion one. In addition, PrismML says the model was built for agents, meaning software that calls tools and writes code in several steps.
Which Ternary Bonsai 2.5 File Should You Download?

The download page lists several files. PrismML staff say on the model’s discussion board that they all hold the same weights. Only the packing and the speed differ. Therefore, answer quality should be the same.
| File | Size | What runs it |
|---|---|---|
| PTQ1_0 | 5.99 GB | PrismML’s llama.cpp fork only |
| PQ2_0 | 7.25 GB | PrismML’s llama.cpp fork only |
| Q2_0 | 7.67 GB | Standard llama.cpp, build b11556 or newer |
| mmproj (Q8_0 or BF16) | 629 MB or 931 MB | Optional, adds image input |
Files ending in “-mtp” add a faster drafting mode and need the fork. For an 8 GB card, PTQ1_0 is the one to use because it is the smallest. The model card also names it as the pick for Nvidia cards. However, the model card gives one warning: older standard builds load the Q2_0 file without any error and then produce garbage. Update first.
How to Install Ternary Bonsai 2.5 on Windows (Step by Step)
This route uses PrismML’s own setup script. It downloads the right fork and model for you, so there is less to get wrong. You need an Nvidia card, a current driver and Git.
- Open PowerShell and copy the setup project.
git clone https://github.com/PrismML-Eng/Bonsai-demo.git
cd Bonsai-demo
- Allow the script to run in this window only, then start the setup.
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\setup.ps1
- Start the server with a single slot. The next section explains why that matters.
.\scripts\start_llama_server.ps1 -np 1
- Open
http://localhost:8080in your browser. You should see a chat page.
Alternatively, if you would rather use standard llama.cpp, download the Q2_0 file and run it directly. This command is from the model card.
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 -n 16384
Best Ternary Bonsai 2.5 Settings for 8 GB VRAM
PrismML publishes no minimum VRAM figure for Ternary Bonsai 2.5. The settings below come from the model card and from owners posting on the model’s discussion board. We have not yet tested them ourselves.
- Use one slot. Add
-np 1. The server can otherwise open four slots, each holding its own memory. The model card lists this as its one known issue. One owner of a 10 GB RTX 3080 reported use falling from about 9.5 GB to 7.8 GB. - Shrink the cache. Setting
BONSAI_KV4=1stores the conversation cache in 4 bits. The card puts that at about 1.8 GB for 100,000 tokens, against 6.3 GB normally. - Keep the context modest. The model accepts up to 262,144 tokens, but a long context costs memory. Start at 32,768.
- Limit thinking. The model thinks at its highest effort by default. Add
--reasoning-budget 2048for faster answers. A medium effort setting also exists. The card says low effort is not supported. - Keep the image file off the card. If you use image input,
--no-mmproj-offloadkeeps that file in normal memory.
One owner of an RTX 3070 with 8 GB, paired with 16 GB of system memory, shared this full set of flags on the discussion board. They reported a 64,000-token context at 42.7 tokens per second. However, treat it as a single user’s result.
--fit on --fit-target 300 -c 65536 -fa on -ctk q4_0 -ctv q4_0 -np 1 -b 64 -ub 64 --jinja --spec-type none --reasoning on
Does Ternary Bonsai 2.5 Work in Ollama, LM Studio or on a Mac?
- Ollama: the model card shows
ollama run hf.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF:Q2_0. A user reports that the “Use this model” button on Hugging Face points to a different file that standard builds cannot run. Type the command by hand, with:Q2_0at the end. - LM Studio: PrismML notes that apps like this ship their own engine. Whether it works depends on how new that engine is. We could not confirm it.
- Mac: PrismML offers a separate MLX version of about 8.6 GB. Run
./setup.shfrom Bonsai-demo, then./scripts/start_mlx_server.sh.
How Good Is Ternary Bonsai 2.5?
These are PrismML’s own figures from the model card. We found no independent tests yet. Hugging Face showed 554,366 downloads in the model’s first week, so more should follow.
| Test | Bonsai 2.5 (about 6 GB) | Qwen3.8-27B full size (53.8 GB) |
|---|---|---|
| SWE-bench Verified | 75.6 | 80.6 |
| Terminal-Bench 2.1 | 60.1 | 70.8 |
| AppWorld | 90.5 | 93.2 |
| Tool-calling average | 77.2 | 77.7 |
On PrismML’s numbers, the model gives up a few points on coding and almost nothing on tool calling, at about a ninth of the size.
Related Guides
For other models that run on modest hardware, see our guide to uncensored local AI models by graphics card and our walkthrough for running DeepSeek R1 locally.
Common Ternary Bonsai 2.5 Problems and Fixes
| Problem | Cause | Fix |
|---|---|---|
| VRAM use far above the file size | Server opened four slots | Add -np 1 and set -b equal to -ub |
| Garbage output from the Q2_0 file | llama.cpp build is too old | Update to build b11556 or newer |
| PTQ1_0 or PQ2_0 will not load | Standard llama.cpp cannot read them | Use PrismML’s fork or switch to Q2_0 |
| Ollama downloads the wrong file | Hugging Face button points to PQ2_0 | Type the command with :Q2_0 |
| Answers take very long | Thinking effort is at its highest by default | Add --reasoning-budget 2048 |
Ternary Bonsai 2.5: Frequently Asked Questions
Does Ternary Bonsai 2.5 run on 8 GB of VRAM?
Owners of 8 GB cards report that it does, using the PTQ1_0 file, one server slot and a 4-bit cache. PrismML states no official minimum.
Is Ternary Bonsai 2.5 free?
Yes. It is released under the Apache 2.0 licence, which also allows commercial use.
Which file works with standard llama.cpp?
The Q2_0 file, on build b11556 or newer. The smaller PTQ1_0 and PQ2_0 files need PrismML’s fork.
Is the quality different between the files?
No, according to PrismML staff. The files hold the same weights and differ only in speed and size.
Can Ternary Bonsai 2.5 read images?
Yes, in llama.cpp, when you also load one of the mmproj files.
Featured image: An Nvidia RTX 4090 graphics card (Asus ROG Strix), October 2022: Benlisquare, CC BY-SA 4.0, via Wikimedia Commons. The photo has been cropped.


