Root & Reason

Inkling 2 Mini on an 8 GB graphics card: a day of trying to make it useful

At 32k on my RTX 3070, Inkling read prompts at 60 tokens a second and Qwen 3.5 9B read about 3,000.

By

No. 16

Running LLMs locally · Part 5

A long strip of folded coral paper feeds into a blue graphics card. A short paper tab comes out the other end.

The day after Thinking Machines Lab released Inkling 2 Mini, I found a post from Alok that had it generating 17 tokens a second on an 8 GB RTX 4060. I had an RTX 3070 with 8 GB, a set of small agent benchmarks I’d already run local Qwen models through, and a free day.

I got about 20 tokens a second out of it and it built a spreadsheet engine that passed every test I gave it. On my refund desk it resisted all 24 prompt-injection attempts across two versions of the prompt; Qwen 3.5 9B only resisted 1.

How the model fits

Inkling 2 Mini is an open-weights model with 26.4 billion parameters. It’s a mixture-of-experts model. Each layer holds 128 expert blocks and uses eight of them per token. It’s also looped. It has 24 layers, and the middle twelve (6–17) run three times per token.

Unsloth’s UD-Q3_K_XL file is 13.6 GB, about 4.1 bits per parameter averaged across the whole file. Alok’s follow-up two days later showed his 4060 generating 22 tokens a second. My 3070 could match that on a short prompt.

Getting it running on 8 GB

I used the same llama.cpp build (b12651) and Unsloth quant as Alok. Here’s the posted 18k setup, in PowerShell:

