DEV Community

Cover image for How to Run Inkling 2 Mini Locally on a 16 or 24 GB GPU (Card Says 32 GB)
Alan West
Alan West

Posted on Originally published at blog.authon.dev

How to Run Inkling 2 Mini Locally on a 16 or 24 GB GPU (Card Says 32 GB)

Thinking Machines' model card says Inkling 2 Mini wants 32 GB or more of VRAM. Unsloth's recommended GGUF of the same model is 17.63 GB. For a 26.4B MoE that ties Qwen3.8-27B on the Artificial Analysis Index and ships under Apache 2.0, that gap decides whether it runs on your 16 or 24 GB GPU or doesn't run at all.

I haven't run it yet. This post pulls together the model card, Unsloth's docs, the launch coverage and the people arguing about it on Hacker News. It covers how much VRAM Inkling 2 Mini needs, which quant to pick for your GPU, the llama.cpp, Ollama and MLX commands, and the 1M-context claim, which I think is the misleading part of the spec sheet.

What Inkling 2 Mini actually is

The official model card and the announcement give these specs:

  • 26.4B total parameters, MoE, each token routed to 8 of 128 experts
  • 3.4B active parameters per pass. The "5.4B active" you've seen quoted is an effective number, explained below.
  • 1M-token context
  • Text and image input, text output
  • Apache 2.0, with an acceptable use policy attached
  • Released November 20, 2026. The GPUPartner guide says November 17, but Thinking Machines and Hugging Face both say the 20th.

The architecture is the unusual part. It's a 24-layer looped transformer: the middle 12 layers (6 through 17 in the HF blog's numbering) run three times per token with shared weights, so each token gets 48 layer applications. According to the card, each extra pass adds about 1.0B effective active parameters, and that's how 3.4B becomes 5.4B.

Its big sibling, Inkling 2 Small, is 594B total and 17B active according to VentureBeat, and GPUPartner notes the smallest Small GGUF Unsloth publishes is 171.7 GB. Mini started training with 8 of 384 experts per token and was pruned down to the 128 most-used experts in each layer. Thinking Machines then "healed" the pruned model with 1T tokens of distillation from a larger Inkling, and followed that with 2.2T tokens of RL. The native weights are NVFP4 for the first 20 layers and MXFP8 for the last 4, so the original checkpoint is only about 20 GB.

The published numbers vs Qwen3.8-27B and Gemma 4

All of these come from the lab's own card. Treat them as marketing until someone outside the lab reproduces them.

Benchmark Inkling 2 Mini Qwen3.8-27B Gemma 4 31B
AA Index v5.0 20.1 20.1 4.4
DeepSWE v1.1 48.2% 42.2% 0.3%
SWEBench Verified 79.2% 77.8% 46.1%
SWEBench Pro v2 (Hard) 77.9% 73.8% 14.2%
Terminal Bench v2.1 71.6% 73.0% 43.4%
MMMU Pro 74.9% 76.3% 73.4%
LongBench v2 66.9% 52.3% 52.9%
MRCR v2 8-needle 46.4% 38.0% n/a
AA-Omniscience non-hallucination 63.4% 71.4% 14.5%

My read is that Inkling 2 Mini ties Qwen3.8-27B overall. It wins on agentic coding and long-context retrieval and loses on factual recall. The announcement's limitations section admits it scores 50.0% on MultiChallenge and 33.4% on ComplexConstraints v1.1 and says that's behind Qwen3.8-27B on both, although the same page's table puts Qwen3.8-27B at 30.1% on ComplexConstraints.

Ignore the Gemma column. My guess is that a 31B model scoring 0.3% on DeepSWE says more about the harness than the model. Either way, Gemma 4 is in the table so the bars look good.

Artificial Analysis adds a number that matters if you run it locally. For the same Index score, Inkling uses about 38% more output tokens than Qwen3.8 27B (~152K vs ~110K per task). AA argues compute is still about 2.8x lower on its proxy of active parameters times tokens. That holds on a datacenter GPU. On a single consumer card, 38% more tokens means 38% more waiting unless your tok/s is proportionally higher.

How much VRAM does Inkling 2 Mini need?

The official answer is the model card's "32GB or more of VRAM", which I read as sizing for the native ~20 GB checkpoint plus headroom. Unsloth's quants are how you get under that. These are Unsloth's GGUF sizes. Each one includes the weights only, with no KV cache.

Quant Size Mean KLD vs Q8 Same top token
UD-Q2_K_XL 9.14 GB 0.0595 91.6%
UD-IQ3_XXS 11.66 GB 0.0269 94.7%
UD-Q3_K_XL 13.63 GB 0.0174 96.3%
UD-IQ4_XS 15.73 GB 0.0109 97.7%
UD-Q4_K_M 16.61 GB 0.0108 97.9%
UD-Q4_K_XL 17.63 GB 0.0107 98.0%
UD-Q8_K_XL 22.87 GB reference n/a

The vision projector (mmproj-F16.gguf) adds 639 MB. Unsloth's rule-of-thumb totals for RAM plus VRAM are 10-11 GB at 2-bit, 13-15 GB at 3-bit, 17-18 GB at 4-bit and 24 GB at 8-bit.

The KLD column is worth a second look. UD-IQ4_XS (0.0109) is almost the same as UD-Q4_K_XL (0.0107) and saves you 1.9 GB, which is the difference between fitting on a 16 GB card with a bit of context or not fitting.

