PrismML squeezes a coding AI model into 5.9 GB
PrismML released Ternary Bonsai 2.5 27B, a small, heavily compressed AI model for coding helpers. It's 5.9 GB, uses the Apache 2.0 license, and runs on consumer graphics cards and Apple devices.
PrismML announced Ternary Bonsai 2.5 27B on November 24, 2026. It's built on Qwen3.8 27B and aims at agentic work: writing code, calling tools and finishing multi-step tasks. Its size on disk is 5.9 GB, the same as the earlier Bonsai 2. The page doesn't explain "ternary," but it points to a whitepaper on the compression.
On SWE-bench Verified, a test of fixing real software bugs, it scores 75.6, against 60.8 for Bonsai 2 and 80.6 for the full Qwen3.8 27B. On Terminal-Bench 2.1 it scores 60.1 against 70.8 for the original. On LiveCodeBench v6 it scores 83.0, a little below the original's 87.6. All numbers are from PrismML.
Reported speed is 291 tokens per second on an NVIDIA H100 and 204 on an RTX 4090 with MTP. The license is Apache 2.0.
New to this? The key idea
Compressing a model is like saving a photo at lower quality. Ternary means each stored weight uses only three possible values, so the file shrinks a lot, here to 5.9 GB for a 27B-parameter model. You trade some accuracy for a model small enough for a gaming graphics card or a Mac.
Use it at work
Use it for: developers who want a coding assistant that runs locally, and teams that cannot send source code to an outside service.
Try it: it runs on NVIDIA and Intel GPUs via llama.cpp, and on Mac, iPhone and iPad via MLX. The page gives no install commands. Weights are in the Hugging Face collection at huggingface.co/collections/prism-ml/bonsai-25-27b, and setup docs are at docs.prismml.com. The page links two demos, fixing a pytest regression and rebuilding a web page from a screenshot.
Before you roll it out: the licence is Apache 2.0. Run locally, your code stays on your machine. The page gives no minimum hardware beyond the 5.9 GB size. It reports about 204 tokens per second on an RTX 4090 and 291 on an H100 with MTP. It is built on Qwen3.8 27B and still trails the full model on most benchmarks, with the biggest drops on SWE-bench Verified and Terminal-Bench 2.1. All numbers are from PrismML. The release also targets excessive thinking and repetitive loops seen in the previous version. Compare it with your current local model on your own tasks before trusting the benchmarks.
Summaries are written by AI from the linked source. Always check the original.