Remix.run Logo
▲ ariwilson 5 hours ago

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
▲ariwilson 3 hours ago | parent | next [-]

And one game it came up with on its own in 18 minutes:

https://claude.ai/artifact/FQxdHAzST4VPC26GCeCFiU

Pretty fun. Generated about 24k tokens.

▲vunderba 3 hours ago | parent [-]

I mean, it's neat that it was able to make it without errors, but that's a direct ripoff of several very popular Geometry Dash levels (the exact gravitational mechanic and game play).

Also OOC why is it hosted on claude.ai? Did you just copy Bonsai's code to there and then ask it to wrap it?

https://en.wikipedia.org/wiki/Geometry_Dash

▲ariwilson 3 hours ago | parent [-]

I had Claude prompt the local LLM and put it up in a Claude artifact. Seemed like the easiest way to get it hosted (other option would be GitHub pages or one of my personal sites, but this was just a fun experiment).

▲vunderba 3 hours ago | parent [-]

Ah okay that makes sense. I guess there's really not an equivalent of something really low-friction like Imgur but for little HTML5 games like this.

And since you already have an Anthropic sub you can probably just have it handle everything through the agentic harness.

▲andai an hour ago | parent | next [-]

https://jsbin.com/

▲serf 26 minutes ago | parent | prev [-]

itch.io is a free html5/everything-else game host.

I guess it's not no-login like imgur, pretty close though.

▲dofm 4 hours ago | parent | prev | next [-]

It is about this fast (much slower prefill I guess) on the M1 Max.

▲jmspring 2 hours ago | parent [-]

same experience...m1max, 64gb

▲prometheus1992 4 hours ago | parent | prev | next [-]

On a separate note - I am thinking of getting Mac Mini M5 Pro 24G RAM/512G SSD. how is it doing in terms of running other local models?

▲futhey 4 hours ago | parent | next [-]

Things are moving in an interesting direction but this is still underpowered to do economically meaningful work. If this is your budget wait a year, put $50 into open router, or Deepinfra, try some models, and find one you like, then figure out how it runs on real hardware. It's hard to recommend that specific machine for local inference if you haven't spent a bunch of time testing models and found one you love for your own use-case.

▲piyh 4 hours ago | parent | prev | next [-]

Speaking with an M4 Pro, my biggest regret is not getting the RAM upgrade. You can run inkling quants, but can't have anything else open and the context is gutted. I'd be able to actually use my computer for other things and have useful context windows with 48 gigs.

▲z2 4 hours ago | parent | next [-]

Exactly. I've no regrets splurging on a 48GB M5 pro. I'm also addicted to the speed from the Splash engine's speculative decoding on Qwen models, 70t/s on Qwen3.8 27b, 200t/s for Qwen3.6 35b-a3b, and can just throw long running background batches at it like photo/video annotation, while still using it normally.

▲ariwilson 4 hours ago | parent | prev [-]

I use my Macbook Air for normal development stuff so the Mac Mini can be a dedicated batch run / local LLM / image generation machine. Lets me max out the RAM utilization.

▲crab_galaxy 3 hours ago | parent [-]

Yeah but you do want to consider that maxing out the RAM utilization on a 24gb Mac means running a quantized 26b model with small context windows.

I have a 24gb Mac mini and get some fun use out of it for running the Gemma models (E4B can call tools!) locally but that’s really it. Nothing else is very usable.

▲ariwilson 4 hours ago | parent | prev [-]

Can't beat it for $1299 at Microcenter! I didn't primarily get it for agentic coding - mostly for large scale cloud agent work, secondarily for batch processing, and finally for small LLMs/image generation.

Obviously RAM is your limiting factor. I think the RAM-to-tokens/s ratio is decent though.

▲vunderba 3 hours ago | parent [-]

> finally for small LLMs/image generation

As somebody who does a fair amount of gen AI stuff on a headless linux machine with a dedicated nVidia RTX 24GB card, I'm always interested to hear what kind of performance people are getting out of unified-memory Mac systems outside of bog LLM work.

How is it working out for you? What kind of generation times are you seeing with image models like Flux2, Qwen Image 2.1, or Krea2 at 1 MP?

Is video gen using something like LTX 2 or Minimax H3 feasible on that machine?

▲ariwilson 2 hours ago | parent [-]

I just got the machine yesterday so not a ton of experience. MOSS-Image was generating images with 30 passes at 1 megapixel in somewhere between 2-3 minutes.

▲vunderba 2 hours ago | parent [-]

Very cool, that's not bad. Just for reference, Moss at 1MP with 30 steps (int8 convrot) finishes in about 8 seconds on an RTX 4090. But honestly, a couple of minutes is not terrible especially considering that you can just run it in a batch and forget it, then come back and curate the final results.

Also, look into the FP8 custom node package (assuming you're using ComfyUI). I think it adds a ton of nice acceleration paths specifically for the M5.

https://github.com/pawel-mazurkiewicz/ComfyUI-AppleSilicon-F...

▲tensusds 4 hours ago | parent | prev [-]

Speed seems good for such setup, is the quality of generated text/code good? Was thinking to use it in my game for AI-s diplomacy, but dropped it in favor to Gemma