logoalt Hacker News

Ternary Bonsai 2.5 27B

284 points • by b0m • yesterday at 8:08 PM • 96 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
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 2 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)
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.

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 3 replies
prmph • yesterday at 9:09 PM

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

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 3 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 5 replies
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?

kojocona • yesterday at 10:36 PM

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

DeathArrow • yesterday at 9:00 PM

I like Inkling 2 Mini more.

➕ 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
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.

andai • yesterday at 11:46 PM

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

➕ show 1 reply
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
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.

dpflan • yesterday at 10:00 PM

What is the business model for this company?

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.

apishare_api • today at 12:01 AM

[flagged]

yoy0721 • today at 12:00 AM

[flagged]

pepethegreatnes • yesterday at 10:33 PM

[dead]

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.