Inkling 2 Mini release notes
TL;DR
Inkling 2 Mini is a new 26 B‑parameter looped transformer Mixture‑of‑Experts model that runs 48 layer visits per token while using only 24 physical layers, supports 1 M‑token context, multimodal image‑text input, and includes speculative‑decoding support for faster local inference.
What makes Inkling 2 Mini different?
Inkling 2 Mini uses a looped architecture: 24 physical decoder layers, with layers 6‑17 visited three times, giving the model the effective depth of 48 logical layers. The hidden size is 2 304 (half of Inkling 2 Small) and each token is routed to 8 of 128 SwiGLU experts per layer. The loop passes exchange cross‑pass messages via learned queries, keys, values and MLP inputs, and a gating controller blends the current token state with the message, refining representations across passes.
Key architectural details:
- Six‑layer blocks contain five sliding‑window layers (1 024‑token window) and one full‑attention layer.
- Attention uses 24 query heads, eight KV heads, learned relative‑position logits, a learned sink, and an output gate; full‑attention layers employ dynamic key/value convolutions.
- Expert routing normalizes scores and scales weights by 8.
- Core layers reuse the same weights across the three passes, reducing checkpoint size while preserving full 48 visits.
- A research variant allows a variable number of loop passes (1‑3), trading speed for a modest quality drop.

Benchmark performance
Inkling 2 Mini leads its class on the Artificial Analysis Intelligence Index v5 and outperforms models such as Gemma 4 31B, Muse Glimmer, Qwen 3.8‑27B, and Nemotron 3.5 Super VL on 32 of 48 evaluated benchmarks covering coding, agentic search, vision, reasoning, and safety. In coding‑focused evaluations, it tops FrontierCode v2.0, ties Qwen 3.8‑27B on Terminal‑Bench 4.0, and trails slightly on AutomationBench‑AA v1.0.6.

Inference support across toolchains
Transformers (Python)
Both the fixed‑loop model and the variable‑loop research checkpoint are available via AutoModelForMultimodalLM.
from transformers import AutoModelForMultimodalLM, AutoProcessor
model_id = "thinkingmachines/Inkling-2-Mini"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(model_id)
To change the number of loop passes in the research variant, set text_config={"loop_num_passes": 2} when loading.
Multimodal input – replace the messages list with an image‑text payload as shown in the blog to feed images.
Reasoning effort – the processor accepts a reasoning_effort argument (none to max) that injects a numeric effort token; default is high (0.9).
Tool calling – the model can emit tool calls; the blog provides a full example that calls a temperature‑lookup function and incorporates the result into the conversation.
Llama App / llama.cpp
Quantized GGUF weights are provided in 4‑bit (IQ4_NL) and 8‑bit (Q8_0). Example CLI for the fixed‑loop model:
llama serve -hf ggml-org/Inkling-2-Mini-GGUF:IQ4_NL
Replace the suffix with :Q8_0 for 8‑bit, or use the TML-d24-varloop-research-GGUF repository for the variable‑loop version.
SGLang (Day‑0 server)
SGLang offers out‑of‑the‑box serving with speculative decoding (DSpark draft). Launch command (requires SM103 GPU):
export MODEL="thinkingmachines/Inkling-2-Mini"
python -m sglang.launch_server \
--model-path $MODEL \
--served-model-name inkling \
--attention-backend fa4 --bf16-gemm-backend torch --dtype bfloat16 \
--tp 1 --page-size 128 --grammar-backend xgrammar \
--host 0.0.0.0 --port 30000
Add --enable-multimodal for image support or --speculative-algorithm DSPARK --context-length 131072 to enable DSpark speculative decoding.
Speculative decoding benchmark
On a single NVIDIA B300 GPU with a 1 024‑token prompt and 1 024‑token generation, DSpark increased throughput across concurrency levels (1, 4, 16, 64). The blog includes the full benchmarking script and a throughput chart.

MLX (Apple Silicon)
MLX support is upstreamed to mlx‑lm. The original NVFP4 + MXFP8 quantization is used directly, preserving author‑intended quality. Example CLI:
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
Demos and "vibe" tests
The blog showcases several creative tasks that highlight Inkling 2 Mini’s multimodal and coding abilities:
- 3‑D shader flythroughs – generated full WebGL fragment‑shader scenes from a single textual prompt, comparable to Qwen 3.8 27B.
- "Starry Night, Alive" – produced a procedural WebGL2 animation of Van Gogh’s painting, iterating over 24 screenshot‑guided refinement rounds.
- Napkin‑to‑App – turned a hand‑drawn wireframe into a functional HTML/JS expense‑splitting app, passing all automated visual checks.
- 4‑bit GGUF generation – the quantized model autonomously created a complete SaaS website (HTML + SVG) from a brief prompt.
- Browser‑agent prototype – paired with the Pi coding agent to build a self‑contained browser automation agent.
These demos illustrate the model’s capacity for complex code synthesis, procedural graphics, and multimodal reasoning while running on consumer‑grade hardware.
How to get started
- Pull the model from the Hugging Face hub (
thinkingmachines/Inkling-2-Mini). - Choose your inference stack (Transformers, llama.cpp, SGLang, or MLX) based on hardware.
- For maximum speed on a single GPU, enable DSpark speculative decoding via SGLang.
- Experiment with the variable‑loop checkpoint if you need faster inference at the cost of a slight quality drop.
Inkling 2 Mini represents a practical middle ground: state‑of‑the‑art performance on a 26 B‑parameter model that fits comfortably on a modern desktop or laptop, supports multimodal inputs, and integrates with the major open‑source inference ecosystems.
“Inkling 2 Mini is a refreshingly new great local model. In our vibe tests, it's at least comparable with Qwen 3.8 27B.” – Hugging Face announcement
Feel free to try the model, report any issues, and share your own demos.