Malotru
Back to notes

Five Point Nine Gigabytes

November 26, 2026

On 24 November 2026 PrismML released Ternary Bonsai 2.5 27B, an Apache-2.0 update of its ternary coding model, with the Qwen3.8 27B architecture unchanged. Each language-model weight lies in {−1, 0, +1}, with an FP16 scale on every group of 128, at 1.76 bits per weight. The announcement says 5.9 GB. The docs and the model card say 5.93 GB, against 53.8 GB at FP16. Vendor tables put SWE-bench Verified at 75.6, against 80.6 and 60.8, and put the tool-calling and agentic-coding means at 77.2 and 54.2. The general-capability average is 82.3 over 14 benchmarks in the docs and 82.1 over 16 on the card. The speeds are vendor measurements, and upstream llama.cpp runs the Q2_0 file from build b11556.

Five Point Nine Gigabytes

On 24 November 2026 PrismML released Ternary Bonsai 2.5 27B under the Apache 2.0 license. It is an update of the company's ternary model for coding and tool use, derived from Qwen3.8 27B, with the architecture unchanged. The announcement calls the footprint 5.9 GB, carried over from the previous release. The documentation and the Hugging Face card both give the PTQ1_0 file as 5.93 GB, against 53.8 GB for the FP16 model. Every language-model weight is a value in {−1, 0, +1}, with one FP16 scale for each group of 128 weights. The card prints two bit counts and does not equate them: a trit carries log₂ 3 ≈ 1.585 bits, and the file is stored at 1.76 bits per weight. The gap is the scale and the packing, referred to the Bonsai 2 report. A blockwise Hadamard rotation is folded into the stored weights, so the basis change adds neither bits nor a second read of the weights at runtime [Source 1][Source 2][Source 3].

The card's parameter total is 27.36 billion: 24.35 billion in the language backbone, 2.54 billion in the embedding and output head, and 0.47 billion in a vision tower. Attention is hybrid, about three quarters linear and a quarter full, with SwiGLU, rotary positions, and RMSNorm. Context is 262,144 tokens. The model takes text or an image and returns text. The vision tower is a separate file, loaded only for an image. Docs say the base, the ternary format, the file size, and the runtimes match Bonsai 2. The 2.5 work is the behavior across a long chain of tool calls: reading a result, recovering from a failed step, keeping the objective, finishing in fewer turns and tokens, and doing less of the over-thinking the vendor attributes to Bonsai 2 [Source 1][Source 2].

Every score below is the vendor's. The whitepaper runs the comparison in thinking mode at effort xhigh, strips the reasoning block before grading, and uses the Qwen3.8 sampling: temperature 1.0, top-p 0.95, top-k 20, no presence or repetition penalty. Tasks are pass@1. No independent table is attached [Source 4].

Rows that match, and an average that does not

The announcement's table, in the order FP16 Qwen3.8 27B, Bonsai 2, Bonsai 2.5, reads: SWE-bench Verified 80.6, 60.8, 75.6; DeepSWE v1.1 on mini-swe-agent 30.1, 0, 27; Terminal-Bench 2.1 70.8, 52.8, 60.1; AppWorld 93.2, 51.2, 90.5; τ³-Bench 72.8, 69.1, 73.9; BigCodeBench 61.5, 57.2, 60.3; LiveCodeBench v6 87.6, 83.8, 83.0. The docs repeat the first five, with DeepSWE as 27.0. The whitepaper names the harnesses: Terminus-2 on all 89 Terminal-Bench tasks; mini-SWE-agent on all 500 SWE-bench Verified tasks and on 113 DeepSWE 1.1 tasks; AppWorld as the mean of task-goal and scenario-goal completion on 168 test-normal tasks. Bonsai 2's zero is this vendor's DeepSWE cell, no task solved. LiveCodeBench v6 does not rise: 83.0 sits under Bonsai 2's 83.8. The claim is about tool-use episodes. One single-shot coding row, in their table, moves the other way [Source 1][Source 2][Source 4].

