FreshContext , home
Drawing
02 · Benchmarks
Sheet
2 of 3
Rev
A · 2026-10-01

Model family ← Models

Ternary-Bonsai-27B

PrismML's 27B model, trained so that every weight takes one of three values, in a file of about 7 GB. Perfect at reaching for tools, weak at saying "I don't know", and replaced by its successor eight days after our first test.

Parameters
27B
Files tested
5
Scored runs
40

Made by PrismML

Overview Should you use it · what it taught us · why we tested it · what happened

How this page was made. The tests run automatically on our Mac Studio, and every score here comes straight from those runs. This overview was written by Claude, an AI model, from the lab's own records: the run log, notes kept at the time, and the working sessions where each decision was made. Quotes are Alan's words, with spelling fixed. How these pages are made.

Should you use it?

Probably not. Its successor, Ternary-Bonsai-2-27B, built on Qwen3.8-27B, scored higher on five of the eight tests both ran, by 40 points on weighing evidence (33 of 40 against 17 of 40), in a smaller file.

For tool calls alone it did well: use PrismML's PQ2_0 with their fork, or the MLX copy, which was faster here. Don't rely on it to say "I don't know" or to weigh evidence. Check the smallest Mac for each file below.

What it taught us

  • Test judgement as well as tool use. A tool test alone would have called this model lossless. Tool use tracks the model, not its size.
  • On this dense model, the runtime barely changed the scores. On MLX and on llama.cpp the same weights tied on 8 of 12 tests, and none moved more than 4.2 points (answering from the document, not memory: 41 of 48 against 43 of 48). MLX and GGUF score the same.
  • Squeezing harder hit some skills and spared others. Its 1-bit sibling, Bonsai-27B 1-bit, kept every tool score but fell from 75.0% (36 of 48) to 25.0% (12 of 48) on following an output rule it had to fetch. The cost follows capability.

Why we tested it

On 10 September, after a night on how fast dense models run, Alan wrote: "Just wish more 1.58 bit models would come out". We found PrismML's Ternary-Bonsai-27B, a 27-billion-parameter model built on Qwen3.6-27B and trained so that each weight is one of three values.

The pitch: a dense 27B model reads about 15 GB for every token it writes, and at 1.58 bits a weight this one would read about 5 GB. We expected a poor score on our tool test, as the Qwen3.6 model we already ran had been weak on it. It scored 60 out of 60.

What it took

PrismML's own format, PQ2_0, needs their fork of llama.cpp, so the first test, on 10 September, used the file they make for standard llama.cpp. On 14 September, when we ran the tests again, that file's five results were set aside; they stay in the run log but aren't scored here. Alan also thought the file looked too big: "nah find the right model please". We built the fork and ran all 14 of our tests on PQ2_0, then PrismML's MLX copy on the Mac Studio and the M4 Pro Mac mini, on the standard mlx_lm server.

What happened

  • Reaching for and choosing tools was perfect: 100% (60 of 60) on our test of when to reach for a tool, and 100% (40 of 40) choosing from a growing set, on every setup we scored.
  • Judgement was weak. On saying "I don't know" when the answer isn't there it scored 27.8% (20 of 72), and in the first test it took a planted, plausible wrong value 7 times in 8. On weighing evidence it scored 42.5% (17 of 40), catching none of 8 facts a later record had corrected.
  • The format changed the speed, not the scores. The first file's set-aside results matched PQ2_0's on all five tests they shared. The standard llama.cpp file wrote 13.5 to 13.8 tokens a second; Alan, on the first day: "so bonsai slow but it fits being the main selling point". PrismML's format reached 17.3, and the MLX copy 20.1.
  • It never took a lasting job. We advised against making it one agent's main model, as it took planted values so readily; it briefly handled two tool-routing side tasks instead. On 14 September it was up for a seat against a 9B model, and once the MLX scores matched, Alan wrote: "So bonsai is definitely a good idea then".
The files 5 tested · each has its own page
  • MLX 2-bit

    PrismML's MLX copy, tested on two Macs: within a few points of the GGUF's scores, and faster. Deleted from the Mac Studio on 11 October.

    Prism-ml `-mlx-2bit` · Deleted 11 Oct 2026 · 8.5 GB · 26 scored runs · smallest Mac 16 GB

  • PQ2_0

    PrismML's own format, on their fork of llama.cpp. It took all 14 of our tests. Deleted on 11 October.

    Prism-ml, prism fork · Deleted 11 Oct 2026 · 7.2 GB · 14 scored runs · smallest Mac 16 GB

  • MLX 2-bit, first copy

    An MLX copy already on the Mac Studio in August. Deleted on 7 September, never tested.

    Deleted 2026-09-07 · Deleted 7 Sep 2026 · 7.9 GB · never scored

  • Q2_g64

    PrismML's file for standard llama.cpp, and our first test, on 10 September. Its five results were set aside on 14 September, so they're in the run log but not scored. Deleted on 11 October.

    Upstream-compatible GGUF · Deleted 11 Oct 2026 · 7.6 GB · never scored · smallest Mac 16 GB

  • MTP TQ2_0

    A community copy with a built-in draft layer. Probed for speed and quality, never put through our tests; deleted.

    Vinpix community GGUF · Deleted 11 Oct 2026 · 8.8 GB · never scored

