HAVE AI NEWS HAVE AI NEWS
tg subscribe
Models

Ternary Bonsai 2.5 27B: 5.9 GB for Agentic Tasks

Ternary Bonsai 2.5 27B: 5.9 GB for Agentic Tasks

PrismML has released Ternary Bonsai 2.5 27B, a compact version of Qwen3.8-27B for tool use, terminal work, and code repair.

On November 26, 2026, PrismML introduced Ternary Bonsai 2.5 27B, a ternary version of Qwen3.8-27B for local agentic tasks. The model occupies 5.93 GB instead of 53.8 GB, retains similar tool-use results, and runs in compressed formats, including a version for standard llama.cpp.

What changed in Bonsai 2.5

Each model weight can take only one of three values: −1, 0, or +1. The overall scale is stored in FP16 for a group of 128 weights, so each weight averages 1.76 bits instead of 16.

Before the ternary representation is applied, weight blocks are transformed into another basis using a Hadamard transform. This helps distribute rare large values across the block and reduce losses caused by aggressive compression.

The main architecture remains based on Qwen3.8-27B: the model supports contexts of up to 262,000 tokens and image processing. PrismML has not disclosed which specific changes improved its agentic capabilities.

The most compact PTQ1_0 format currently works only in PrismML's fork of llama.cpp. The 7.67 GB Q2_0 format is supported by standard llama.cpp starting with build b11556. The weights are available on Hugging Face, while launch scripts have been published on GitHub under the Apache 2.0 license. The training code and training data are not included in the release.

Tool use

In the τ²-Bench and τ³-Bench tests, an agent sequentially serves a virtual customer; BFCL evaluates function calls; and AppWorld tests interaction with the APIs of nine everyday applications, including email and task lists.

Bonsai 2.5 outperformed the original model on τ²-Bench, τ³-Bench, and BFCL v3. On AppWorld, its score rose from 51.2 for the previous Bonsai 2 to 90.5. Qwen3.8-27B scored 93.2.

Across five tool-use benchmarks, Bonsai 2.5 averaged 77.2 points, compared with 77.7 for the original model. This is notably higher than the results of several standard quantized Qwen3.8-27B builds ranging from 7.6 to 10.1 GB.

For example, IQ2_XS is approximately 1.4 times larger than Bonsai 2.5 and scores 79.5 on τ²-Bench, but only 46.5 on AppWorld. On some tasks, the build generates a long script with speculative API calls and completes the task without a confirmed response from the service.

Agentic programming

In programming tasks, a single incorrect command can derail a long agent episode. On SWE-bench Verified, Bonsai 2.5 solved 75.6% of tasks, compared with 80.6% for Qwen3.8-27B. On DeepSWE, the scores were 27.0% and 30.1%, respectively.

The gap was larger on Terminal-Bench 2.1: 60.1% versus 70.8%. At the same time, the larger IQ3_XXS build scored 66.3% and achieved a slightly higher average result—55.5 versus 54.2 for Bonsai 2.5.

The previous Bonsai 2 of the same size retained about 63% of the original model's performance in agentic programming and did not solve a single DeepSWE task. The new version retained about 90% of the original accuracy in this task category.

General capabilities and speed

Across five categories covering 16 benchmarks—from general knowledge to image understanding—Bonsai 2.5 averaged 82.12 points. Qwen3.8-27B scored 84.32. The largest gap was in mathematics, where it reached 3.05 points.

The release also includes a multi-token prediction (MTP) head. On NVIDIA GPUs, the additional layer proposes up to three subsequent tokens, after which the main model verifies them in a single pass. According to PrismML, this increases speed by 1.5–1.8 times without changing generation results beyond rounding precision.

  • H100 — 291 tokens per second;
  • RTX 4090 — 204 tokens per second;
  • Apple M4 Pro — 29.2 tokens per second.

Independent checks

Bonsai is not yet included in the Artificial Analysis index, and the available third-party tests are limited to individual runs.

MODEL tested the Q2_0 format in standard llama.cpp on a computer with eight cores, 15 GB of RAM, and no GPU. The model occupied about 9.5 GB and generated 3.3 tokens per second. It handled a tool call and a simple Python function, but one tool-use cycle took about 48 seconds.

Kingy compared Bonsai 2.5 with Bonsai 2 on a MacBook Pro with an M4 Pro and 24 GB of memory. On three small Python fixes, both models successfully completed all six attempts, but the new version had a median time of 58.5 seconds versus 118.7 seconds for Bonsai 2.

