Short answer: To run Inkling 2 Mini (26.4B total / 3.4B active Looped MoE, Apache 2.0) in llama.cpp or LM Studio, download Q4_K_M (~15.9 GB) or imatrix IQ4_NL (~17.6 GB) for 24GB GPUs and 32GB Macs, or Q8_0 (~27.8–28.6 GB) for 64GB+ unified memory machines. If you want image input, grab the companion mmproj file from ggml-org/Inkling-2-Mini-GGUF and enable Q8_0 KV cache quantization to offset the model's 48 logical looped layers.
Trusted Hugging Face GGUF repositories
Thinking Machines Lab ships the upstream weights in mixed NVFP4/MXFP8 format. For llama.cpp, Ollama-style runners, and LM Studio, stick to one of these maintained GGUF conversions:
ggml-org/Inkling-2-Mini-GGUF— Reference conversions maintained by the ggml ecosystem, includingQ8_0, imatrix-calibratedIQ4_NL, and matchingmmprojvision files.unsloth/Inkling-2-Mini-GGUF— Dynamic/optimized GGUF variants calibrated to protect router and attention layers at 4-bit widths on consumer NVIDIA GPUs and Apple Silicon.lmstudio-community/Inkling-2-Mini-GGUF— Packaged with LM Studio metadata and prompt template presets for one-click discovery inside the desktop app.
GGUF quantization sizes & hardware fit
| GGUF Quant | Approx. File Size | Recommended Hardware | Practical Context Headroom (Q8_0 KV) |
|---|---|---|---|
| Q4_K_M | ~15.9 GB | RTX 4090 (24 GB), 32GB Apple Silicon Mac | 32K–64K comfortably in GPU/Metal memory |
| IQ4_NL (imatrix) | ~17.6 GB | RTX 4090 (24 GB), RTX 5090 (32 GB), 32GB–48GB Mac | 16K–32K on 24GB; 64K–128K on 32GB+ |
| Q8_0 | ~27.8–28.6 GB | 64GB+ Apple Silicon Mac, dual-GPU 48GB+ rig | 128K–256K with near-lossless coding & reasoning fidelity |
Need exact memory math across context windows from 8K up to 1M tokens? Switch to our interactive Inkling 2 Mini VRAM Calculator.
Adding multimodal vision with mmproj
Unlike pure-text GGUF checkpoints, Inkling 2 Mini accepts both text and image inputs. In the GGUF format, the vision encoder projection weights live in a separate mmproj-*.gguf file inside the repository:
- File pairing: Match the
mmprojfile from the same repo (for exampleggml-org/Inkling-2-Mini-GGUF) with your chosen language quant so tensor names align cleanly. - Memory budget: Reserve roughly 1.0–1.5 GB of extra VRAM/unified memory when attaching the vision projector and processing high-resolution screenshots or diagrams.
- Text-only workflows: If you only run local coding or agentic CLI loops, omit
--mmprojto keep that memory free for longer KV context.
Copy-paste llama.cpp & LM Studio commands
1. llama-server with Q8_0 KV cache (32GB Mac / 24GB RTX 4090)
llama-server \
-hf ggml-org/Inkling-2-Mini-GGUF:IQ4_NL \
--ctx-size 32768 \
--flash-attn on \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
--ngl 99 \
--port 8080
2. Multimodal llama-server (with vision mmproj)
llama-server \
-m ./Inkling-2-Mini-Q4_K_M.gguf \
--mmproj ./mmproj-Inkling-2-Mini-f16.gguf \
--ctx-size 32768 \
--flash-attn on \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
--ngl 99
3. LM Studio quick setup
- Update LM Studio to the latest llama.cpp runtime build that supports Thinking Machines Lab's looped MoE architecture.
- Search
lmstudio-community/Inkling-2-Mini-GGUF(orunsloth/Inkling-2-Mini-GGUF) in the Discover tab. - Select Q4_K_M (24GB–32GB systems) or Q8_0 (64GB+ Macs), turn on Flash Attention and K/V Cache Quantization (Q8_0), and cap initial context at
32768before scaling up.
Preventing OOM from the 48-layer loop
Inkling 2 Mini has 24 physical decoder layers, but layers 6–17 execute three times per token (48 logical passes). Because each loop iteration stores independent KV states, leaving KV cache at FP16 consumes roughly ~6 GB at 32K context and ~24 GB at 128K context on top of your GGUF weights. Turning on --flash-attn on together with --cache-type-k q8_0 --cache-type-v q8_0 cuts KV memory nearly in half while keeping coding accuracy steady.
For workloads that regularly exceed 256K–1M tokens or require high concurrency, compare local hardware costs against hosted inference in our Inkling 2 Mini Architecture & VRAM Guide or OpenRouter vs Direct API guide.
Questions developers ask
Which Hugging Face repositories host Inkling 2 Mini GGUF files?
The three primary community GGUF repositories on Hugging Face are ggml-org/Inkling-2-Mini-GGUF (standard Q8_0 and imatrix-calibrated IQ4_NL builds plus mmproj vision files), unsloth/Inkling-2-Mini-GGUF (optimized local quants for Apple Silicon and NVIDIA GPUs), and lmstudio-community/Inkling-2-Mini-GGUF (pre-packaged for drag-and-drop loading in LM Studio).
What is the best Inkling 2 Mini GGUF quant for a 32GB Mac or 24GB RTX 4090?
For a 24GB RTX 4090 or a 32GB Apple Silicon Mac (~24 GB usable Metal memory), Q4_K_M (~15.9 GB) or imatrix IQ4_NL (~17.6 GB) offers the best accuracy-to-RAM balance while leaving headroom for 16K to 64K context with Q8_0 or Q4_0 KV cache quantization.
Do I need the mmproj file to use Inkling 2 Mini GGUF with images?
Yes. Inkling 2 Mini is natively multimodal (text + image), and GGUF splits the vision projector into a separate mmproj GGUF file. In llama.cpp pass --mmproj along with the model weights; in LM Studio ensure the vision adapter toggle is enabled when downloading from lmstudio-community/Inkling-2-Mini-GGUF.
Why does Inkling 2 Mini GGUF use more KV cache than a normal 24-layer model?
Inkling 2 Mini uses a Looped Transformer MoE where the middle 12 decoder layers (layers 6 to 17) run three times sequentially per token, producing 48 logical layer passes. Because KV states differ across loop iterations, llama.cpp allocates KV cache for all 48 logical passes—so setting --cache-type-k q8_0 --cache-type-v q8_0 is strongly recommended above 32K context.
Should I pick GGUF or native NVFP4/MXFP8 weights for Inkling 2 Mini?
Choose GGUF when running on Apple Silicon (Metal), consumer Ada/Ampere NVIDIA GPUs (RTX 3090/4090), AMD Vulkan, or CPU+GPU split offloading via llama.cpp or LM Studio. Choose Thinking Machines Lab's native NVFP4/MXFP8 checkpoint (~20.0 GB) via vLLM only if you have Blackwell hardware (RTX 5090, B200, DGX Spark) that executes FP4 tensor cores natively.
Checked sources
- Hugging Face — ggml-org/Inkling-2-Mini-GGUF — Standard GGUF quantizations (Q8_0, imatrix IQ4_NL) and matching mmproj multimodal projector weights. (checked Nov 25, 2026)
- Hugging Face — unsloth/Inkling-2-Mini-GGUF — Optimized GGUF builds and quantization notes for local NVIDIA and Apple Silicon deployment. (checked Nov 25, 2026)
- Hugging Face — lmstudio-community/Inkling-2-Mini-GGUF — LM Studio-ready GGUF packaging with preconfigured chat template and multimodal support. (checked Nov 25, 2026)
- Hugging Face — thinkingmachines/Inkling-2-Mini — Upstream Apache 2.0 base weights (26.4B total / 3.4B active Looped MoE, 1M context window). (checked Nov 25, 2026)