Corrections 24 to the record published 21 October 2026
  • Build of llama.cpp on 14 runs was 0.4.0-dev (build 10893, commit c32d1dabe), now 0.2.0-dev (build 1, commit 6ac5eb0). Served by the PrismML llama.cpp fork (build 1, commit 6ac5eb0), as every run manifest records; the stamp named the stock binary instead.

    Corrected 24 October 2026 · a mechanical fix

  • Build of llama.cpp on 5 runs was 0.4.0-dev (build 10893, commit c32d1dabe), now 0.2.0-dev (build 10618, commit eb25b7263). The runs finished before llama.cpp was upgraded that day, so the serving build was b10618; the stamp was read after the upgrade.

    Corrected 24 October 2026 · a mechanical fix

  • Size (GB) was 7.1, now 7.59. The file is 7,585,330,240 bytes (7.59 GB).

    Corrected 24 October 2026 · a mechanical fix

  • Quantisation was Q2_g64 (1.71 bits/weight), now Q2_g64 (2.26 bits/weight as stored). The file stores 2.26 bits per weight; 1.71 is the information content the model card quotes.

    Corrected 24 October 2026 · a mechanical fix

  • Schema evidence corrected. A nullschema run is in the run log; schema enforcement was never probed, so it is unproven rather than absent.

    Corrected 24 October 2026 · a mechanical fix

  • Verdict corrected. 96.2/97.9 were mean case scores; the board's pass rates for the same runs are 85.8 and 90.0.

    What it said before

    Verdict: The only model on this board at 100% toolcall. Also the best tagger of the small seats (96.2/97.9 at n=240) and best on contract (75.0). Weak where it matters for a driver: nullschema 27.8, worldview 42.5, and 0/8 on superseded. A tool executor, not a thinker. 17.3 tok/s -- dense, so it reads all 26.9B parameters per token.

    Corrected 24 October 2026 · a headline fix

  • Size (GB) was 7.2, now 7.17. The file this write-up describes (Ternary-Bonsai-27B-PQ2_0.gguf) is 7,165,121,600 bytes, 7.17 GB.

    Corrected 26 October 2026 · a mechanical fix

The lab's record Every decision, with its date · the model's specification
Decisions, in order
  • 2026-09-10 07:40Z, Alan: bench it. The assistant chose the Q2_g64 container so the bench ran on the same upstream binary as the night's other models; PQ2_0 needed a fork. Alternatives rejected: build the fork first (confounds binary and weights).
  • 2026-09-10 07:46Z, pre-registered (assistant): expect a poor toolcall. Falsified 08:08Z.
  • 2026-09-10 08:13Z, Alan on speed: "so bonsai slow but it fits being the main selling point"; 08:18Z "90 minutes to get things done almost excludes it on speed alone :)"; the run took 30 minutes, not 90. 08:21Z, offered to stop after worldview: "Nah let it run, it’s what the benches are for".
  • 2026-09-10 16:58Z, Hermes. Alan: "ok make bonsai primary, do the aux models need additional souls or tweaks?". The assistant argued against primary on lure resistance; the result was Bonsai for mcp and skills_hub aux tasks, primary K2-36B.
  • 2026-09-11 19:38Z to 21:18Z, ternary side-quest. Alan: "Read all of the docs for squish, also look for more ternary models online, bonsai was impressive"; "Can we ternary models ourselves or do you need the actual training data"; then "Nah ignore ternary for now" and "No take the 27b-mtp for sure, I meant making our own". Outcome: trained ternary is a good container, ternarising is not a conversion step (TQ2_0 is fast and lossless to pack, but ternary weights cannot be made post hoc). Files parked.
  • 2026-09-14 14:06Z, Alan: "can you investigate bitnet models that are available?". The assistant's answer: the best available ternary model was already on disk, not serving.
  • 2026-09-14 15:51Z, retire and re-run. "just run them again properly using bonsai and retire the others.". Old results moved to _retired; two abortive Q2_g64 re-runs; Alan "nah find the right model please", "do the fork to", "do it". Decision: PQ2_0 on the prism fork is the board's ternary 27B. Alternatives rejected: keep Q2_g64 (kernel-less, documented floor); prism's MLX fork (maintenance, and MLX stock loaded the pack anyway).
  • 2026-09-14 16:38Z, MLX legs. "yes, we have to, this is an important seat"; M4 Pro leg approved with "nah go for it whilst it's up, m4 pro can probably handle a seat at some point so running benchmarks there also a good idea". Both legs and the Mac Studio MLX re-run scored within noise of the GGUF.
  • 2026-09-14 21:20Z, Alan: "So bonsai is definitely a good idea then", then "I guess we should probably complete this by testing the 1 bit afterwards to see where its strengths and weaknesses are" (family-bonsai-27b-1bit).
  • 2026-09-17 17:49Z, spot-check. ternary-bonsai-27b-recheck (MLX weights, mlx_lm 0.31.3) reproduced the recorded 93.3 on screening. Caveat on the MLX file's page.
  • 2026-09-18 12:31Z, superseded. After Bonsai-2 measured parity with the Qwen3.8 Q4_0 on free-form suites at 5.5 to 6.7 GB, Alan: "bonsai 2 can live elsewhere"; the Bonsai-1 files became sweep candidates.
  • 2026-09-28, Alan: "thing is if the runtime is fast enough the bonsai seat possibly changes to either full fat 3.8 q4_0?". (reconstructed) About the Bonsai-2 seat on the M4 Pro and the Splash runtime, not this checkpoint.
  • 2026-10-11, Alan: "nuke tiers a & b" (a lab note): the Q2_g64, PQ2_0, MTP and MLX copies on the Mac Studio were deleted, with a RESTORE script that mis-describes which file produced which rows.
  • 2026-10-21, data fixes: the site's ternary-bonsai-27b card (Q2_g64) had been showing the PQ2_0 runs; fixed with build_config and build_note.
