PrismML releases Bonsai 2.5, a 5.9 GB coding model that runs locally
PrismML has released Ternary Bonsai 2.5 27B, an AI model for programming work that fits in 5.9 GB and runs on a personal computer. According to the company, it solves far more programming problems than its predecessor. The weights are free to download.
The company PrismML released Ternary Bonsai 2.5 27B . It succeeds Ternary Bonsai 2 27B and is built on Qwen3.8 27B, an open model from the Chinese company Alibaba. Bonsai 2.5 is designed for AI agents that read code, call programs and finish a task in several steps by themselves.
What makes it special is its size. A model with 27 billion parameters normally takes up about 54 GB. Bonsai fits in 5.9 GB, less than a ninth of that, just like its predecessor.
This is done with ternary quantisation: each number in the model may only have three values instead of thousands. Running the model does need more memory than those 5.9 GB, for example for the text it is working with.
What the model can do, according to PrismML
PrismML compared Bonsai 2.5 with its predecessor and with the original full-size Qwen model. All figures come from the company itself. The most important test is SWE-bench Verified: a set of real problems from existing software projects that the model has to solve. On this test, the score rose from 60.8 for the predecessor to 75.6. The large Qwen model reaches 80.6, so the gap has become small.
On two tests in which an agent has to finish a long task in many steps, the model improved even more: from 51.2 to 90.5 and from 0 to 27. On six of the seven tests, Bonsai 2.5 stays slightly behind the large model. On one test with stand-alone programming exercises, it scores 0.8 points lower than its own predecessor. PrismML says the new model is also less likely to keep thinking endlessly or to repeat itself.
The model is fast. PrismML measures 291 tokens per second on an NVIDIA H100, a chip for data centres, and 204 tokens per second on an RTX 4090, a graphics card for home use. A token is a small piece of text, often a short word or part of a word. The model reaches this speed with a technique that predicts several tokens ahead at once. In practice, the speed also depends on the software and the length of the text.
Free for anyone to run
Bonsai 2.5 runs with the program llama.cpp on graphics cards from NVIDIA and Intel, and with MLX, Apple's software, on Mac, iPhone and iPad.
The model's weights, the numbers in which it stores its knowledge, are available on Hugging Face to download. They fall under the Apache 2.0 licence: anyone may use, modify and share the model, including for commercial work.
Anyone who runs a model on their own computer does not have to send code and documents to a cloud service. That holds as long as the programs the agent calls do not send anything out themselves.
What does this mean for the road to the singularity?
Until now, a top-quality programming agent almost always ran in a data centre of a large AI company, with payment per request. Bonsai shows that a model almost as good as a large open model can also fit on a single graphics card at home. Every time such a free model gets closer, the paid services have to lower their prices or clearly offer more. Otherwise developers choose the model they can run themselves.
If that trend continues, every developer gets their own programming assistant that costs nothing per request and can keep working all night. A small company or a hospital can then let agents work on code that may never leave the building. And because such an agent costs nothing per step, it becomes attractive to let it make thousands of attempts and keep only the best solution. This makes more computing power available to improve software, including the software used to build AI itself.
What is the technological singularity? Read the explanation →