Upgraded 27B ternary model keeps its 5.9 GB size

PrismML, which develops compressed AI models, released the ternary AI model "Ternary Bonsai 2.5 27B" on Nov. 24 (Nov. 25 Japan time). It is an upgrade to "Ternary Bonsai 2 27B," released on Sept. 17, and the company said it strengthens agentic coding, tool use over multiple turns, and the execution of tasks that take many steps. It is built on Chinese company Alibaba's "Qwen3.8 27B," and keeps the same 5.9 GB size as the previous version. The weights were released under the Apache 2.0 license.

Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.

A ternary model represents each of the numbers that determine an AI's performance (its weights) with only three values: −1, 0 and +1. According to the model card, one scale factor is shared by every group of 128 weights, which works out to 1.76 bits per weight. The model is 5.93 GB, about one-ninth of the 53.8 GB needed to hold the original Qwen3.8 27B at 16 bits. It has 27.36 billion parameters (a measure of model size) in total and a context window of 262,144 tokens.

PrismML emerged from a team of researchers at the California Institute of Technology (Caltech) and was founded with support from Khosla Ventures, Cerberus and Google. South Korea's Samsung also continues to support it, the company said. In its announcement, the company claimed the model is "by far the strongest AI model of its memory footprint" for agents that work with private files and tools on the device.

SWE-bench Verified rises from 60.8 to 75.6

The company's announcement lists results on seven benchmarks alongside the previous version and the original Qwen3.8 27B. On SWE-bench Verified, which has models solve software development tasks, it scored 75.6, up 14.8 points from 60.8 for the previous version. DeepSWE v1.1, on which the previous version scored 0, rose to 27, and AppWorld, which has models write code against app APIs, rose from 51.2 to 90.5. On τ³-Bench, which measures tool use over many turns of a simulated customer conversation, it scored 73.9, above the original Qwen3.8 27B's 72.8.

According to the model card, its average across five tool-use benchmarks was 77.2, nearly level with the original model's 77.7. On three agentic coding benchmarks, it kept 90% of the original model's score, the company said. The previous version kept 63%. The company said it also reduced the excessive thinking and repetitive loops seen in the previous version, so the model finishes tasks in fewer turns and with fewer tokens.

Benchmark results announced by PrismML. Qwen3.8 27B is the original model before compression. From the table on the company's announcement page
  • Qwen3.8 27B
  • Bonsai 2 27B
  • Bonsai 2.5 27B
80.660.875.6
SWE-bench Verified
30.1027
DeepSWE v1.1 (mini-swe-agent)
70.852.860.1
Terminal-Bench 2.1
93.251.290.5
AppWorld
72.869.173.9
τ³-Bench
61.557.260.3
BigCodeBench
87.683.883.0
LiveCodeBench v6

Falls short of the original model on coding, and slips on some benchmarks

On coding benchmarks, however, a gap with the original Qwen3.8 27B remains. Its SWE-bench Verified score of 75.6 is below the original's 80.6, and on Terminal-Bench 2.1, which measures tasks involving terminal operations, it scored 60.1, 10.7 points short of the original's 70.8. On LiveCodeBench v6, which has models solve programming problems, it scored 83.0, down from 83.8 for the previous version.

In the model card, its BFCL v4 score among the tool-use benchmarks was 67.2, below the original model's 70.8. Its average in the instruction-following category was also 80.90, lower than the previous version's 82.55. All of these figures were measured by PrismML, and no results from a third party under the same conditions could be confirmed.

Claims the top spot under 10 GB against other compressed versions of the same model

In the model card, PrismML also compared four other versions of Qwen3.8 27B made smaller by different methods. All of them hold weights at a low number of bits, and range from 7.6 GB to 10.1 GB, larger than Bonsai 2.5's 5.93 GB. The company claims that among versions under 10 GB, it ranks first on both tool use and agentic coding.

However, the 10.1 GB version "GSQ-RCO IQ3_XXS," 1.7 times the size, averages 55.5 across the three coding benchmarks, above Bonsai 2.5's 54.2. On the tool-use average, Bonsai 2.5 scored 77.2, above IQ3_XXS's 75.3.

Agentic coding average measured by PrismML (Terminal-Bench 2.1, SWE-bench Verified and DeepSWE). Size in parentheses. From the table in the company's Hugging Face model cardAverage of 3 coding benchmarks
60.5
AlibabaQwen3.8 FP16 (53.8 GB)
55.5
GSQ-RCO IQ3_XXS (10.1 GB)
54.2
Bonsai 2.5 27B (5.93 GB)
52.5
GSQ-RCO IQ2_S (9.3 GB)
48.5
GSQ-RCO IQ2_XS (8.4 GB)
47.8
Unsloth UD-IQ2_XS (7.6 GB)
37.9
Bonsai 2 27B (5.93 GB)

291 tokens per second on an H100, and runs on consumer GPUs

According to the company, on a single Nvidia "H100" data center GPU the model generates text at 291 tokens per second. It processes a 2,000-token prompt at 3,200 tokens per second. Even on the consumer "RTX 4090," it generates text at 204 tokens per second and processes prompts at about 3,060 tokens per second, the company said. These figures use "MTP," a mechanism that predicts several upcoming tokens in advance and then checks them, and the model card lists them as numbers that include computing routines (kernels) still in testing.

Among open models that run on local devices, Thinking Machines Lab released "Inkling 2 Mini," whose weights are about 20 GB, under Apache 2.0 just on Nov. 20 (Nov. 21 Japan time). Bonsai 2.5's weights are 5.93 GB.

Available via llama.cpp and MLX; caution with older upstream versions

Ternary Bonsai 2.5 27B runs on Nvidia and Intel GPUs through the open-source software "llama.cpp," and on Mac, iPhone and iPad through Apple's "MLX." The weights are on Hugging Face.

According to the model card, the smallest format, "PTQ1_0," runs only on PrismML's modified llama.cpp, and its inclusion in the upstream project is under review. On upstream llama.cpp, the "Q2_0" format runs on release b11556 and later. Older upstream releases load it without any warning and produce meaningless output, so the company asks users to check their version.