---
title: "Ternary Bonsai 2.5 27B Review: How Good Is a 6 GB Model?"
url: "https://goremy.ai/blog/articles/ternary-bonsai-2-5-27b-hands-on-test-results"
author: Luis Chavez-Mattos
editor: Luis Chavez-Mattos
editor_title: Director, Product
published: "2026-11-28T09:20:14.884Z"
updated: "2026-11-28T09:20:14.884Z"
topic: Local AI
description: "Hands-on results for Ternary Bonsai 2.5 27B: it fixed a real bug and extracted JSON from a scan, but failed multilingual OCR and hallucinated a scene."
---

# Ternary Bonsai 2.5 27B Review: How Good Is a 6 GB Model?

> Hands-on results for Ternary Bonsai 2.5 27B: it fixed a real bug and extracted JSON from a scan, but failed multilingual OCR and hallucinated a scene.

Edited by Luis Chavez-Mattos, Director, Product · Published 2026-11-28

## How good is a 6 GB ternary model compared with its full-precision parent?

Ternary Bonsai 2.5 27B, from Prism ML, is surprisingly capable for its size. In one hands-on test series it fixed a real bug in a full-stack app, solved two math problems correctly, and pulled seven fields from a scanned document into clean JSON. It also failed at multilingual handwriting, produced an average image-to-HTML result, and invented a detail that was not in a photo. On tool-calling benchmarks it landed almost level with a full-precision model about nine times bigger. For agentic coding and math, expect some loss from the parent.

## TL;DR

- Bonsai 2.5 27B squeezes a 27-billion-parameter model into **roughly 6 GB** by storing each weight as one of three values: plus one, zero, or minus one.
- On **tool-calling benchmarks** it averages almost neck and neck with the full-precision Qwen model it is based on, which is about nine times larger.
- In a real **bug-fix test** it found and fixed a one-line error in about 10 minutes, without looping or hallucinating.
- It **passed the math test** and extracted all seven fields correctly from a printed land transfer document.
- It **mostly failed multilingual handwriting**, garbling translations and misidentifying languages, so do not trust it for that.
- It **hallucinated a doorway scene** that was not in a photo, so verify anything it says about images.
- Treat this as one tester's results, not a lab benchmark. Each test was a single run.

## What is a ternary model, and why is it so small?

Most language models store each weight (a number the model learned during training) as a detailed decimal. That is why a 27-billion-parameter model usually takes tens of gigabytes. A ternary model limits every weight to one of three values: plus one, zero, or minus one. Each group of 128 weights then shares one scaling number to keep the values useful.

The result averages 1.76 bits per weight, which brings the smallest standard file to about 6 GB. That is small enough to run on a single workstation GPU. Running a model on your own hardware instead of through a cloud service is what people mean by "local AI." Your documents never leave your machine, and you pay no per-request fees.

Other specifics from the source material:

- It is built on Qwen 3.8 and covers language and vision.
- It uses hybrid attention. About three quarters is a lighter linear attention, and the rest is full attention.
- The context window is up to 262,000 tokens.
- It offers two reasoning levels, medium and extra high.
- It is released under the Apache license.
- It includes a draft head, which guesses the next few tokens so the main model can check them and speed things up.

## How did it do on the benchmarks?

The benchmark that matters most for this model is tool calling: how well a model uses tools to finish real tasks. Per the comparison shown in the review:

- Against the full-precision Qwen model, which is about nine times bigger, the two are almost neck and neck on average.
- Against other compressed versions, Bonsai 2.5 comes out ahead on that average, even though those versions take up more space.
- Against Bonsai 2, it is the same size but clearly better, with a large jump on AppWorld, which checks whether a model can complete tasks across apps.
- It does not win every individual test.

Prism ML's paper reportedly says tool calling and general ability lose little, while agentic coding keeps about 90% of the original score. The reviewer was skeptical of that figure and guessed closer to 60 to 70% from what he saw. That is an impression, not a measurement. The paper also reportedly puts the largest loss on math.

## How did it do in real tests?

Here is each test and its outcome.

| Test | Outcome |
|---|---|
| Agentic bug fix | Pass. One-line fix in about 10 minutes |
| Vision to HTML | Average. About 15 minutes of thinking |
| Math from an image | Pass on both problems |
| Multilingual handwritten note | Mostly failed |
| Document extraction to JSON | Pass. All seven fields correct |
| Scene description | Well written, but hallucinated a detail |

