Ternary Bonsai 2.5 packs a 27B model into 5.9 GB and nearly closes the gap to full precision

Ternary Bonsai 2.5 27B

Prism ML's Ternary Bonsai 2.5 27B, built on Qwen3.8 27B, keeps the previous release's 5.9 GB footprint while sharpening agentic coding and multi-turn tool use. On SWE-bench Verified it climbs from 60.8 to 75.6, and AppWorld jumps from 51.2 to 90.5, closing much of the distance to the full-precision base model. It runs on NVIDIA and Intel GPUs via llama.cpp and on Apple devices via MLX, with weights under Apache 2.0.

Agentic workflows are particularly sensitive to model degradation: small errors can compound across successive tool calls and derail an entire task.
  1. ariwilson

    With this new Ternary Bonsai model (Q2 GGUF), I'm seeing about 22-25 tokens/s on a Mac Mini M5 Pro 24G RAM/512G SSD, sample Python generation prompt:

    Prompt eval 2.05s

    Prompt speed 222.9 tok/s

    Generation 83.49s

    Speed 22.3 tok/s

    Tokens 1,860

    First token 2.12s

    I can get up to 128k context in memory easily which makes it potentially useable for agentic coding. Pretty impressive for a small model. Will have to try a simple agentic task. Might be useful for batch agentic coding.

    Inkling 2 mini (UD-Q3_K_XL) gets about 28 tokens/s with same prompt but only 16k context:

    Prompt eval 1.07s

    Prompt speed 285.3 tok/s

    Generation 108.29s

    Speed 27.6 tok/s

    Tokens 2,993

    First token 1.21s

    Edit: it was able to solve the simplest bug fix from my benchmark via pi (https://fairbake.dev/signature/tasks?language=javascript) "Sharing from a phone skips the upload cap", with one held-out test fixed and nothing else broken across 25 tests.

    Bonsai 2.5 27B (local, Q2_0) Median of the 45 stored runs

    Time 6 min 0 s 1.0 min

    Output tokens 6,607 about 2,000

    Outcome solved all solved

  2. nik_s

    Unless I'm totally mistaken, this scores equivalent to opus 4.6 (released feb 2026) on SWE-bench verified. I'd be curious to which extent this is Ternary Bonsai bechmaxxing, the underlying benchmark moving, or just us seeing frontier-like behavior on benchmarks in tiny models with a ~6 month lag: probably a bit of all three? I'll be the first to say that SWE-bench verified is clearly not the most representative of benchmarks sadly, but progress in small models is really exciting nevertheless!

  3. hatthew

    I would be interested in seeing direct comparisons to equivalently small models, e.g. a popular Q1/Q2 quant of Qwen3.8 or some SOTA model in the 1B-10B range.

  4. prmph

    OT, but nice font. I think it is called Rethink Sans.

  5. ricardobeat

    A pretty decent Pelican, for a 1-bit model running on a Macbook Air M3 and using 7-8GB of RAM:

    https://gist.github.com/ricardobeat/7bdc3c143c6ed2bd5b5a1d22...

    At this rate, we might get usable Opus 4.6 level models running on a regular 24GB-32GB laptop in the very near future. All we need is Qwen4 65B to come out :)

  6. tompagenet2

    Asking genuinely as I know I'm surely being daft here: the scores for this model in the table shown seem worse than Qwen. Am I reading it right and is the upside something else (memory use, speed etc)?

  7. thepoet

    Some numbers for a self-created benchmark I have for running long horizon tasks with local models on my Mac (Opus 5.5 gets a 8 of 8 Passed). The tps remains the same, but the overall task completion time has improved.

    Passed Steps Time

    Bonsai2 5 of 8 358 107 min

    Bonsai2.5 5 of 8 296 (17% fewer) 76 min (29% less)

  8. syntaxing

    Just tried it through Unsloth studio. Similar speeds to inkling 2 mini Q4 on a MacBook (300 prefill, 30 generation). Actually “useful” compared to the older version 2. The agentic calls have been solid. This has been better than Q4 inkling 2 mini which was surprising.

More from this day

2026-11-24