What we learned, in the lab's words
suiteQ2_g64 upstream b10618 (09-10)PQ2_0 prism fork (09-14)MLX 2-bit, the Mac StudioMLX 2-bit, M4 Pro
chainwalk—0.0 (n=2)—0.0 (n=2)
contract—75.0 (n=48)75.0 (n=48)75.0 (n=48)
enrichment—72.2 (n=54)72.2 (n=54)72.2 (n=54)
epistemics—85.4 (n=48)89.6 (n=48)89.6 (n=48)
grounding—68.8 (n=125)71.2 (n=125)71.2 (n=125)
nullschema27.8 (n=72)27.8 (n=72)——
screening—93.3 (n=60)93.3 (n=60)93.3 (n=60)
synthesis66.7 (n=60)66.7 (n=60)66.7 (n=60)66.7 (n=60)
tagger—85.8 (n=240)87.5 (n=240)87.9 (n=240)
tagger_nullable—90.0 (n=240)88.8 (n=240)89.2 (n=240)
toolcall100.0 (n=60)100.0 (n=60)100.0 (n=60)100.0 (n=60)
tools—100.0 (n=15)100.0 (n=15)100.0 (n=15)
toolscale100.0 (n=40)100.0 (n=40)100.0 (n=40)100.0 (n=40)
worldview42.5 (n=40)42.5 (n=40)42.5 (n=40)42.5 (n=40)
  • Tool use survives every container; judgement does not. toolcall, tools and toolscale are 100.0 on all four labels; worldview 42.5 and nullschema 27.8 (where run) on every container that ran them; lure resistance 12.5% (the model takes a plausible wrong value 7 times in 8). A benchmark that only measured tool use would have called it lossless (Tool perception is mostly all-or-nothing and tracks the checkpoint, not size or vendor claims).
  • The container moves speed, not score. Same weights, five suites in common between the upstream Q2_g64 run (np 1, q8_0 KV) and the PQ2_0 run (np 4, q4_0 KV): identical on all five (toolcall 100, toolscale 100, worldview 42.5, nullschema 27.8, synthesis 66.7). Decode: Q2_g64 13.5 to 13.8 tok/s, PQ2_0 17.3, MLX 20.1.
  • Runtime does not change capability on this dense model (MLX and GGUF score the same on a dense model: mean delta 0.59 points over twelve suites): GGUF vs MLX over 12 suites agree on 8 exactly; epistemics (+4.2) and grounding (+2.4) move on both machines. Recomputed with pass-rates the mean delta is +0.59; from mean scores it was +0.55.
  • 2-bit decode is not bandwidth-bound here. The Mac Studio (400 GB/s) and the M4 Pro (273 GB/s) both produce about 20 tok/s on the MLX pack; efficiency 38% on the M1 Max, 56 to 59% on the M4 Pro, 65% on prism's published M5 Pro. The assistant's 34 tok/s bandwidth prediction was wrong by 2x.
  • Contended speed numbers were wrong twice. The 3.8 tok/s the 27B 1-bit returned with four gauntlets running was 20.0 clean, and this model's prefill of 22 to 44 tok/s (quiet-box probe taken during the gauntlet) was 111.7 on the overnight matched protocol; the assistant withdrew both.
  • Trained ternary is exactly packable; post-hoc ternary is not (TQ2_0 is fast and lossless to pack, but ternary weights cannot be made post hoc; PPL 9.67 vs 51,702, see the MTP variant).
  • The 1-bit sibling pays where the ternary has most to lose (A controlled 2x2: the 27B loses 6.3 points to 1-bit, the 8B 1.6; recomputed table in family-bonsai-27b-1bit).
  • Not a speed play on this box: Bonsai-2, the Qwen3.8 ternary, gives half the bytes for the same decode speed as Qwen3.8 Q4_0 (7.2 vs 7.6 tok/s suite median), so ternary buys footprint (A ternary-trained Qwen3.8-27B holds parity on free-form work at 55% of the size, and loses everything it loses on schema-constrained output).