Two means agree on the docs, the card, and the whitepaper. Tool calling, averaged over τ²-Bench, τ³-Bench, BFCL v3, BFCL v4, and AppWorld, is 77.2 against 77.7 at FP16. Agentic coding, the mean of Terminal-Bench 2.1, SWE-bench Verified, and DeepSWE, is 54.2 against 60.5, which the whitepaper calls about 90 percent of FP16, up from 63 percent for Bonsai 2. The mean hides a split. On the card, τ²-Bench is 82.0 against 80.6 and τ³-Bench is 73.9 against 72.8, while BFCL v4 is 67.2 against 70.8. The whitepaper says τ², τ³, and BFCL v3 are not comparable with the Bonsai 2 report, because the user simulator now thinks and BFCL v3 now uses native tool calls. The announcement still prints Bonsai 2 and 2.5 on one grid [Source 2][Source 3][Source 4].

The general-capability average is where the pages disagree, and this essay does not blend them. The docs say 82.3 against 84.4, five categories over 14 benchmarks. The card says 82.1 against 84.3, five categories over 16. The whitepaper's prose matches the docs. The average row of its category table prints 84.32 and 82.12, which the card rounds to 84.3 and 82.1. The figures used above are the announcement's rows and the two means that the pages share. The announcement calls the model "by far the strongest AI model of its memory footprint for agentic workloads." The whitepaper's comparison set is four named low-bit builds of the same base. On the three coding benchmarks, GSQ-RCO IQ3_XXS, at 10.1 GB, still leads, 55.5 against 54.2. On the tool-calling mean the card has Bonsai 2.5 ahead of that build, 77.2 against 75.3. The superlative is a sentence about that list [Source 1][Source 2][Source 3][Source 4].

Which speed, and which file

The announcement gives 291 tokens per second on an H100 with multi-token prediction, and 204 on an RTX 4090, plus prompt rates of 3,200 tokens per second on the H100 for a 2,000-token prompt and about 3,060 on the 4090. The whitepaper's table times llama-server on 36 real prompts and says to read it apart from the synthetic-token bench. On an H100, PTQ1_0, three drafts, cutoff 0.1, decode is 184 with the head off, 282 with the head on, and 291 with kernels still in testing. Prefill of a 2,048-token prompt is 2,746, then 2,151, then 3,196. The announcement's 291 and 3,200 sit with the testing-kernel column. The released head on that row is 282, and prefill slows with the head on because the head reads the prompt. On the 4090, decode is 111, then 204, and the testing kernels leave it at 204, in agreement with the announcement. Their prefill cell is 3,014, against the announcement's about 3,060 [Source 1][Source 4].

The docs print the released head: 184 to 282 on the H100, 111 to 204 on the 4090. They summarize the testing kernels as about 300 tokens per second on an H200 or a B200; the card's cells are 306 and 309. Prose in the whitepaper says the head speeds NVIDIA decode by 1.5 to 1.8 times; the 4090 row is 1.83 times. On an H200 the card reports a mean KL divergence of 5.2×10⁻⁵ between drafting on and off. It says that check is not yet done on Metal, SYCL, or the phone processor. Packaging also disagrees. The docs and the card put the draft head only in separate MTP files. The whitepaper's summary says every GGUF file of the release includes one [Source 2][Source 3][Source 4].

The three packings are one ternary model. PTQ1_0, 5.93 GB, and PQ2_0, about 7.2 GB, need PrismML's llama.cpp binaries; upstream refuses them as unknown types. Q2_0, about 7.6 GB, runs on upstream llama.cpp from build b11556. An older upstream build loads it without warning and produces garbage. The card says that Q2_0 support was merged as llama.cpp pull request 29600, and that PTQ1_0 is still under review. On an H200 its Q2_0 comparison is 109 tokens per second in stock llama.cpp against 150 on the PrismML runtime. llama.cpp defaults min_p to 0.05; the thinking-mode setting is 0, so the flag has to be set. A reasoning effort of "low" is unsupported and behaves close to xhigh [Source 2][Source 3].

The whitepaper's limit is the length of the episode. Terminal-Bench 2.1 is where the model sits furthest from FP16, 60.1 against 70.8, and the reported evaluations are bounded single tasks. Hour-scale suites — MLE-bench, Vending-Bench, SWE-bench Pro — are named as unmeasured. The figure of about 90 percent is a mean of three bounded coding episodes, reported by the company that trained the weights [Source 4].

Sources