How I'd pick a quant by GPU:

  • 12 GB: UD-Q2_K_XL or UD-IQ3_XXS. Expect it to be noticeably dumber, and keep context short.
  • 16 GB: UD-IQ3_XXS or UD-Q3_K_XL fully on the GPU. Alternatively, run UD-IQ4_XS and let a few layers spill to system RAM. Because it's an MoE, the spill hurts less than it would with a dense 27B. GPUPartner suggests 16K-32K context at this tier.
  • 24 GB: UD-Q4_K_XL plus mmproj, with a few GB left for context.
  • 32 GB: UD-Q4_K_XL with 64K-128K context, or UD-Q8_K_XL if you care more about fidelity than context.

Why you won't get 1M context on a 24 GB GPU

This is where the headline oversells. Per the HF blog, the architecture interleaves five sliding-window layers (1,024-token window) with one full-attention layer, which keeps the KV cache small. But the HF blog notes that "each visit keeps its own KV and short-convolution state" across all 48 layer visits. Looping saves weight memory, but the KV cache gets no cheaper, because the looped layers pay for it on every pass.

None of the official sources publishes KV memory figures for long contexts. Even the SGLang speculative-decoding example in the HF blog sets --context-length 131072. On a 24 GB card, the 1M context is a spec-sheet number you won't use. Plan on 32K and celebrate if 64K fits.

How to run Inkling 2 Mini locally with llama.cpp, Ollama or MLX

Unsloth's root GGUFs won't load in stock llama.cpp. They use Unsloth's looped-layer layout, so Unsloth ships a fork build, b12631-mix-acc0843. On a Mac:

curl -L -o llama.tar.gz https://github.com/unslothai/llama.cpp/releases/download/b12631-mix-acc0843/llama-b12631-mix-acc0843-bin-macos-arm64.tar.gz
mkdir -p llama.cpp
tar -xzf llama.tar.gz -C llama.cpp --strip-components=1
./llama.cpp/llama-server --version
Enter fullscreen mode Exit fullscreen mode

On NVIDIA, use app-b12631-mix-acc0843-linux-x64-cuda12-portable.tar.gz, or swap in cuda13-portable. This tarball extracts without --strip-components=1. Then download the model, the vision projector and the DSpark draft model:

pip install -U huggingface_hub
hf download unsloth/Inkling-2-Mini-GGUF \
    Inkling-2-Mini-UD-Q4_K_XL.gguf mmproj-F16.gguf dspark-Inkling-2-Mini-Q8_0.gguf \
    --local-dir Inkling-2-Mini-GGUF
Enter fullscreen mode Exit fullscreen mode

Start the server:

./llama.cpp/llama-server \
    --model Inkling-2-Mini-GGUF/Inkling-2-Mini-UD-Q4_K_XL.gguf \
    --mmproj Inkling-2-Mini-GGUF/mmproj-F16.gguf \
    --model-draft Inkling-2-Mini-GGUF/dspark-Inkling-2-Mini-Q8_0.gguf \
    --spec-type draft-dspark --spec-draft-n-max 2 --n-gpu-layers-draft 99 \
    --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 \
    --host 127.0.0.1 --port 8080
Enter fullscreen mode Exit fullscreen mode

Some notes on those flags:

  • Keep --spec-draft-n-max 2. Unsloth says the third draft token is rarely accepted.
  • Drop --mmproj for text-only use.
  • Set --ctx-size yourself, and lower it (or --n-gpu-layers) first if you run out of memory.

If you'd rather stay on mainline llama.cpp, use the files in the repo's Mainline_Support folder, or ggml-org's quant: llama serve -hf ggml-org/Inkling-2-Mini-GGUF:IQ4_NL.

On Mac, the easiest option is ollama run inkling-2-mini. That's the native NVFP4 weights, a 20GB download, and Ollama says it needs 32GB+ of memory. MLX support was upstreamed into mlx-lm and reads the original checkpoint without conversion:

mlx_lm generate --model thinkingmachines/Inkling-2-Mini --image image.jpg --prompt "Describe this image.<|end_message|><|message_user|><|content_image|><|unused_200054|>" -m 1000
Enter fullscreen mode Exit fullscreen mode

Speed, and the reasoning-loop problem

No independent benchmarks yet, only launch-week claims quoted by VentureBeat:

  • EXO Labs: 210 tok/s decode on a 96GB M5 Ultra Mac Studio, 125 tok/s decode on a 48GB M5 Max
  • Kyle Hessling: "104tps on the 5090"

The bigger risk is in the model card. It says that in internal testing the model "sometimes became stuck in long reasoning loops", "particularly when debugging code". It also says that setting reasoning effort to minimum "does not fully disable reasoning". Add the 38% token overhead and the card's own advice makes sense: cap output tokens and agent turns before you start any agent run.

The card is also blunt that it may delete or overwrite files without confirmation, so sandbox it. The HN thread is split. One user running "Inkling 2" on an M5 Max said it was finding things in a codebase "that Claude didn't find in previous audits". Another, who runs Qwen3.8-27B at about 15 tok/s on a 32GB MacBook Air, tried Inkling Mini and "was not impressed".

My take: if you're already happy with Qwen3.8-27B on a 24 GB card, Inkling 2 Mini is worth trying for agentic coding and long documents, with a hard token cap. For trivia and chat, keep Qwen.

Has anyone pushed Inkling 2 Mini past 128K context on a consumer GPU? What tok/s are you getting, on what card and which quant? I especially want to hear from anyone who's tried it with the KV cache in system RAM.

Sources

Top comments (0)