Gufo
View on GitHub
Pages
Home / Documentation / development

These pages describe the development version of Gufo. Read the latest release, v0.38.1.

Inkling 2 Mini

Inkling 2 Mini is Thinking Machines’ 26B mixture-of-experts model that reads text and images and writes text. Gufo runs Unsloth’s UD-Q4_K_XL GGUF, which keeps the checkpoint’s native NVFP4 experts.

Files

FileNeeded for
Inkling-2-Mini-UD-Q4_K_XL.ggufText
mmproj-BF16.ggufImages
Inkling-2-Mini-DFlash2-Q4_K_M.ggufDFlash2
dspark-Inkling-2-Mini-Q8_0.ggufDSpark
gufo model install inkling-2-mini

Install fetches every file but the DSpark drafter; add --component dspark for it.

Run

gufo serve llm --model inkling-2-mini

Pass --mmproj PATH to accept images. Requests name the model inkling-2-mini. Without --context, a session gets the model’s native context of 1,048,576 tokens; state for the eight full-attention layer visits takes 32 KiB per token and is mapped only as a conversation grows.

Decoding modes

ModeOptionsWhat happens
ARnoneThe model produces one token per step.
DFlash2--dflash-model PATHincoai’s DFlash2 drafter proposes seven tokens in one pass, choosing a path through its 16 best candidates per position; one step checks them and keeps those the model agrees with.
DSpark--dspark-model PATHThe model’s own drafter proposes up to seven tokens (fewer when it is unsure); the step that checks them is the same.

Both drafters return exactly AR’s tokens, greedy or sampled; they change only the speed. Requests decoding together (--sessions above 1) draft together and are checked in one shared step.

Both also propose copies of earlier text (code, a file being edited, a quote), up to 64 tokens per step, reported in timings as lookup_n/lookup_n_accepted.

DFlash2 is the faster drafter, and the one gufo model install fetches; it prints the file’s path for --dflash-model. The file is incoai’s drafter converted to GGUF and quantized with incoai’s Q4_K_M recipe, published in gufo-org/Inkling-2-Mini-DFlash2-GGUF.

Sampling

The defaults are the upstream generation_config.json’s: temperature 1 and no top-k, top-p or min-p truncation. Requests can override each value.

Thinking

Thinking is on by default at effort high. reasoning_effort and chat_template_kwargs.enable_thinking follow the reasoning controls; each effort selects the chat template’s level:

Effortnoneminimallowmediumhighxhigh, max
Level00.10.20.70.90.99

Inkling can’t switch thinking off: at level 0 (none, or enable_thinking: false) it still usually writes a short thought (29 to 345 tokens on short prompts as of November 2026), and the reply may carry reasoning_content, as with llama.cpp.

tool_choice: "required", named functions and response_format let the model think first, then force the call or the JSON; a required call gets one thought, so the model can’t keep reopening thoughts until the token limit.

The prompt matches Thinking Machines’ renderer (tml-renderers); the model can think again mid-answer. Responses and Messages return one item or block per thought and answer text, in order; Chat Completions joins the thoughts in reasoning_content. To keep the conversation cached, send them back in order (in Chat Completions as {"type": "thinking", "thinking": "..."} parts).

Tools and structured output

Tool arguments are generated with their keys (nested ones too) in sorted order, the order the template declares tools and re-renders calls in; the model writes them that way.

A grammar sees each token’s own bytes, so it describes the thought as written after the prompt’s header: <|content_thinking|>, then <|end_message|><|message_model|><|content_text|> before the answer. Without a thought the model writes the JSON right after the header, streamed as the answer.

Performance

As of November 26, 2026, on Strix Halo with greedy decoding and thinking off, compared with llama.cpp’s HIP backend on the same weights:

WorkloadGufollama.cpp HIP
Prefill, 2,048-token prompt2,296 tokens/s347 tokens/s
Decode, one user47.4 tokens/s22.0 tokens/s
Decode, one user, 131,072 tokens of context24.3 tokens/s7.7 tokens/s
Decode, one user, DSpark, prose59.4 tokens/sN/A
Decode, 8 users, in total189.7 tokens/s68.3 tokens/s
Cold start to ready, with DSpark3.9 sN/A

llama.cpp can’t load either drafter yet. As of November 30, on eight chat prompts with the DFlash2 Q4_K_M drafter, one user decodes 91.8 tokens/s (DSpark 78.5, AR 52.3) and 8 users 148 in total (DSpark 140, AR 117).

The benchmarks give every measurement, and the quality report compares the output with llama.cpp’s CPU reference.

Synced from docs/models/inkling-2-mini.md at main, 2026-12-01.