Skip to content

Models & products

PrismML releases Bonsai 2.5 for local coding, with a 7.67 GB file for stock llama.cpp

Edited and reviewed by AI Ping Editorial Team

Key points

  1. The smallest base file for the 27B model is 5.99 GB. The base file for unmodified llama.cpp is 7.67 GB.
  2. In PrismML’s tests, the model gained 14.8 points over its predecessor on SWE-bench Verified, a benchmark of real software issues.
  3. In PrismML’s RTX 4090 test, multi-token prediction sped up output and slowed the initial reading of the prompt.
IntermediateDevelopers
A portable drive connected to a laptop by a short cable
A drive beside a laptop illustrates how downloaded model weights can be used on a personal computer. AI-generated concept illustration · AI Ping

PrismML released the weights for Ternary Bonsai 2.5 27B under the Apache 2.0 license on November 24. The 27-billion-parameter model is designed to edit code and use tools on a local machine. PrismML puts its footprint at 5.9 GB, the same as Bonsai 2.

The smallest base download in the public repository is 5.99 GB. The one packaged for stock llama.cpp is 7.67 GB. Both contain the same weights. The smaller one requires PrismML’s runtime, while the larger one runs on stock builds from b11556 onward. Staying with a compatible stock build adds about 1.68 GB to the download.

Why the same weights come in three file sizes

Bonsai encodes compressed weights as −1, 0 or +1, sharing one scale factor per 128 weights. PTQ1_0 packs those values densely. Another packing assigns two bits per weight. At the time of checking on November 25, support for the dense format was still under review in the main llama.cpp project.

Each packing comes as a base file and a variant marked MTP, for multi-token prediction. The two-bit format for PrismML’s runtime, PQ2_0, has a 7.25 GB base file. Subtracting the published byte counts gives the same difference for each pair. Including the prediction component adds 238,984,096 bytes, about 239 MB. The Q2_0 files are 7.67 GB without it and 7.91 GB with it.

Base and MTP file sizes for three Bonsai GGUF formats
Green shows the base file, orange the extra space for multi-token prediction. The numbers give the base size first and the total with prediction second. Chart by AI Ping using PrismML file data.

GGUF stores the model’s numerical weights along with metadata describing those tensors. The file listing tells a reader how much space the resulting package takes on disk. Running the model also takes memory for intermediate data. As a model generates a reply a token at a time, it also stores values computed for earlier tokens so it can reuse that work for the next one. The cache takes memory of its own, depending on the implementation and the context being processed.

The GGUF release loads a separate vision component when the user supplies an image, such as a screenshot. Text-only work can use the language file on its own. The repository lists two versions of the vision file, at 629 MB and 931 MB. Pairing the smaller one with the base file for stock llama.cpp brings the two downloads to about 8.30 GB.

Fixing an issue and timing a reply

SWE-bench Verified consists of 500 real software issues screened by human reviewers. They checked that descriptions were clear, that the available information was sufficient to solve the problem and that the tests were appropriate. PrismML reported scores of 60.8 for Bonsai 2 and 75.6 for version 2.5. Its full-precision reference model, Qwen3.8 27B, scored 80.6. That narrowed the gap to the full-precision model from 19.8 points to 5.0. On LiveCodeBench v6, a code-generation test, version 2.5 lost 0.8 points against its predecessor.

Another test, AppWorld, sets tasks across nine simulated everyday apps, including notes and shopping. Its checks inspect the final state, so they can catch a system that completes the requested change and accidentally alters something else. The full benchmark contains 750 tasks in an environment populated with the activities of about 100 fictitious users. PrismML ran the 168 tasks in the standard test split and averaged task and scenario goal completion. Bonsai 2 scored 51.2 and version 2.5 scored 90.5.

Speed depended on which part of a request was timed. On one RTX 4090, PrismML measured 111 output tokens per second with the prediction component off and 204 with it on. In the same comparison, the rate for reading a roughly 2,000-token prompt fell from 2,808 to 2,166 tokens per second. A long document with a short answer splits its time between those stages differently from a short request for a long piece of code.

A graphics card with metal heat-sink fins and a circular cooling fan
A graphics card and its cooling assembly illustrate the kind of hardware used in generation-speed tests. AI-generated concept illustration · AI Ping

For Apple silicon Macs, PrismML published an MLX package with a two-bit language model and a vision component. Multi-token prediction is optional. The company reports that its loader passed a text arithmetic test and distinguished red from blue images on Apple silicon.

Sources