From Unsloth’s post on Reddit:
Hey guys Thinking Machines released Inkling 2 Mini, the strongest 26.4B model (regardless if MoE or dense) that runs on ~16GB RAM.
Inkling 2 Mini is Thinking Machines Lab’s new 26.4B MoE (5.4B active) model for coding, agentic & vision workloads.With a Looped Transformers architecture and 1M context, it scores 48.2% on DeepSWE v1.1 and 77.9% on SWEBench Pro v2 (Hard), the highest for its size. Thanks TML for day 0 access.
Run on Unsloth Desktop or llama.cpp.
But looks like the model is not available in llama.cpp yet:
But if benchmarks are true, it’s somewhat on par with Qwen 3.8 27B!
Wonder how much vram it consumes - if the same trick as with qwen flash next about offloading most to ram works here.
Yep, that one of the main advantages of MoE. Unfortunately, it’s not working yet, I think I saw an issue about it. The support needs a bit of time to bake.
It probably works in 8GB VRAM with the looped experts cached. I’ve seen people on Reddit with 12GB VRAM getting good results.
Tried, got 800 prefill / 20 write ts on the empty context, but the tests I did on 32k context drop it to ~180 prefill. It was using almost all of my 16gb for 32k context, I’ll need to offload to ram more aggressively to get to ~128k, q4.
This is Radeon RX 9070 XT (AMD & 16Gb vram) and 32Gb ram. I guess it’s good that I can run it at all, but I wonder if it’s gonna be of any real use.
KV cache is tough, llama.cpp does not yet have smart streaming for KV cache
what settings are you using?
setup summary:
- CPU/RAM: Ryzen 7 9800X3D, 32 GB DDR5.
- GPU: Radeon RX 9070 XT 16 GB, RDNA4 gfx1201, ROCm.
- Model: Inkling 2 Mini, UD-Q4_K_M (15.46 GiB GGUF), 26.4B total / 5.4B active, plus mmproj-F16 for vision.
- Backend: Unsloth llama.cpp prebuilt b12631-mix-acc0843 (ROCm gfx120X), pinned because nixpkgs still ships v1.0.0/b12359. No DSpark.
- Server flags: -ngl 99 -ncmoe 10 -c 32768 -ctk q8_0 -ctv q8_0 -fa on --parallel 1 -dev ROCm0; temp 1.0 / top-p 1.0 / top-k 0 / min-p 0.
- Speed: 800+ pp512 and ~21–22 tg128 is depth 0. At 32k depth: ~170 pp512 / 20 tg128. At 64k depth with all experts on CPU (ncmoe 24): 85 pp256 / ~13 tg64.
- VRAM fit with mmproj (context preallocated, incl. desktop):
- 32k, ncmoe 10: ~15.2 GiB used, ~20 t/s depth-0
- 128k, ncmoe 16: 12.1 GiB used, 16.7 t/s
- 256k, ncmoe 20: 12.5 GiB used, 14.5 t/s
- 512k, ncmoe 24: 13.9 GiB used, 14.1 t/s
- 128k is the practical sweet spot; 256k/512k load but prefill becomes painful.
- Raising --n-cpu-moe frees VRAM at a modest tg cost; -nkvo keeps KV in RAM, the other lever.
- Prompt cache is on by default (8 GiB RAM + checkpoints), so a long doc is prefilled once per conversation.
- No autostart: ai on -l / ai on -e start services; ai off stops them.
^ it’s vision, I can cut on vision too. Just wanted to see it in action.
the llama.cpp work for this model is still in progress so optimization isn’t finished yet, a few tips though
--no-mmproj-offloadto keep it in RAM instead of VRAM, it’s extremely slow with vision but if you rarely use it then it helpsset
-ncmoe 999(or just use the shortcut for it-cmoe) and use the new MoE caching stuff instead https://lemmus.org/post/26756208 especially since this model uses many experts multiple times per token you’ll want to make sure the correct experts are being cached, and-ncmoeis not smart enough for thatuse
--ubatch-size 2048to improve your prefill speeds since you’re using expert offloading, this will increase VRAM usage slightly during prefill but it means it copies the layers to your GPU every 2048 tokens instead of every 512 tokens, this can give a huge speedup especially if you’re not on PCIe 5
a moe model designed for 16gb ram? christmas came early! 🎁
woa it’s even beating dense models, no way it’s actually that good
once those llama.cpp pull requests are merged I’ll try it out
I wonder how the looped layers interact with --moe-cache-mib
One of the PRs is merged now, although not the unsloth one so personally I am trying the ggml-org weights first to be on the safer side. With a novel architecture and looping layers I wouldn’t rule out a few days of problems to iron out in the implementation though…
According to reports it’s not very stable in llama.cpp right now. Unsloth fixed it in their fork, so yeah, I’d wait a little.
Looks promising
I’ve got it running with the latest version of llama.cpp compiled from source + my own Q6_K quant. The safety is cranked up to the point that it’s almost useless, and it’s disappointingly sluggish for a MoE model of this size – at least with the settings I’ve tried so far (which were pretty good for Qwen and gemma4).
I’m curious to see what comes of this after the abliterators get acquainted with it and the llama.cpp developers have a bit more time to poke at it… but so far it’s very meh.
What are you guys doing to trigger the safety rails? 😅
I heard the same thing from other people online. I think that’s why Alibaba began releasing ‘NEXT’ Qwen models so that the community could take time to work out the kinks.
Ooh! Qwen4 will need to knock it out of the park, it’s nice to have competition keeping things moving. :)
This is what happens when Qwen strings you along for weeks with delivering anything or even concretely stating the scope of the models they’ll release.