According to a user report, Bonsai 2.5 running in llama.cpp occupied about 7.8 GB on an RTX 3080 with 10 GB of VRAM and one parallel slot.

Comparison with Inkling 2 Mini

A direct comparison of agentic models depends not only on the weights but also on the software setup. For example, PrismML obtained a DeepSWE score of 30.1% for Qwen3.8-27B in mini-SWE-agent, while Thinking Machines reports 42.2% for the same model in Claude Code. It is therefore more accurate to compare each model's performance relative to its original model within each measurement set.

Model and data sourceWeights, GBSWE-bench VerifiedTerminal-Bench 2.1DeepSWE 1.1
Bonsai 2.5 27B, PrismML5.9375.6%60.1%27.0%
Qwen3.8-27B, PrismML53.880.6%70.8%30.1%
Inkling 2 Mini, Thinking Machinesabout 2079.2%71.6%48.2%
Qwen3.8-27B, Thinking Machines53.877.8%73.0%42.2%

In PrismML's measurements, Bonsai 2.5 retains 85–94% of Qwen3.8-27B's scores. In Thinking Machines' table, Inkling 2 Mini achieves 98–114% of Qwen's result but requires approximately 3.4 times more memory.

Inkling Small and Inkling 2 Small belong to a much larger server-class category: they contain 276 billion and 594 billion parameters, respectively. In the Artificial Analysis index, they score 10 and 31 points, while Inkling 2 Mini and Qwen3.8-27B each score 20.

Who is Bonsai 2.5 27B for?

Bonsai 2.5 is designed for local agentic scenarios: tool use, terminal work, and program code repair. According to PrismML, the model's most notable limitation is Terminal-Bench 2.1, while the developers have left longer-running tasks, including MLE-bench and SWE-bench Pro, for future versions.

With 10–24 GB of memory available, the model may be a practical option for a local agent on a GPU or Mac. Bonsai 2.5's advantage is not maximum accuracy, but the combination of a compact size and results close to those of the original Qwen3.8-27B when working with tools.

Original byline: Boris Sedu

Source: neurohive.io

Testing Qwen3.8-Flash-Next: Comparison with Production Models and the Importance of Multiple Runs
Models

Testing Qwen3.8-Flash-Next: Comparison with Production Models and the Importance of Multiple Runs

Recent benchmark tests of the Qwen3.8-Flash-Next architecture showed quality on par with Qwen3.8-27B alongside notable architectural innovations, though production adoption remains hindered by limited inference engine support.

Inkling 2 Mini: Thinking Machines’ 20GB open model matches Qwen3.8-27B
Models

Inkling 2 Mini: Thinking Machines’ 20GB open model matches Qwen3.8-27B

Thinking Machines Lab has released Inkling 2 Mini, an open multimodal model for agentic tasks. It uses about 20GB and scored 20.1 on Artificial Analysis, matching Qwen3.8-27B.

Tencent releases WePocketModel 1.0, an 8 GB multimodal model
Models

Tencent releases WePocketModel 1.0, an 8 GB multimodal model

WePocketModel combines image and text search, visual question answering, and action selection. Tencent estimates that the 4B version matches a set of separate models while using about 8 GB in BF16.

Google introduces Gemini 4 Neon for fast, complex AI workflows
Models

Google introduces Gemini 4 Neon for fast, complex AI workflows

Gemini 4 Neon is Google’s new frontier-level model for software engineering, enterprise analysis, science, cybersecurity and long-running agent tasks. It offers a one-million-token context window, flexible reasoning levels and lower per-task costs, with access beginning across Google AI Studio, Gemini for business, Antigravity and the Gemini app.

Alibaba Introduces QwenGyre to Solve GPU Idling During Training of Complex AI Agents
Tools

Alibaba Introduces QwenGyre to Solve GPU Idling During Training of Complex AI Agents

The new QwenGyre framework from researchers at Alibaba, Tsinghua University, and USTC eliminates computational delays when training autonomous agents on ultra-long tasks, nearly doubling the speed of the process.

Google Releases Gemini 4 Neon: New Model Nearly Catches Up with Flagship Carbon
Models

Google Releases Gemini 4 Neon: New Model Nearly Catches Up with Flagship Carbon

Gemini 4 Neon is Google’s fourth model in two months, delivering strong results in 16 of 19 tests and offering a lower API price than its competitors.