AI

PrismML Bonsai 27B offers high speed but lower precision than Qwen3.6

PrismML's Bonsai 27B model achieves 27 tokens per second on 8GB GPUs by using native binary weights. While it retains 89.5% of FP16 benchmark performance, testing shows a 72% pass rate on checkout pipeline tasks compared to 93% for the Qwen3.6-27B model.

PrismML Bonsai 27B offers high speed but lower precision than Qwen3.6

I tested PrismML’s Bonsai 27B against the standard Qwen3.6-27B to see if extreme compression compromises intelligence. Bonsai 27B uses 27 billion parameters and fits in 3.9 GB of RAM, whereas the parent Qwen3.6-27B model requires 54 GB. Same architecture, same context window, and same training data define the two, but the difference in how weights are stored is a design choice rather than a compression trick. Unlike standard low-bit models that use post-training quantization to round FP16 weights to 4-bit, PrismML trained Bonsai 27B weights natively as binary {-1, +1} with one FP16 scale shared per 128 weights (g128). This design gives the model an effective precision of 1.125 bits per weight, which is 14.2 times smaller than FP16. While a conventional IQ2_XXS build of Qwen3.6 at 2.8 bits per weight retains 85.5% of FP16 performance, Bonsai 27B retains 89.5% of the FP16 benchmark average because the weights were designed for the format rather than forced into it.

Coding errors in the checkout pipeline

I built a four-task checkout pipeline to test raw capability without long thinking chains, as I turned reasoning off for these tests. I scored the models using Pytest with 57 assertions across four specific tasks: T1 (normalize cart), T2 (apply coupon), T3 (calculate tax), and T4 (complete checkout). The Qwen3.6 27B model passed 53 of 57 assertions, but Bonsai 27B passed only 41 of 57, which represents a 72% pass rate compared to Qwen’s 93%. The failures in Bonsai 27B appeared in tasks T2 and T3. In task T2, Bonsai 27B dropped a field in an edge case where coupon was None or the minimum spend was not met, as the spec required every line to include discount_cents: 0. The model also filtered instead of zeroing; when a coupon applied only to electronics, the spec required both the electronics line and the produce line to remain, but Bonsai returned only the electronics line, which caused silent data loss. It also used floor rounding instead of round-half-up, which turned a 0.5 cent value into 0 because it used int(x) instead of math.floor(x + 0.5). In task T3, the model misread "basis points" as "percent" and calculated 8,250 cents for a 1,000-cent line with an 825-basis-point rate instead of the correct 83 cents. Both models failed task T4 equally because they both hit a KeyError when they misinterpreted the ambiguous specification regarding the "line_total_cents" field. Bonsai 27B provides a fast, private 27B model for modest hardware, but the tradeoff is a loss of precision in handling small, consequential details.

Task What it tests Bonsai 27B (1-bit) Qwen3.6 27B (4-bit)
T1, normalize cart Validation, merging, type checking 16/18 18/18
T2, apply coupon Multi-branch logic, proportional allocation 11/16 16/16
T3, calculate tax Unit conversion, rounding, per-line sum 9/14 14/14
T4, complete checkout Integration, all-or-nothing state mutation 5/9 5/9
Total 41/57 (72% pass) 53/57 (93% pass)

Hardware benefits for local LLMs

Bonsai 27B provides significant speed and memory advantages for users with limited hardware. On my 8GB GPU, Qwen3.6 27B ran at only 1.5 tokens per second with heavy CPU offload, while Bonsai 27B reached 27 tokens per second fully on the GPU. Users with 12GB to 16GB of VRAM can use Bonsai 27B for agentic workflows because it handles a 60K context window, while the 16 GB weights of Qwen3.6 27B still require CPU offload. For those with 24GB of VRAM, Bonsai 27B can handle the full 262K context window. I recommend Bonsai 27B for people with 8GB of VRAM or less because it is the best way to get 27B-class intelligence at usable speeds. For those with 24GB, Qwen3.6 27B is likely the better default for accuracy, though Bonsai may still be worth considering when you have to max out the 262K context window for long-running agentic tasks.

Setup Bonsai 27B (1-bit) Qwen3.6 27B (4-bit)
8 GB VRAM 27 tokens/sec (Full GPU) 1.5 tokens/sec (CPU offload)
12 to 16 GB VRAM 9.4 GB peak (4-bit KV) Needs CPU offload (16 GB weights)
24 GB VRAM 19.9 GB (q8_0 KV) 83K context (F16 KV) or 167K (q8_0 KV)