llama-server -m Inkling-2-Mini-UD-Q3_K_XL.gguf --jinja --ctx-size 18000 --parallel 1 `
  --cache-type-k q8_0 --cache-type-v q8_0 --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 `
  -ub 64 -ngl 99 -fit off -fa on -t 6 -tb 12 --no-op-offload --load-mode none `
  -ot 'blk\.([0-6]|1[89]|2[0-3])\.ffn_.*_exps.*=CPU'

That last flag puts the expert weights for layers 0–6 and 18–23 in system RAM. Layer 6 is part of the loop too. Keeping its experts on the card would take another 540 MiB. As posted, the split leaves 7.08 GiB of weights on the GPU and 5.60 GiB in RAM, and the GPU still needs room for the context.

When I started setting up, 6,310 MiB of VRAM was already in use. By the time I checked individual processes that was down to 2,838 MiB. Battle.net alone was holding almost half a GiB just sitting there.

App VRAM held
Battle.net 484 MiB
Chrome 232 MiB
Discord 172 MiB
ChatGPT and Grok desktop apps about 120 MiB each
GitKraken 117 MiB
Steam, Outlook, NVIDIA Overlay 50–80 MiB each

After closing Battle.net, Discord and several launchers I was down to 1,249 MiB. Closing Chrome, Docker Desktop and a few others got me to about 950 MiB. At that baseline Alok’s posted 18k setup generated 14.7 tokens a second on a short prompt and 6.7 with 5,900 tokens in context. Windows had spilled into shared GPU memory.

Later I tried the same command with just 233 MiB in use before launch. It managed 24.4 tokens a second on the short prompt, then fell to 11.4 on the same 5,900-token input. To sustain 22 tokens a second at 18k I had to move one more layer’s experts to RAM. For speed I settled on 8k.

The numbers

All on an RTX 3070 8 GB, i5-12400, 32 GB RAM, Windows 11. To reproduce a row, set --ctx-size to the value shown and replace the first [0-6] in the posted override with the expression in the second column. The experts for layers 18–23 stay in RAM throughout. Each extra layer’s experts free about 540 MiB on the card. Decode is how fast the model generates tokens once it’s read the prompt.

Context (--ctx-size) Override for first group of layers Decode, short prompt Decode, long prompt in context Reading the prompt
8k (8192) [0-6] 24.5 tok/s 23.5 tok/s (5.9k prompt) 91 tok/s
18k (18000) [0-7] 22.6 tok/s 21.9 tok/s (5.9k prompt) 77 tok/s
32k (32768) [0-8] 21.5 tok/s 20.2 tok/s (26.8k prompt) 60 tok/s
64k (65536) [0-9]|10 18.5 tok/s 16.6 tok/s (60.5k prompt) 47 tok/s

Raising -ub from 64 to 128 at 8k barely changed the short-prompt result (24.4 tok/s). On the 5,900-token prompt, decode dropped from 23.5 to 14.6 tok/s and prompt reading fell from 91 to 61.

At the 32k setting, 10,000 fresh tokens at 60 tokens a second take nearly three minutes. At the 64k setting, 60,000 at 47 tokens a second take about 21 minutes. For scale, the Qwen quant I use (Qwen3.5-9B-Unsloth:IQ4, 5.17 GB) fits entirely in VRAM at 32k on this card. It generates 64–72 tokens a second and reads prompts at about 3,000.

llama.cpp can reuse the part of the previous prompt that’s identical up to the first changed token. With one server slot, switching to a different agent’s conversation can lose that saving.

I could turn thinking off for a single chat request by setting a zero reasoning budget. Then I tried it with tools. After the first tool result Inkling kept emitting empty thinking blocks until it hit the output limit. I had to leave thinking on to get a working agent. Those thinking tokens count against the same output limit as the answer. In the D&D game, the maze and my first two coding runs, Inkling could use up the whole allowance before taking an action.

Four agent benchmarks

Movie Agent answers questions about a film database by chaining tool calls. The strict grader checks the answer and, for questions that need several tools, whether the agent reached every required tool. Inkling passed all 43 runs that finished. Counting the client’s 100-second timeout as a miss gives it 43/44 strict, against 42/44 strict for Qwen 3.5 9B and 43/44 for GPT-5.4. Qwen’s 44/44 in the earlier post was its ordinary score. I’d call the two local models level here. Even with a long prompt prefix the cache could reuse, Inkling took 29 seconds per run to Qwen’s 10. Result: Arguably slighlty better than Qwen3.5 but much slower

Models and Monsters is a multi-agent D&D game with a Dungeon Master, players and a rulebook agent. I stopped it after twelve minutes, less than two character turns into the game. The harness sends a fresh 5,000 to 7,000-token prompt on almost every call. Those calls took 70–115 seconds each. The Dungeon Master gets 400 output tokens to make a ruling. On the second ruling it spent all 400 thinking about which supply case the player meant, did the same on the retry, and the player’s action came to nothing. Qwen’s last full game ran for twelve rounds in 17 minutes. Result: Fail. Thinking uses all of 8k context

In Maze escape, three agents explore a maze with a notebook each. On the same maze both models got agent A to the exit on turn five. Inkling took an untried exit whenever it saw one (35 of 35 opportunities, against Qwen’s 55 of 65). The trouble came when it needed to backtrack. After about fourteen turns its other two agents declared themselves stuck and sat radioing for help. Each had an unexplored opening at its own starting cell, written in its own notebook.

Across 53 turns the three agents had 159 decisions to make. Thinking ate the 1,024-token output cap on 51 of them. Even when Inkling finished a decision on a cell where it had tried every exit, it chose to stay put 50 times and moved only 22. I stopped the game at turn 53, after an hour and 47 minutes. By that turn Qwen had visited 49 cells to Inkling’s 38, though it hadn’t got a second agent out either. Result: Neither Inkling or Qwen handled this well

The refund desk grades an agent on 66 support cases. I’d revised its prompt since the Qwen run. On the older prompt (v2), Qwen got ten tries per case and passed every check in 604 of 660 trials (91.5%). I ran Inkling three times per case on v3. It passed 139 of 198 (70.2%), with a median of 24.4 seconds per trial.

On 58 failed trials Inkling closed a ticket without issuing a refund and left out the required amount field. Set aside the schema check and 197 of its 198 trials passed. The remaining failure was a refund it issued before successfully looking up the order.

I did rerun the injection cases on the older prompt. Inkling resisted all 12 attempts on v2, just as it had on v3. Qwen resisted one of 40 on v2. Result: Would have been a good result if it wasn’t for the schema violation

The coding test

Before I’d even given it the task, OpenCode sent about 13,000 tokens of system prompt and tool definitions. Some 4,600 were a list of the skills installed on my machine. DeepSeek’s dsh started at about 9,500. I cut dsh down to the shell and file tools, which brought it to 3,300. Both models got that setup, the same llama.cpp build and a 32k context.

The task was a small spreadsheet engine in one Python file. It had to handle numbers, formulas, cell references, functions over ranges, error codes and cycle detection. The agent got a spec and 48 tests. I kept another 53 tests back, covering the same rules with different inputs. A second session then had to add AVG and the ^ operator.

Inkling’s first two attempts wrote nothing at all. At dsh’s default high thinking effort it read the files and then thought. With a 4,096-token limit it ran out mid-thought. With 12,000 it thought for nine and a half minutes, reopening the same design questions over and over, and still ran out without writing a line.

I left the limit at 12,000 and turned the effort down to low. Inkling planned once, wrote 319 lines and found a bug on its first test run. It fixed the bug and passed all 48 visible tests and all 53 held-out tests in 15 minutes. The follow-up took another eight minutes, brought the file to 341 lines and passed all 18 new tests. The original tests still passed. I found the low-effort fix here, after the two games, and didn’t rerun either one to see what difference it would make.

I’d assumed Qwen couldn’t run a 32k context on this card. But with llama.cpp’s 8-bit context cache it fit entirely in VRAM. I gave it the same 12,000-token output limit.

  • With thinking on, Qwen drafted the whole program inside its thinking block and ran out of tokens. Setting the effort to low in dsh made no visible difference.
  • With thinking off, it wrote code immediately and then spent 45 minutes patching it. When I stopped it, 13 of 48 visible tests and 9 of 53 held-out tests passed. =1+2*3 came to 9, and every formula with a function in it hung.

Would I use it for local coding?

I wouldn’t use either model for everyday coding on this 3070. Qwen read the files quickly and still couldn’t get the spreadsheet working. I liked what Inkling did with it. It picked up the file in a fresh session, added two features and left the original tests passing, but the speed is way too slow to be practical here.

Also, the fast 8k setup left me tens of MiB of headroom after I’d closed the browser and game launchers. Even with dsh cut down, the spreadsheet sessions needed 19,000–21,000 tokens, so I ran them at 32k. So any more complicated coding task would hit a wall with 32k context.

I think given maybe a 20, or better still a 32 GB GPU, and a 262k context, this could become a more viable option for a true local coding agent.