Benchmarking Bonsai 2.5 27B
For some months I’m running Qwen 3.8 27B to power my various local LLM services, like news aggregation, Hermes, my cooking app. I used Qwen 3.8 27B with a 200k window and it took almost my whole 24GB VRAM. If I wanted to do something else, like podcast transcription, audio generation I had to stop it run other tasks and restart it.
Install
Now Bonsai 2.5 27B was released. You need a modified version of llama.cpp for it.
git clone https://github.com/PrismML-Eng/llama.cpp.git
Download the models.
hf download prism-ml/Ternary-Bonsai-2.5-27B-gguf Ternary-Bonsai-2.5-27B-PTQ1_0.gguf --local-dir model
hf download prism-ml/Ternary-Bonsai-2.5-27B-GGUF --include Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf --local-dir model
After building it
cmake -B build -G Ninja \
-DGGML_CUDA=ON \
-DCMAKE_CUDA_ARCHITECTURES=89 \
-DCMAKE_BUILD_TYPE=Release
cmake --build build -j $(nproc)
I run it with
#!/usr/bin/env bash
args=(
# --- Model ---
--model model/Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf # main weights: ternary PTQ1_0 packing + built-in MTP draft head
--mmproj model/Ternary-Bonsai-2.5-27B-mmproj-BF16.gguf # vision encoder; needed for image input only
# --- GPU / performance ---
-fa on # flash attention: faster, less VRAM for attention; required for a quantized V cache
-ngl 99 # offload all layers to the GPU (99 = "everything")
--threads 8 # CPU threads for the parts still on the CPU (tokenizing, sampling)
--batch-size 2048 # max tokens per logical batch during prompt processing (prefill)
--ubatch-size 512 # physical chunk actually sent to the GPU per step; trades VRAM against prefill speed
# --- Memory / context ---
--ctx-size 131072 # context window in tokens (model max is 262144); main driver of KV cache VRAM
--cache-type-k q8_0 # store attention keys at 8 bit instead of 16: about half the KV VRAM, minimal quality loss
--cache-type-v q8_0 # same for values
--parallel 1 # one request slot; all context goes to that slot (default auto = 4 slots sharing it)
# --- Chat template ---
--jinja # use the chat template stored in the GGUF (needed for thinking and tool calls)
# --- Sampling (vendor values for thinking mode) ---
--temp 1.0 # randomness; reasoning models are tuned for 1.0, lower values can cause loops
--top-p 0.95 # only sample from the smallest set of tokens covering 95% of probability
--top-k 20 # ...and never from more than the 20 most likely tokens
--min-p 0 # turn off the min-p filter (llama.cpp default is 0.05, vendor wants 0)
# --- MTP speculative decoding (vendor preset for RTX 4090) ---
--spec-type draft-mtp # use the model's built-in MTP head as the draft model
--spec-draft-n-min 0 # minimum tokens to draft per step (0 = may skip drafting)
--spec-draft-n-max 3 # draft up to 3 tokens ahead, then verify them in one pass
--spec-draft-p-min 0 # no confidence cut-off: always draft the full n-max
# --- Server ---
--port 8080 # HTTP port
--host 0.0.0.0 # listen on all interfaces (reachable from your LAN, not just localhost)
--path ~/llama-ui # serve static web UI files from this directory
--alias bonsai-2.5-27b
)
./llama.cpp/build/bin/llama-server "${args[@]}"
Benchmarking - 5 times the speed, 200 tokens/second
My original Qwen3.8 runs with ~ 44 token/second.
This now in my tasks (opencode, text summaries, classifications) runs with 180-250 token/second while using way less memory.
Wed Dec 2 08:21:49 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.91.07 Driver Version: 595.91.07 CUDA Version: 13.2 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4090 Off | 00000000:01:00.0 Off | Off |
| 0% 48C P8 24W / 450W | 13284MiB / 24564MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 825098 C ...ma.cpp/build/bin/llama-server 13266MiB |
+-----------------------------------------------------------------------------------------+
So I have 10GB of VRAM left to do other things, increase the token window, have two or more slots for answering requests.
The official release page gives this comparison:

So it is ‘only’ almost as good as Qwen 3.8 27B.
The token speed claimed in the blog post are also the ones I’m seeing on my local hardware.
Uncensored Bonsai 2.5
You can also download an uncensored version. This allows things like security testing of my apps, finding attack vectors. This is a bit slower, since no MTP, runs at ~ 80 tokens/second.
hf download AtomicChat/Ternary-Bonsai-2.5-27B-Uncensored-GGUF Ternary-Bonsai-2.5-27B-Uncensored-PTQ1_0.gguf --local-dir model