Welcome Inkling 2 Mini, Cutting-edge Performance for your Local Setup
TLDR; Inkling 2 Mini is a new looped transformer model.It’s a multimodal Mixture-of-Experts with ~26B physical total and 3B active parameters per token.It uses a neat trick to increase capacity: some layers are visited in a loop that repeats three times, which makes it work like it had more parameters.
It supports a 1M-token context size, accepts images and text inputs.Thinking Machines Lab ships the model in a mixed-precision format, with NVFP4 and MXFP8 expert weights.A DSpark drafter is also included for additional speed-up at a small memory cost.
Inkling 2 Mini is much, much smaller than Inkling 2 Small, and is designed for local AI setups. We think this is a refreshingly new great local model. In our vibe tests, it's at least comparable with Qwen 3.8 27B. More validation is needed, but we are super excited about this release!
We ship transformers, Llama App (llama.cpp), and MLX support. SGLang also provides day-zero inference support for production deployments on datacenter hardware.
This post goes through what makes Inkling Mini different, some of our vibe tests, and how you can use it with your setup.
Inkling 2 Mini is a mixture-of-experts model with 24 decoder layers, but the 12 middle layers run three times in a loop. Therefore, the model acts as if it had 48 (6+ 3*12 + 6) logical layers with just 24 physical ones.
Similar to Inkling 2 Small, Inkling 2 Mini executes 48 layer visits per token.The hidden size is 2,304 instead of 4,608.At each layer visit, both variants route the token to 8 experts, but Mini selects them from among 128 experts per layer, while Small selects from 384.The decoder runs layers 0–5 once, layers 6–17 three times, and layers 18–23 once.
All three passes through layers 6–17 reuse the same weights.
Architectures such as Nanbeige have explored looping before.But Inkling 2 Mini explores an interesting approach.Every pass through the looped core (layers 6–17) starts from the same inputs which is the output of the first six layers.
Information moves between passes through cross-pass messages.Each looped layer reads a message from the previous pass's outputs with its own learned query (one message for its query, key, value and MLP inputs).
A small gating controller then looks at both the layer's current input and the message.It decides how much of the current input to forget and how much of the message to add.Each pass therefore refines what the previous one computed.
Text decoder width is 2,304, and the intermediate width of each expert is 1,152. Reusing core weights reduces the number of distinct layers the checkpoint stores. The model still executes all 48 visits, and each visit keeps its own KV and short-convolution state.
In addition to the flagship Inkling 2 Mini model, a research artifact has also been released.It shares the same architecture, but this variant was trained to accept a variable number of passes through the loop 🤯.
Setting 1 or 2 passes instead of 3 will make inference run a lot faster, but generations may be of slightly lower quality.We tested this variant, and it works, but we haven’t evaluated it in depth.
Inkling 2 Mini is state-of-the-art in its class in the Artificial Analysis Intelligence Index v5 (AAv5), as well as across many benchmarks in various categories.Compared with Gemma 4 31B, Muse Glimmer, Qwen3.8-27B, and Nemotron 3.5 Super VL, Inkling 2 Mini leads in 32 benchmarks out of 48.
These cover coding and autoresearch, agentic search and tool use for knowledge work, vision interpretation and creation, reasoning and knowledge, and safety and alignment.See the Inkling 2 Mini model card for the full list of benchmarks and scores.
Inkling 2 Mini is a great local coding companion. It leads in FrontierCode v2.0, ties with Qwen3.8-27B on Terminal-Bench 4.0, and trails Qwen on AutomationBench-AA v1.0.6. You can check out a few of our highlights below for coding and knowledge work. Note that AA Briefcase is in ELO rating, higher is better.
In this section, you can find how to use Inkling 2 Mini in transformers, llama.cpp, MLX, and SGLang.
We provide support for both Inkling 2 Mini (fixed loop) and the TML-d24-varloop-research (variable loop) research variant.
You can use the AutoModelForMultimodalLM class.
To set the number of loops in the research checkpoint, you can modify the loop_num_passes in text_config as follows. The example below uses two loops.
For an image prompt, replace messages in either example with the list below and infer as usual.
Pass reasoning_effort="medium" to processor.apply_chat_template(...) to set the effort for a request. The chat template adds the numeric value to the prompt as a system message. The default is high (0.9).
Available levels are none (0.0), minimal (0.1), low (0.2), medium (0.7), high (0.9; default), xhigh (0.99), and max (0.99). You can also pass a number from 0.0 to 0.99, such as reasoning_effort=0.35.
Let’s get our model to call some tools.
In this example we ask our model about the current temperat