How Much To Run AI
Open weights

Inkling 2 Mini: Local Setup, Memory and Token Costs

Thinking Machines Lab’s Inkling 2 Mini accepts text and images and returns text. It reuses its middle layers for three passes per token, with 26.4B total parameters and about 20 GB of native weights. The Apache 2.0 checkpoint can run locally, but 16 GB of total device memory is below the native weight footprint before context and runtime memory are added.

Content reviewed:

Download Inkling 2 Mini from Hugging Face ↗
Inkling 2 Mini sends each token through its first six layers, three passes through the same middle twelve layers, and its final six layers. The 26.4 billion parameter model has about 20 gigabytes of native weights.
Architecture illustration based on the published model description. The repeated core reuses weights, while inference memory also includes context state and runtime buffers.

Use this model

See access details in the guide below.

Use cases

  • Run coding agents on long tasks where the model must revise a solution across multiple tool calls.
  • Ask questions about an image and receive a text answer from a local model.
  • Compare the time, memory and quality of a local run with a hosted model endpoint.

How does Inkling 2 Mini use its loop?

Inkling 2 Mini is a multimodal mixture-of-experts model. It accepts text and images and produces text. Its 24 physical decoder layers include a 12-layer middle block that runs three times. The repeated passes reuse those weights and exchange learned messages, so a token makes 48 logical layer visits without storing 48 separate decoder layers.

Thinking Machines reports 26.4B total parameters, 3.4B active parameters and 5.4B weight activations per token when the repeated passes are counted. The smaller active count describes routing for a token. It does not describe how much memory is needed to store the weights.

Thinking Machines reports 48.2% on DeepSWE v1.1 and 46.5% on Vals Index v2.2, leading the open-weight models under 100B total parameters in its comparison. Its coding chart estimates a decoding ceiling at 614 GB/s with BF16 weights and batch size one. A laptop running a GGUF quant will have different bandwidth and memory traffic.

The extra passes let the model perform more computation inside each generated token and may reduce how much reasoning it writes out. That does not guarantee a shorter or cheaper complete task. Compare correct results, output tokens, elapsed time and energy on the same task and runtime.

The standard Inkling 2 Mini checkpoint uses three passes. Thinking Machines also published the separate `TML-d24-varloop-research` artifact, which can vary the pass count. The Hugging Face guide demonstrates two passes and says fewer passes can run faster with possible quality loss. The authors have not evaluated that research variant in depth.

Will Inkling 2 Mini fit in 16 GB of memory?

The native mixed-precision model has an approximately 20 GB memory footprint according to Thinking Machines. That is the model itself, before budgeting for the operating system, context cache, compute buffers or optional speculative draft weights. A device with 16 GB total unified memory cannot hold the native weights and those additional allocations together.

A 16 GB graphics card is a different case from a laptop with 16 GB total RAM. A user report on an RTX 5060 Ti with 16 GB of VRAM and 64 GB of system RAM loaded a 13.63 GB third-party Q3 quant using a November 20 Unsloth `llama.cpp` build, 32K context and Q8 cache. The runtime offloaded some experts into system RAM. The author reported about 34 tokens per second for text and 13 with vision enabled. This is one early configuration report, not a minimum specification or expected speed for other machines.

For the native Inkling 2 Mini checkpoint, Thinking Machines lists Apple Silicon machines with at least 32 GB of unified memory and recommends at least 32 GB of VRAM for other GPUs. The lab demonstrated an offline run on a 48 GB M5 Pro MacBook Pro. On a smaller machine, choose a quantized file that leaves room for context and runtime buffers, then test a short prompt before loading images or a long conversation.

For a 16 GB Mac, Unsloth lists the 3-bit UD-IQ3_XXS at 11.66 GB and 2-bit UD-Q2_K_XL at 9.14 GB. The smaller download leaves more room for runtime memory and diverges more from Unsloth’s reference quant. Test the 3-bit file at a short context before dropping to 2-bit.

The model supports a context window up to one million tokens. A maximum context setting does not mean that a laptop can keep a million-token conversation in memory. Context cache grows with the active request and each loop visit maintains its own state, so start with a short context and increase it only when your task needs the extra history.

A published llama.cpp benchmark on a 64 GB M5 Pro Mac mini shows the effect of longer prompts. With the IQ4_NL GGUF and thinking disabled, the first token arrived in about 1.1 seconds at 512 input tokens and about 163 seconds at 32,768 input tokens. Decode speed changed from about 30 to 25 tokens per second. If your work involves long documents, measure time to the first token as well as decode speed.

ConfigurationWhat to expect
16 GB total device memoryTest a compact 2-bit or 3-bit GGUF at short context and leave room for runtime memory.
16 GB GPU plus separate system RAMA quant may run with some experts in system RAM. Speed and image support depend on the runtime, quant and context.
32 GB or more on Apple SiliconThe model card supports this range for the native Inkling 2 Mini checkpoint. The publisher’s demo used a 48 GB MacBook Pro.