Why it was tested, in the lab's words
  • Alan, 2026-09-10 07:38Z, after a night on dense-model speed: "Just wish more 1.58 bit models would come out". The assistant, who had read the mlx-dspark repo listing "ternary Bonsai-27B", found the card. Its pitch: ternary attacks the bandwidth bottleneck (a dense 27B reads 15 GB per token; at 1.58 bits about 5 GB) and 75% linear attention attacks the context ceiling hit that night at 131072 on two runtimes.
  • Alan, 07:40Z: "Let’s bench it, really valid bench, I dabbled with it before".
  • The assistant's own pre-registered expectation, in the script that ran it: the Qwen3.6-35B-A3B MoE is the board's weakest tool caller, so a poor toolcall was expected, and the script comment calls that "a property of the family". It was wrong: the dense 27B scored 60/60.
  • The fit with the fleet design: a fast-prefill dense model could be the opposing review or synthesis model; Alan, 2026-09-14: "27b bonsai might make a good reasoner and maybe even a daily driver".
  • Compared against: Qwen3.8-27B Q4_K_M and K2-Horizon-36B on the same binary (2026-09-10), the Qwen3.8-9B distill (2026-09-14 seat contest), Ornith 35B-A3B, then its own 1-bit sibling (family-bonsai-27b-1bit) and the 8B pair, and finally Bonsai-2 (family-ternary-bonsai-2-27b).
Open questions
  • Nothing re-grades the stale-arm synthesis outputs (CONFLICT [id] [id] scored as no value): is the 66.7 a formatting artefact? The harness is locked; the grader finding belongs on the lab's backlog.
  • The M4 Pro MLX copy: still there? The restart command for the second half of that run is not on record.
  • Did the MLX nullschema refusal come from the schema probe? Inferred, not read from a log.
  • The mlx_lm versions of the two September MLX gauntlets are unknown.
  • Published tagger and chainwalk figures used mean scores while the board's column is pass-rate; which one should the site show for 240-case suites?
The model in detail
fieldvalue
vendorPrismML (prism-ml on Hugging Face)
upstream reposprism-ml/Ternary-Bonsai-27B-gguf (HF lastModified 2026-08-31), -mlx-2bit (lastModified 2026-07-14, main = 70f75f3), plus -unpacked and -AWQ-4bit
backboneQwen3.6-27B: hybrid attention, ~75% linear, full attention on 16 of 64 layers, 262K context on device
architecture (HF config of -unpacked)Qwen3_5ForConditionalGeneration, model_type qwen3_5, vocabulary ~248K (image token 248056), vision tower shipped separately (HQQ 4-bit mmproj, 0.63 GB)
parameters26.90 B, dense (GGUF header)
quantisation claimtrained ternary weights, one fp16 scale per 128 weights: "1.71 bits per weight" information content, 94.6% of FP16 intelligence retained, 80.49 average over 15 benchmarks (card, as quoted)
containers measured herePQ2_0 (group 128, 2.13 bpw, ggml type 142, prism fork only); Q2_g64 (2.25 to 2.26 bpw, type 42, loads upstream); MLX 2-bit g128 (8.49 GB with vision); a community TQ2_0 with MTP (2.46 bpw, K-quant escape hatches)
licencenot on record
releasenot on record; HF listing dates above
runtimes used hereupstream llama.cpp b10618 (Q2_g64, 2026-09-10); PrismML fork llama.cpp-prism, branch prism, commit 6ac5eb0, 0.2.0-dev (build 1) (PQ2_0, 2026-09-14); mlx_lm on the Mac Studio and on an M4 Pro (MLX)