Updated on November 21, 2026
Thinking Machines Lab has released Inkling 2 Mini, an Apache 2.0 open-weight multimodal Mixture-of-Experts model that achieves frontier-class sub-100B coding performance by looping its middle 12 transformer layers three times per token. Shipping as a single roughly 20 GB native mixed-precision checkpoint (NVFP4 and MXFP8) with a 1 million-token context window, the 26.4B-parameter model fits comfortably inside a 32 GB Apple Silicon laptop or a single NVIDIA DGX Spark workstation.
Standard small language models hit a stubborn ceiling on long-horizon coding and agentic tool use because parameter count directly limits circuit depth. Instead of stacking 48 distinct physical layers that would double VRAM requirements and memory bandwidth pressure, Inkling 2 Mini stores 24 physical layers split into a six-layer prelude (0 to 5), a twelve-layer looped core (6 to 17), and a six-layer coda (18 to 23). Running the middle core three times with shared weights yields 48 logical layer applications per token, expanding effective active parameters from 3.4B to 5.4B without bloating disk or memory footprint.
The architectural bet pays off directly on agentic software engineering evaluations. Thinking Machines reports that Inkling 2 Mini leads every open-weight model under 100B total parameters on DeepSWE v1.1 (48.2%) and Vals Index v2.2 (46.5%), while topping comparable local models on tool-augmented search suites including BrowseComp, DeepSearchQA, and MCP Atlas. Equally important for inference engineers, the release arrived with day-zero optimized serving across vLLM, SGLang, Ollama, llama.cpp, MLX, Unsloth, and NVIDIA Dynamo, plus a bundled three-layer DSpark speculative drafter.
Alongside the production checkpoint, Thinking Machines published TML-d24-varloop-research, a variable-loop research model that lets operators configure loop count (1, 2, 3, or higher passes) at server startup. That companion release also supplied rare empirical safety data on latent reasoning: adding loop passes lengthened no-chain-of-thought reasoning horizon from 16 seconds to 37 seconds while shortening written traces without eroding chain-of-thought legibility or increasing agentic sabotage rates.
Looped MoE Specs and License (Nov 20, 2026) : Announced in Thinking Machines Lab’s Introducing Inkling 2 Mini post and hosted under Apache 2.0 on the Inkling-2-Mini Hugging Face repository , the model packs 26.4B total parameters, 3.4B physical active parameters (8 of 128 SwiGLU experts per layer), 5.4B effective active parameters across three core loops, and a 1M-token text-and-image context window.
Cross-Pass Gated Messages Instead of Naive Recursion : Rather than feeding pass p‘s final activation straight back into pass p+1, every looped pass restarts from the prelude output and reads learned attention-residual messages from the prior pass via four rank-64 controllers (Q, K, V, and MLP inputs), keeping 48 distinct KV and short-convolution caches.
Native NVFP4 and MXFP8 Training : Layers 0 to 19 trained and deploy natively in 4-bit NVFP4 (accelerated on NVIDIA GB300), while layers 20 to 23 run in 8-bit MXFP8, avoiding post-training quantization degradation and holding checkpoint size near 20 GB.
Pruning, Distillation, and RL Scale : Thinking Machines started from a 384-expert sparse MoE, pruned two-thirds down to the 128 most-active experts mid-training, healed the weights with 1 trillion distilled tokens from a larger internal Inkling model, and ran 2.2 trillion tokens of RL across 2,000 steps.
Day-Zero Serving Benchmarks : As detailed in the vLLM day-zero engineering post and Hugging Face technical walkthrough , vLLM fuses all four per-layer message reads and controllers into batched GEMMs and Triton kernels, serving TML-d24-varloop-research at 3.85 ms per decode step (batch 1) on a single GB200 at three passes.
Looped Depth Economics and Variable-Pass Latency Trade-Offs
In ablation experiments comparing unpruned looped versus non-looped architectures on Thinking Machines’ scaling ladder, looping middle layers (7 to 18) delivered a 1.51x to 1.91x compute-equivalent gain over a non-looped baseline at training step 2,000, outperforming looping the final twelve layers (1.24x to 1.36x) on 27 of 28 evaluations. On 512K-token agentic traces, matching the looped checkpoint’s loss required 140% more inference compute from a non-looped model that was only 7.5% cheaper to train.
Because each core pass maintains its own KV cache (48 logical cache layers from 24 stored weight layers), operators deploying TML-d24-varloop-research can tune latency directly against reasoning depth and KV memory budget. Below are vLLM’s published single-GB200 (TP1, 4K context, forward pass) measurements:
Variable-Loop Runtime Config (GB200, TP1)
Decode Step (Batch 1)
Decode Step (Batch 32)
Available KV Cache Capacity
1 Pass (No Extra Core Loops)
1.51 ms
3.81 ms
352K tokens
2 Passes (Balanced Latency/Depth)
2.67 ms
5.92 ms
233K tokens
3 Passes (Default Full Depth)
3.85 ms
8.11 ms
175K tokens
3 Passes + Shared KV Cache (loop_share_cache)
3.86 ms
8.10 ms
194K tokens
1 Pass (No Extra Core Loops)
Decode Step (Batch 1) 1.51 ms
Decode Step (Batch 32) 3.81 ms
Available KV Cache Capacity 352K tokens
2 Passes (Balanced Latency/Depth)
Decode Step (Batch 1) 2.67 ms
Decode Step (Batch 32) 5.92 ms
Available KV Cache Capacity 233K tokens
3 Passes (Default Full Depth)
Decode Step (Batch 1) 3.85 ms
Decode Step (Batch 32) 8.11 ms
Available KV Cache Capacity 175K tokens
3 Passes + Shared KV Cache (loop_share_cache)
Decode Step (Batch 1) 3.86 ms
Decode Step (Batch 32) 8.10 ms
Available KV Cache Capacity 194K tokens
One architectural trade-off stands out clearly in Thinking Machines’ own disclosures: looping boosts multi-step reasoning and long-context retrieval (GraphWalks BFS, MRCR v2), but it does not magically add parametric world knowledge. On pure recall tests such as AA-Omniscience, SimpleQA Verified, and WorldVQA, adding extra passes produced flat scores because factual storage still scales with total parameter count. Inkling 2 Mini also trails Qwen3.8-27B on constraint-heavy conversational tests (50.0% on MultiChallenge and 33.4% on ComplexConstraints v1.1), and its model card warns that local debugging loops can occasionally spin repeatedly if output-token and turn caps are omitted.
Deploying Inkling 2 Mini With DSpark Speculation in vLLM
Production teams running NVIDIA Blackwell, Hopper, or DGX Spark hardware can serve Inkling 2 Mini with native DSpark speculative decoding (7 draft tokens sampled directly from four internal loop taps) using the official vLLM container image:
# Serve fixed 3-pass Inkling 2 Mini with DSpark speculative decoding
docker run --gpus all --ipc=host -p 8000:8000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:inkling-2-mini thinkingmachines/Inkling-2-Mini \
--reasoning-parser inkling \
--tool-call-parser inkling \
--enable-auto-tool-choice \
--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic"}'
# Optional: serve variable-loop research checkpoint at 2 passes for lower latency
docker run --gpus all --ipc=host -p 8000:8000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:inkling-2-mini thinkingmachines/TML-d24-varloop-research \
--reasoning-parser inkling \
--tool-call-parser inkling \
--enable-auto-tool-choice \
--hf-overrides '{"text_config": {"loop_num_passes": 2, "loop_share_cache": true}}'
On developer workstations, Ollama, MLX, llama.cpp, and Unsloth expose quantized GGUF and Apple Silicon builds that fit inside 32 GB unified memory, letting engineers run offline agentic coding workflows without leaking proprietary repository trees to third-party APIs. For teams needing custom domain adaptation, both SkyRL and Miles support reinforcement-learning post-training directly on the open weights.
Pair Local Inkling 2 Mini Agents With Retrieval and Web/MCP Tools : Compensate for the 26.4B parametric fact-recall limit by wiring local coding and enterprise assistants to repository search, internal docs, and MCP connectors where the model excels.
Enforce Strict Turn and Token Ceilings in Agent Harnesses : Follow Thinking Machines’ model-card guidance by capping reasoning tokens and tool-call iterations per task, and require explicit confirmation before destructive filesystem commands.
Benchmark 2-Pass vs. 3-Pass Variable Loops on Your Latency SLA : Test TML-d24-varloop-research in vLLM to check whether a 2-pass configuration (2.67 ms decode, 233K KV capacity) satisfies autocomplete or triage quality at 30% lower latency than 3 passes.
Beat:
Topics:
# inkling-2-mini
# looped-transformer
# open-weights
# thinking-machines-lab
# vllm