### Agentic bug fix

The test app was a health early-warning dashboard for camp clinics, with made-up data. Twelve clinics report weekly cases. The bug: the alert threshold was calculated using the current week's spike, so the threshold rose with the spike and the screen showed "normal" with zero alerts, even when diarrhea cases jumped from 15 to 46 in a week.

The model ran through the Hermes agent, a tool that lets a model read code, edit files and run commands. It confirmed the bug and produced a one-line fix in about 10 minutes. After a restart, the dashboard showed the alerts. The reviewer said the reasoning was much better than the previous version.

For this run, the model used about 14 GB of VRAM (graphics memory) at the chosen context length on a 48 GB GPU. Your number will vary with settings.

### Vision to HTML

Given a sketch of a kebab-cooking scene, the model was asked for a single self-contained HTML file simulating it. After about 15 minutes of thinking, it produced a kebab cone on a spit, a heat panel, an angled knife, and a plate with tomato, onion rings, sliced meat and a sauce bottle. The reviewer called it average but acceptable for a ternary model. It added no text that was not in the sketch.

### Math

The model was shown an image of a math problem plus a harder follow-up needing a second step. It returned correct answers for both (k = 3 and −15 for the first part, k = 4 and −15/3 for the second). The reviewer expected a much harder problem to break it.

### Multilingual handwriting

This was the clear failure. The model quoted a line that was not on the note, called Malay and Indonesian words Hindi and Arabic, and produced garbled translations in many languages. The reviewer called it unreliable.

### Document extraction

Given a printed, AI-generated land transfer document with a seal, the model turned key details into a JSON object (a structured, machine-readable format). All seven fields matched the page.

### Scene description

Shown a photo of a bar with a love triangle, the model wrote options, costs and suggested wording for each of three people. The prose had no repetition or broken words, and it kept the characters separate. But it invented a doorway scene that is not in the photo, and the advice read as preachier than expected.

## What does this mean for you?

**If you handle sensitive documents** (contracts, intake forms, invoices), the extraction result is the most relevant. A model that runs on your own machine and returns structured fields without sending files to a cloud service is attractive for finance, legal and HR work. Check every field against the source before relying on it, especially on messy scans.

**If you work in developer or IT roles**, the bug-fix result suggests small local models can handle focused agentic tasks. Expect weaker results on large, ambiguous codebases than on a well-defined bug.

**If you work across languages**, do not use this model for handwriting or translation across many languages.

**If you describe or caption images**, assume it can add details that are not there. Keep a human review step.

**If you are just curious**, you need a capable GPU. The tester used a 48 GB card, though memory use was about 14 GB at his settings. Setup was simple: clone the repo, run the setup script that downloads the model and prerequisites, then serve it with llama server.

## What if you want a tool built around a model like this?

A model that extracts fields from documents or flags a spike is only useful once it sits inside a small tool people can actually use. If you want an intake form, a weekly reporting dashboard with alert thresholds, or a document-to-record tracker, [Remy](https://goremy.ai) can build it from a plain-English description. It produces a full-stack app with a database, sign-in and a live URL. You describe the fields and the rules (for example, "alert when this week's cases exceed the average of the previous eight weeks"), and you own the resulting code instead of renting another subscription.

## Frequently Asked Questions

### Is Ternary Bonsai 2.5 27B as good as the full-precision Qwen model?

On tool-calling benchmarks, the two average almost the same, even though the full-precision model is about nine times larger. In other areas, there is some loss. The paper reportedly says agentic coding keeps about 90% of the original score, though the reviewer guessed lower. The largest reported loss is on math.

### What hardware do you need to run it?

The model file is about 6 GB. In the test, it used about 14 GB of VRAM at the chosen context length on a 48 GB GPU. Your requirement depends on your context settings, so check the project's own documentation.

### Can it read scanned documents?

In one test it extracted seven fields from a printed land transfer document into JSON with all fields correct. That is one document, so test it on your own files before trusting it.

### What should you not use it for?

Avoid multilingual handwriting recognition and translation, which mostly failed. Also avoid unchecked image description, since it invented a doorway scene that was not in the photo.

### Is it free to use commercially?

The model is released under the Apache license, which is generally permissive. Read the license text for your specific use.
