AH-Inkling-2-Mini · Apache-2.0 · Kindi and llama.cpp

AH-Inkling-2-Mini, on one 8 GB GPU.

AH-Inkling-2-Mini is a modified (re-quantized) version of Inkling 2 Mini by Thinking Machines Lab. In Kindi, all 3,072 experts fit in the memory of one 8 GB GPU, so the full model runs on cards such as the GTX 1080 and the RTX 3080. Standard GGUF files for llama.cpp are coming shortly.

Kindi file on Hugging Face7.4 GiB · Kindi 0.7.1 or later GGUF files for llama.cppComing shortly
  • 7.4 GiBKindi file on the GPU
  • 29.4 tok/sRTX 3080, Kindi
  • Apache-2.0license

Live demos

Built by the model in opencode, on one RTX 3080

Each video is a recorded opencode session. opencode 1.19.5 ran the tools, and the model decided every step, through Kindi's OpenAI-compatible server (context 32,768, reasoning effort low). Nobody edited the files between the prompts. The videos speed up the terminal parts; the clock shows the real time.

Demo 1 · 1 prompt

Snowy Floating Island in three.js

A floating island with snow-capped pines, a grassy meadow, falling snow and a slowly orbiting camera.

Flaw: The bare tree trunks look like plain posts.

  • Real time 9 min 55 s
  • Tokens 8,185
  • Generation 20.3 tok/s
Demo 2 · 1 prompt

Neon Starstrike Arcade Shooter

A complete browser space shooter: the ship moves and shoots, enemies come in waves, and the score, lives, sound effects and game-over screen work.

  • Real time 6 min 29 s
  • Tokens 7,477
  • Generation 21.2 tok/s
Demo 3 · 1 prompt

Plant Therapy SaaS Website

A single-file landing website for a SaaS called Plant Therapy, with no external images and no JavaScript errors.

Flaw: The text of the "Book a visit" button is hard to read, and the page has no working matching feature.

  • Real time 6 min 3 s
  • Tokens 7,325
  • Generation 21.5 tok/s
Demo 4 · 3 prompts

Browser OS in 3 Prompts

A browser OS with 12 apps. The first version stopped at its boot screen and the second could not be clicked; after the third prompt, 11 of the 12 apps work with a mouse.

Flaw: Paint clears its own canvas within a second.

  • Real time 57 min 8 s
  • Tokens 53,307
  • Generation 21.2 tok/s

Run it

Two ways to run the model

Kindi runs our own 2-bit file, the fastest option and the only one that puts the whole model on an 8 GB card. llama.cpp runs standard GGUF files. The two builds are separate files: Kindi cannot load the GGUF files, and llama.cpp cannot load the Kindi file.

Run with Kindi

AH-Inkling-2-Mini, Kindi IQ2_M

7.4 GiB. All 3,072 experts in GPU memory. Kindi 0.7.1 or later. The server speaks the OpenAI chat API with streaming, tool calls and a reasoning field.

GPU, 512-token prompt, 128 tokensPromptGeneration
GTX 1080 8 GB121.321.5
RTX 3080 10 GB523.229.4

Tokens per second, context 2,048, greedy, mean of 3 runs. Largest context with all experts in GPU memory: 14,336 tokens on the GTX 1080 and 32,768 on the RTX 3080.

curl -fsSL https://amirhusain.com/kindi/install.sh | bash
hf download ahtx/AH-Inkling-2-Mini \
    AH-Inkling-2-Mini-IQ2_M.gguf --local-dir ~/.kindi
kindi convert ~/.kindi/AH-Inkling-2-Mini-IQ2_M.gguf
kindi --ctx 14336 serve   # 32768 on a 10 GB card
Run with llama.cpp

AH-Inkling-2-Mini-GGUF, IQ2_M and Q4_K_M

Standard GGUF files for mainline llama.cpp (b12611 or later), re-quantized from Unsloth's 8-bit GGUF with our own importance matrix: IQ2_M (10.7 GB) and Q4_K_M (17.4 GB). On a card with less memory, llama.cpp can keep some experts in system memory.

The GGUF files and their numbers are coming shortly.
hf download ahtx/AH-Inkling-2-Mini-GGUF \
    AH-Inkling-2-Mini-IQ2_M.gguf --local-dir .
llama-server -m AH-Inkling-2-Mini-IQ2_M.gguf \
    --jinja -ngl 99 -c 32768 --temp 1.0 \
    --top-p 1.0 --top-k 0 --min-p 0.0

The model

How Inkling 2 Mini works

Inkling 2 Mini has 24 layers. The middle 12 layers run three times with shared weights, so each token goes through 48 layer applications. Each layer routes every token to 8 of 128 experts. Thinking Machines Lab gives 26.4B parameters in total and 5.4B effective active parameters per token.

We changed only the number format of the weights; we did not train the model. For its design, intended uses and the benchmarks of the full-precision weights, read the original model card. Kindi runs the text part of the model; image input is not supported in Kindi.

Quality

What the 2-bit file costs

We compared the Kindi file with Unsloth's UD-Q4_K_M file (16.6 GB) in the same engine. On 32 short tasks (math, Python functions with hidden tests, instructions with checkable rules; greedy, one turn), the 4-bit file passed 31 and the 2-bit file passed 30. On 1,999 positions of plain text, the most likely next token is the same at 86.8% of positions, and the perplexity is 7.2% higher (4.19 against 3.91).

The set is small. It shows that the 2-bit file does not collapse; it cannot show a difference of a few points. Use a 2-bit file when the model must fit a small card, and do not expect the quality of a 4-bit or 8-bit file. The quality numbers of the GGUF files are on their model card.

Limitations

Know before you use it

Quantized files

They make more mistakes than the original weights, and the 2-bit files more than the 4-bit file.

From the original model card

Reasoning can repeat itself in loops (set an output token limit), agentic tool use is less reliable than in larger models, quality is lower outside English, and the model can state wrong facts with confidence.

License

Apache-2.0, built on Inkling 2 Mini

Inkling 2 Mini is released by Thinking Machines Lab under the Apache License 2.0. AH-Inkling-2-Mini and its GGUF files are modified versions of that model under the same license. The Thinking Machines Lab Model Acceptable Use Policy applies to the weights and to any modified version, which includes these files: if you download or use them, you must obey that policy. Both builds were re-quantized from the GGUF conversion by Unsloth. Their work makes this release possible.