logoalt Hacker News

Ternary Bonsai 2.5 27B

500 points • by b0m • yesterday at 8:08 PM • 153 comments • view on HN

Comments

ariwilson • yesterday at 9:38 PM

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
➕ show 5 replies
jckahn • today at 3:00 PM

This quant is absolutely incredible. I had it make this excellent Tetris clone on my Mac mini 24 GB via Hermes, totally autonomously: https://bonsai-tetris.vercel.app/

Source code: https://github.com/jeremyckahn/bonsai-tetris

Speed was around 7-8 tk/s.

nik_s • yesterday at 8:56 PM

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!

➕ show 4 replies
thepoet • yesterday at 11:54 PM

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)
tompagenet2 • yesterday at 9:04 PM

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)?

➕ show 4 replies
syntaxing • yesterday at 10:14 PM

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.

➕ show 2 replies
vegnus • yesterday at 8:57 PM

So if I run 4 bonsais will that give me better results than Qwen 3.8 27b? Qwen is obviously cool but I could never really get anything useful out of it, over a number of different experiments

➕ show 6 replies
hatthew • yesterday at 10:37 PM

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.

prmph • yesterday at 9:09 PM

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

➕ show 1 reply
ricardobeat • today at 1:33 AM

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 :)

➕ show 1 reply
risphere • today at 11:13 AM

The model is extremely efficient (small size + good performance).

Lramseyer • yesterday at 9:17 PM

This is really cool! I am glad that people are asking questions about the optimal bit depth for a language model! What's a smarter model? One with more parameters and fewer bits, or more bits and fewer parameters?

But I have a dumb question about this model - is there hardware acceleration for ternary weights aside from an FPGA?

➕ show 5 replies
minimaxa • today at 12:21 AM

Great to see more options and methods, but the market is already saturated.

Where the focus will be in the next year is Omni models, all in one MOE coding, video, image, and voice.

Anything else is three steps behind, burning through inference training costs.

➕ show 1 reply
ycui7 • today at 12:19 AM

for the first time, bonsai passed my 2048 needles dense retrieval test over 256K context length. really good progress for them.

lettergram • today at 5:50 AM

They should do this for a >100B model, if we're looking at a 90% reduction in memory requirements you can effectively bring the largest models to a maxed out macbook, or a home computer with a couple of GPUs.

NoidFonsense • yesterday at 8:58 PM

Holy cow, that is a really good quant. I assume they achieve this through some type of quanitzation-aware retraining?

➕ show 1 reply
PaulKeeble • yesterday at 9:37 PM

I tried the V2 and it was unfortunately really bad. It ran but it got stuck in loops and the output was comparatively poor. I think the most welcome change is that it will run on stock llama.cpp, well the Q2s do anyway which makes managing it with other models a fair bit easier. Hopefully it works better now, thankfully I have more VRAM and I don't need to cut this deeply anymore.

The other option that is really worth considering down at these quants is exllama and its heavily quantised models, they work really well in my experience, fast and the parallel behaviour is also good so you get really good performance out of them.

➕ show 1 reply
dlcarrier • yesterday at 10:42 PM

Here's an uncensored version, for those who don't like condescending and contemptuous attitudes from LLMs, or are interested in learning about what happened in Tienanmen Square in 1989: https://huggingface.co/AtomicChat/Ternary-Bonsai-2.5-27B-Unc...

jedbrooke • yesterday at 9:09 PM

Bonsai 2 was a huge leap from Bonsai 1 (Bonsai 1 could barely do anything multi-turn, it would get confused by the second message and keep responding to the first one, frequent doom loops, etc).

Bonsai 2 I would describe as Certified Usable™*, So I’m excited to see what they’ve cooked up with 2.5.

*: probably on par with Luna or Sonnet, definitely not Opus. Vibes wise it’s able to do multi step agent workflows, but has trouble conforming to my style guide. It reeks heavily of clauditis in its stock configuration (tons of “My genuine honest opinion” stuff), but I was able to get that down maybe 70% with a style guide

➕ show 1 reply
DeathArrow • yesterday at 9:00 PM

I like Inkling 2 Mini more.

➕ show 1 reply
dpflan • yesterday at 10:00 PM

What is the business model for this company?

sleight42 • yesterday at 11:33 PM

Incredibly frustrating when people post LLM benchmarks without indicating which quantization, model file format, and engine. Establishing and controlling for variables in an experiment is basic scientific method. So many people leave out this important context.

I, too, can achieve blazing speeds... when using a 1-bit quant with vllm and a tiny context.

xianshou • yesterday at 9:00 PM

Would be impressed by the metrics if I weren't so distracted by that Anthropic-lite beige site design.

StevenNunez • yesterday at 8:57 PM

I really want to like this family of models but I'm always disappointed and feel gaslit by the developers.

yieldcrv • today at 12:36 AM

Private Knowledge Work, love that term, curious if it could catch on

kojocona • yesterday at 10:36 PM

Something you've actually learned about running models on your own hardware or building with AI tools.

Pxtl • yesterday at 11:08 PM

I think I'm going to need a proper catalogue of all these Qwen 3.8 27b derivatives.

➕ show 2 replies
andai • yesterday at 11:46 PM

As an absolute muggle: wtf is "intelligence density" ?

➕ show 1 reply
yieldcrv • today at 12:44 AM

onsite in Pasadena huh? and this is essentially modifying specific weights on Qwen for specific domains and potentially spreading this style of LLM amongst different inference engines? building platforms to help do post-training for specific use cases and potentially doing this for your clients

Still a little commute from LA but I could be down to do that to avoid the gravitational pull of the SF Bay Area

➕ show 1 reply
cobychapple • today at 10:52 AM

[flagged]

apishare_api • today at 12:01 AM

[flagged]

yoy0721 • today at 12:00 AM

[flagged]

pepethegreatnes • yesterday at 10:33 PM

[dead]