Run Inkling 2 Mini with a desktop app or server

Hugging Face documents Transformers, MLX, llama.cpp and SGLang for Inkling 2 Mini. Try MLX on Apple Silicon, or use llama.cpp to serve a GGUF on a laptop or desktop. The published SGLang recipe targets NVIDIA data-center hardware and requires SM103.

For a graphical setup, load a supported Inkling GGUF from Model Hub in Unsloth Desktop. Its UD-Q4_K_XL weighs about 17.6 GB. Start with a short prompt, then budget more memory for context and the vision projector if you use images.

Strata 0.2.19 adds a dedicated Inkling engine. Its SQ-10 package can use a hybrid RAM and VRAM path on a 4 GiB GPU. The desktop machine still needs system memory for offloaded weights and room for context. On Mac, MLX-Serve also offers an Inkling pre-release for serving the official weights or a compatible MLX package.

For llama.cpp, start with the ggml-org 4-bit GGUF shown in the release guide. Upstream looped-model support was merged on November 20, 2026. Early community reports show that loading and speed can vary by GGUF source, runtime build, GPU and context. A short smoke prompt can confirm your selected file and build before you run an agent or compare performance.

The release also includes a DSpark speculative draft. It can propose tokens for the main model to verify, but adds its own weights and runtime memory. Compare it on your task with the draft disabled before counting on a speed improvement.

For a Linux GPU server, vLLM’s launch recipe uses the vllm/vllm-openai:inkling-2-mini container. The H100 and DGX Spark configurations cap context at 262,144 tokens to fit memory. Check the recipe for your GPU before budgeting for a long session.

Start the 4-bit Inkling 2 Mini GGUF with llama.cpp
llama serve -hf ggml-org/Inkling-2-Mini-GGUF:IQ4_NL

A Q4 example on an RTX 5060 Ti

CyberQ ran the 17.63 GB UD-Q4_K_XL with the Unsloth llama.cpp b12588 fork on Windows 11, a 16 GB RTX 5060 Ti and 128 GB system RAM. The 16K context setup offloaded early experts to the CPU and peaked at 15.4 GB VRAM. A separate 512-token decode test returned 38.2 tokens/s. This was a text run with the command-line engine. For your own run, record the offload settings and check that the server detects the GPU before timing a request.

Inkling 2 Mini pricing on Tinker and local hardware

Tinker lists Inkling 2 Mini at $0.15 per million uncached prefill tokens, $0.015 per million cached prefill tokens and $0.50 per million sampled output tokens. Both configurations support a sampling context of up to 1M tokens. Use thinkingmachines/Inkling-2-Mini for 64K training or thinkingmachines/Inkling-2-Mini:peft:262144 for 256K training. The longer configuration changes only the training rate.

For hosted inference with Inkling 2 Mini, use the Tinker SDK’s sampling client or try the model interactively in the Tinker Playground. The separate Serverless Inference beta lists Inkling 2 Small, Inkling and Inkling-Small.

On either Inkling 2 Mini configuration, 100,000 uncached input tokens and 20,000 sampled output tokens cost $0.025. With 80,000 of those input tokens served from cache, the same run costs $0.0142. One million training tokens cost $0.75 at 64K or $1.50 at 256K before sampling, evaluation or checkpoint storage.

Running Inkling 2 Mini locally removes the provider token charge. Its cost comes from the hardware, electricity, storage and time the machine is occupied. For an energy estimate, multiply average wall power in kilowatts by run hours, then by your electricity rate. Add any hardware or hosted-runtime cost separately.

For a fair local-versus-hosted comparison, use the same prompt and acceptance check. Record the whole task, including input, output, retries, wall time and memory. Fewer generated tokens can reduce work, but the repeated core performs extra computation for each token.

Tinker training contextUncached prefillCached prefillSamplingTraining
64K$0.15 / 1M$0.015 / 1M$0.50 / 1M$0.75 / 1M
256K$0.15 / 1M$0.015 / 1M$0.50 / 1M$1.50 / 1M

Inkling 2 Mini or Inkling 2 Small?

Choose Inkling 2 Mini when local access and a roughly 20 GB native weight footprint matter. Inkling 2 Small has 594B total parameters, 17B active parameters and requires a multi-GPU server configuration in its published native formats. Its Tinker rates and configurations are documented separately.

For another local coding model, Qwen3.8-27B has a dense checkpoint and its own quantization and runtime tradeoffs. Compare all three with the same repository, tests and tool setup; active parameters alone do not determine memory, speed or cost per completed task.

Before you use it

  • The approximately 20 GB native model footprint does not include all memory used by context, runtime buffers or optional speculative decoding.
  • The variable-loop artifact is a separate research checkpoint, and its authors say they have not evaluated it in depth.

How to get started

Choose a runtime and quant that fit your free memory, start with a short prompt, then measure a complete task before scaling context or adding an agent.

Sources

Sources (13)

Calculators