Spec sheet / local inference
Inkling 2 Mini VRAM & Hardware Calculator
Inkling 2 Mini is the open-weights multimodal model Thinking Machines Lab released on November 20, 2026 under Apache 2.0: 26.4B total parameters, 3.4B active, a 24-layer looped Mixture-of-Experts decoder and a context window of up to 1M tokens. Pick your GPU or Mac below to see exactly how much memory a given GGUF, context length and KV cache type will take.

Inkling 2 Mini VRAM, Context & Quantization Calculator
Weights use the real file sizes published on Hugging Face. The KV cache is computed from the attention layout in config.json, not a generic rule of thumb, which matters a lot for this model.
KV math uses config.json: 8 KV heads x 128 head dim, 4 full-attention layers (8 cache layers once the loop core runs 3 passes) and 20 sliding-window layers capped at 1,024 tokens (40 cache layers).
Calculating.
Bandwidth-bound estimate, not a benchmark.
What Inkling 2 Mini is
Inkling 2 Mini is a general-purpose model from Thinking Machines Lab, the company founded by Mira Murati. It takes text and images as input and produces text, and it ships on Hugging Face as thinkingmachines/Inkling-2-Mini with the architecture name Inkling2LoopForConditionalGeneration. The weights are a single checkpoint of about 20 GB (19.53 GB on disk) stored in mixed NVFP4 and MXFP8 precision, plus a separate 0.64 GB mtp.safetensors file that holds the DSpark speculative drafter.
The model card lists one NVIDIA DGX Spark, Apple silicon machines with 32 GB or more, and other GPUs with 32 GB or more of VRAM as the supported targets for that checkpoint. Community GGUF builds from Unsloth, ggml-org and LM Studio push the floor lower: the 4-bit files are 15.73 to 17.63 GB, so a 24 GB consumer card can hold a 4-bit build with a moderate context window. That is the case this calculator is built for.
The model is aimed at coding assistants, agentic and tool-use systems, chat and retrieval-augmented generation. Image inputs work best with each side between 40 and 4,096 pixels. Audio is not accepted; the chat template raises an error if an audio part is passed.
Spec sheet
- Developer
- Thinking Machines Lab, Inc.
- Released
- November 20, 2026
- License
- Apache 2.0
- Parameters
- 26.4B total, 3.4B active
- Effective active
- 5.4B per token (3 passes)
- Layers
- 24 physical, 48 applications
- Hidden size
- 2,304
- Experts
- 128 routed, top-8, none shared
- Attention
- 20 sliding-window + 4 full
- Context
- 1,048,576 tokens
- Inputs
- Text, images
Why 26.4B total but only 3.4B active
Every decoder layer replaces the usual dense feed-forward block with 128 routed experts. Each expert is a small gated MLP with an intermediate size of 1,152 against a hidden size of 2,304, so it holds about 8 million parameters across its three projection matrices. That puts roughly 1.02B parameters of experts in each layer and about 24.5B across all 24 layers, which is the large majority of the 26.4B total.
For each token the router picks 8 of the 128 experts, which is 6.25 percent of them. The remaining parameters are attention, the short convolutions, embeddings and the output head, which every token uses. The sum of what a token actually touches is the 3.4B active figure on the model card.
For local inference this split matters in two ways. Memory capacity follows the total: you must hold all 26.4B parameters somewhere, which is why quant size drives the calculator. Decode speed follows the active count, because each new token only reads the selected experts. That is why a 26B MoE can generate much faster than a dense 27B model on the same card.
The 48-pass loop core
Inkling 2 Mini is the first looped transformer Thinking Machines Lab has released. Its 24 layers are split into a prelude (layers 0 to 5), a loop core (layers 6 to 17) and a coda (layers 18 to 23). The core runs three times in a row with the same weights, so each token goes through 6 + 36 + 6 = 48 layer applications while only 24 layers of weights are stored.
The model card states that each extra pass adds about 1.0B effective active parameters, which takes the per-token figure from 3.4B to 5.4B. In practice this means compute and memory reads per token are higher than the 3.4B active count suggests, and the card says so directly. The calculator uses 5.4B when it estimates bytes read per token.
Each pass also keeps its own KV cache and convolution state, so the loop multiplies cache memory for the layers inside the core. See the loop architecture page for the full layer map and a compute simulator.
How the calculator sizes the KV cache
The attention layout is what makes long context affordable here. According to config.json, 20 of the 24 layers use sliding-window attention over the last 1,024 tokens, and only layers 5, 11, 17 and 23 attend over the full context. Layers 11 and 17 sit inside the loop core, so they each need three caches. That gives 8 full-length cache layers and 40 window-capped cache layers per sequence.
Each cache layer stores keys and values for 8 KV heads of 128 dimensions, which is 2,048 numbers per token. At 16-bit precision that is 4,096 bytes per token per cache layer. Multiply by 8 full layers and the context length, add 40 layers times 1,024 tokens, and you get the figures in the table. A q8_0 cache stores 34 bytes per block of 32 values and q4_0 stores 18, and the calculator applies those ratios.
These are per-sequence theoretical numbers. Runtimes reserve extra space: the vLLM recipe reports that one GB200 holds about 1.8 concurrent 1M-token requests, and it caps context at 262,144 tokens on H100 and DGX Spark. Leave headroom above the calculator's total, and remember that each parallel slot in llama-server needs its own cache.
KV cache per sequence
| Context | FP16 | q8_0 | q4_0 |
|---|---|---|---|
| 8K | 0.44 GB | 0.23 GB | 0.12 GB |
| 32K | 1.24 GB | 0.66 GB | 0.35 GB |
| 128K | 4.46 GB | 2.37 GB | 1.26 GB |
| 256K | 8.76 GB | 4.65 GB | 2.46 GB |
| 1M | 34.53 GB | 18.34 GB | 9.71 GB |
8 x context + 40 x min(context, 1,024) cache rows, 2,048 values each.
Hardware sizing table at 32K context
| Hardware | Usable memory | Largest file that fits (q8_0 KV, vision on) |
|---|---|---|
| RTX 4070 12 GB | 11.3 GB | UD-IQ2_XXS (10.8 GB total) |
| RTX 4080 / 5080 16 GB | 15.3 GB | UD-IQ3_XXS (14.0 GB total) |
| RTX 3090 / 4090 24 GB | 23.3 GB | NVFP4 GGUF (19.9 GB total) |
| Mac mini M4 Pro 24 GB | 16.1 GB | UD-Q3_K_XL (15.9 GB total) |
| RTX 5090 32 GB | 31.3 GB | Q8_0 (30.1 GB total) |
| Mac with 32 GB unified memory | 21.4 GB | NVFP4 GGUF (19.9 GB total) |
| MacBook Pro M4 Max 64 GB | 48.0 GB | Q8_0 (30.1 GB total) |
| DGX Spark / Mac Studio 128 GB | 115.2 GB | Q8_0 (30.1 GB total) |
Usable memory: VRAM minus 0.7 GB on discrete GPUs, 67 percent of unified memory on Macs up to 36 GB and 75 percent above, 90 percent on DGX Spark. Totals include 1 GB of runtime buffers.
Reading the results
On 12 GB and 16 GB cards the full 4-bit model does not fit. You can use a 2-bit or 3-bit Unsloth file, or keep a 4-bit file and move some expert weights to system RAM with --n-cpu-moe. The calculator tells you how many expert layers to move. Expect a large speed drop, because those expert reads then run at system memory bandwidth.
On 24 GB cards a 4-bit file fits with room for 32K to 128K tokens of q8_0 cache. The 1M window needs about 18 GB of q8_0 cache on top of the weights, so it is realistic only on 48 GB and larger machines.
For quality, Unsloth's own measurements show UD-IQ4_XS keeping the same top token as UD-Q8_K_XL 97.7 percent of the time, against 94.7 percent for UD-IQ3_XXS and 90.6 percent for UD-IQ2_XXS. The GGUF page lists every file.
Inkling 2 Mini Hardware FAQ
Answers cross-checked against the Inkling 2 Mini model card, config.json, chat_template.jinja and the published GGUF repositories.
How much VRAM does Inkling 2 Mini need?
The weights alone take 8.49 GB at UD-IQ2_XXS, 15.73 GB at UD-IQ4_XS, 16.61 GB at UD-Q4_K_M and 27.82 GB at Q8_0. Add the KV cache (about 0.66 GB at 32K context with a q8_0 cache), 0.64 GB for the vision projector and roughly 1 GB of runtime buffers. A 4-bit build at 32K context therefore needs about 19 to 20 GB, which fits a 24 GB RTX 3090 or 4090. The model card recommends 32 GB or more for the upstream checkpoint.
Can Inkling 2 Mini run on a 24 GB Mac?
Only with a smaller quant or a raised GPU memory limit. macOS lets the GPU wire roughly two thirds of unified memory on 24 GB and 32 GB machines, about 16 GB on a 24 GB Mac. UD-Q3_K_XL (13.63 GB) fits at 32K context, while 4-bit files need the limit raised with sudo sysctl iogpu.wired_limit_mb. Thinking Machines Lab lists Apple silicon with 32 GB or more as supported.
How big is the KV cache at 1M tokens?
With a 16-bit cache it is about 34.5 GB per sequence, because the four full-attention layers become eight cache layers once the loop core runs three passes, and each stores 8 KV heads of 128 dimensions. A q8_0 cache halves that to about 18.3 GB. The 20 sliding-window layers add only about 0.17 GB because they keep the last 1,024 tokens.
Why does the model have 26.4B parameters but only 3.4B active?
Each of the 24 layers holds 128 routed experts and every token is sent to 8 of them. The experts make up roughly 24.5B of the 26.4B parameters, so most weights sit idle for any given token. Because the 12 middle layers run three times, the model card counts 5.4B effective active parameters per token.
Is the tokens per second figure a benchmark?
No. It is a memory-bandwidth ceiling: the calculator divides 60 percent of the hardware's peak bandwidth by the bytes read per token, which are the 5.4B effective active parameters at your quant plus the KV cache. Real speed depends on the runtime build, and the model card notes that looped-model support in local runtimes is new.