Skip to content
GenAI Figure

ResearchAI & LLMs

Inkling 2 Mini on a 32 GB laptop, measured

The vendor says Inkling 2 Mini runs on a 32 GB Apple silicon Mac. I measured it on an M2 Pro with Ollama: load time, prefill and decode speed, memory pressure, and the context length where it stops working.

By Sritharan K (opens in a new tab)

Published 13 min read

Cover card for the article Inkling 2 Mini on a 32 GB laptop, measured

Thinking Machines says Inkling 2 Mini runs on any Mac with at least 32 GB of memory through Ollama. I tested that claim on my own 14-inch MacBook Pro with an M2 Pro and 32 GB, on 28 November 2026.

The short answer: it runs, and it fits entirely on the GPU. It loads in about 10 seconds, reads prompts at about 210 tokens per second and generates about 21 tokens per second. Answers are coherent. But it fills the machine. Every load pushes macOS into memory pressure and swap. Long requests swapped too: a 56k-token prompt in a fresh load, and 16k and 31k prompts in a long series of requests. A 117k-token prompt ran for 13 minutes and then crashed with a Metal GPU error after 90k tokens.

In practice: good for interactive work with short prompts. Prompts up to about 30k fit, but a full one waits close to three minutes for its first token. 64k works slowly, with swapping. Beyond that it failed on this machine.

Setup#

ItemValue
MachineMacBook Pro 14-inch, 2023 (Mac14,9)
ChipApple M2 Pro: 10-core CPU (6 performance, 4 efficiency), 16-core GPU
Memory32 GB unified, 200 GB/s bandwidth (Apple's spec)
OSmacOS 27.0.1 (26A434), on mains power
RuntimeOllama v0.40.19, command-line build, MLX runner (MLX 0.32.4-82-gfc344c9)
Model packageinkling-2-mini:26b-a5b-nvfp4, 20.19 GB, digest d183b1321cb5
ClientPython 3.12.14, standard library only

I pinned the package tag instead of running ollama run inkling-2-mini. As of 28 November 2026 the latest tag is listed at 19 to 20 GB and covers more than one package. A plain registry request for it returned a GGUF quantized to IQ4_NL after training. The 26b-a5b-nvfp4 package holds the vendor's own weights, which were trained in this low precision: its tensor bytes match the published checkpoint to within 2 KB.

Ollama ran as ollama serve on 127.0.0.1, started and stopped by my script, with OLLAMA_NUM_PARALLEL=1, OLLAMA_MAX_LOADED_MODELS=1, OLLAMA_KEEP_ALIVE=60m and OLLAMA_NO_CLOUD=1. The figure shows what talks to what.

Test setup: a 32 GB M2 Pro MacBook Pro runs Ollama v0.40.19, whose MLX runner holds the Inkling 2 Mini package in GPU memory. A Python script sends prompts over HTTP, reads the runtime's counters and /api/ps, and samples macOS memory once per second.
The test setup. The script talks to the runtime over HTTP on 127.0.0.1 and reads memory counters from macOS directly.

Method#

  • Machine state. Rebooted, no other heavy work running. Each series started only after the 1-minute load average stayed below 3 in four checks a minute apart, with memory pressure at normal. Before and after every series I recorded the load average, the kernel memory pressure level (1 normal, 2 warn, 4 critical), swap in use, and the pageout and swapout counters.
  • Load time. Three times each: the first load after a fresh server start, and a reload after unloading. Wall time, because the MLX runner reported a load_duration of 0 for these requests.
  • Speed. Prompts of about 0.5k, 4k, 16k and 31k tokens at a 40,960-token context, temperature 0, 256 output tokens (one run stopped early at 212). One warm-up per length, then five rounds, with the lengths in a new random order each round. Prefill is new prompt tokens divided by prompt_eval_duration; decode is eval_count divided by eval_duration. Both are the runtime's own counters.
  • No prompt cache. Each prompt is a random slice of Python standard library source, with a unique run ID as its first line. Every measured run reported zero cached prompt tokens.
  • Context ceiling. Load at 8k, 16k, 32k, 64k and 128k, fill 82 to 89% of the context with a prompt, and generate 64 tokens. Then, separately, load only at 128k and 256k.
  • Memory, sampled once per second during every request.

Two labels keep the speed numbers honest. A point is clean when every run stayed at pressure level 1 with no swapouts. Otherwise it is pressure, with its counters next to it. Clean and pressure points are never averaged together.

Speculative decoding stayed on#

The package ships a small draft head for speculative decoding. I first switched it off with draft_num_predict: 0, the documented option. The server logs showed it kept drafting anyway.

In the Ollama v0.40.19 source, the MLX runner decides per request in mlxrunner/speculate.go (opens in a new tab), line 136: enabled := !opts.Logprobs && opts.TopLogprobs == 0. Drafting stops only when a request asks for logprobs. draft_num_predict is not read on this path.

A short series with draft_num_predict: 4 drafted up to 7 tokens deep, exactly as with 0. That confirms the option is ignored here. Its numbers repeat the as-shipped series, so I leave them out. That leaves two series:

  • As shipped: speculation on, the default anyone gets. Across this series the logs show 49% of drafted tokens accepted.
  • Speculation off via logprobs: the same requests with logprobs: true. The log shows no drafting. This mode is not pure plain decoding. The runner still feeds each token to the draft head's cache and computes the logprobs. I could not isolate that cost on this package, so treat this series as a lower bound for plain decoding speed.

Fit and load time#

At the default settings the model fits entirely on the GPU, and it squeezes everything else out.

  • Default context. Ollama picked 32,768 tokens on this Mac, based on its 25.0 GiB GPU memory budget. /api/ps reported 22.1 GB, all of it on the GPU, and the MLX runner wired 20.60 GiB.
  • Load time. First load after a server start: median 10.0 s (9.9 to 10.5). Reload: 9.8 s (9.5 to 9.8).
  • Memory during the load. Every first load drove pressure to critical and wrote 1.4 to 4.4 GB to swap. Reloads reached warn and wrote 1.1 to 1.7 GB.

A first attempt, before the reboot, shows what a normal working day looks like. With the usual desktop apps open, Ollama reported 3.9 GiB of system memory free. The same load took 114 seconds. Over that two-minute step macOS wrote 24.5 GB to swap, swap in use grew by 15.1 GB, and the load average went from 1.8 to 12.8.

Speed#

SeriesPrompt tokensPrefill tok/sDecode tok/sLabel
As shipped546212.8 (210.7 to 215.5)22.9 (19.7 to 25.3)clean
As shipped3,647228.5 (222.9 to 229.9)22.3 (21.8 to 25.1)pressure: level 2, 0 swapouts
As shipped15,551208.9 (205.3 to 211.6)21.6 (19.6 to 23.7)pressure: level 2, 2 of 5 runs swapped out, 2.0 GB
As shipped30,985186.8 (185.7 to 188.6)18.5 (15.9 to 19.3)pressure: level 2, 4 of 5 runs, 2.6 GB
Speculation off543213.7 (210.8 to 217.5)21.1 (21.0 to 21.2)clean
Speculation off3,646230.1 (221.8 to 230.3)20.6 (20.5 to 20.7)pressure: level 2, 0 swapouts
Speculation off15,552210.5 (207.1 to 211.1)19.3 (19.2 to 19.3)pressure: level 2, 3 of 5 runs, 0.7 GB
Speculation off30,984188.5 (186.0 to 189.0)17.8 (17.6 to 18.1)pressure: level 2, 5 of 5 runs, 5.2 GB

Median of five runs, with min to max in brackets. Prompt tokens are the median actual count. The GB value in the label is the total written to swap across the five runs.

Chart of decode tokens per second against prompt length. As shipped: 22.9, 22.3, 21.6 and 18.5. Speculation off: 21.1, 20.6, 19.3 and 17.8. Both are well below a computed ceiling that falls from 35.4 to 29.4. Points from 4k on are hollow: memory pressure or swapouts during the runs.
Decode speed. Dots are medians, bars the range. The dashed line is computed from the memory bandwidth, not measured. Hollow points had memory pressure or swapouts during their runs.

What the numbers say:

  • Decode is about 21 tokens per second, and it drops to about 18 at 31k tokens. That is consistent with reading the growing KV cache for every token: the computed ceiling falls 17% over the same range, the measured speculation-off decode 16%. The 31k runs also swapped, so I cannot attribute the drop to one cause.
  • Speculation helps a little at most. As shipped is 8.5% faster at short prompts (22.9 against 21.1). The comparison is against a lower bound, so the real gain over plain decoding is at most that. Speculation also costs consistency: its range is 19.7 to 25.3, against 21.0 to 21.2 without it.
  • Prefill is flat at about 210 to 230 tokens per second up to 16k, then slows. A 31k-token prompt takes close to three minutes before the first output token.
Prefill tokens per second against prompt length: 187 to 229 up to 31k tokens, 156 at 56k in the context sweep, and in the failed 128k attempt a running average falling from about 205 to 114 before the runner crashes after 90.1k tokens.
Prefill speed. The red line is the running average of the failed 128k attempt, read from the runtime's own progress log lines.

Context ceiling#

ContextPrompt tokensPrefill tok/sDecode tok/sDuring the requestResult
8,1926,757219.127.3cleanruns
16,38413,708211.526.5cleanruns
32,76828,478192.421.5cleanruns
65,53656,253155.717.4level 2, 2.1 GB to swapruns, slowly
131,072116,810 (sent)n/an/alevel 4 eight times, 64.7 GB to swapcrashed after 90,112 tokens

One run per size, as shipped. Each step reloads the model first, and every reload reached level 2 and wrote up to 0.9 GB to swap. The "during the request" column starts after the reload. Decode here covers only 64 tokens, so it is not comparable with the speed table.

The 28k-token request at a 32,768 context ran clean in a fresh load. The 16k and 31k requests of the speed series, at a 40,960 context in a server that had handled many requests, swapped. I cannot separate the two causes: the larger context setting, and memory the runner held across requests.

The 128k step loaded in 9.8 seconds, according to the server log. Prefill then ran for 13 minutes. The running average fell from about 205 to 114 tokens per second, and the last chunks ran at about 60. Pressure sat at warn and reached critical eight times in the last two minutes. During the request macOS wrote 64.7 GB to swap, while swap in use grew by only 2.9 GB: the same pages went out and back in, over and over. The last progress line reported 90,112 of 116,810 prompt tokens. About 23 seconds later the runner crashed with this log line, on macOS 27.0.1 with Ollama v0.40.19:

text
panic: mlx: [METAL] Command buffer execution failed: Impacting Interactivity (0000000e:kIOGPUCommandBufferCallbackErrorImpactingInteractivity).

My reading, not verified in Apple's documentation: macOS stopped a GPU command buffer that blocked the display for too long, and Ollama returned HTTP 500.

A load-only check at 128k and 256k succeeded, and /api/ps reported the same 22.1 GB as at 32k. So "100% GPU" in ollama ps does not mean the context fits. The reported size does not change with the context setting, while the KV cache grows with the prompt.

Against the vendor's figures#

The announcement's speed chart is a theoretical ceiling: 614 GB/s of memory bandwidth, BF16 weights, batch size one. I applied the same kind of arithmetic to this machine and this package. My script reads the package's tensor list and sizes, without downloading the weights. Per generated token it counts every tensor of a layer once per pass (the middle 12 layers run three times), 8 of 128 experts, and the output projection. The result is 5.55 GB read per token. That is more than "4-bit" suggests. Most expert weights are 4-bit (NVFP4), but the experts of the last four layers are 8-bit (MXFP8), and attention, the router and the output projection are BF16.

FigureTokens/sKind
Vendor method (5.4B effective active × 2 bytes) at 614 GB/s56.9computed
Vendor method at this Mac's 200 GB/s18.5computed
5.55 GB of weights plus the KV reads at 512 tokens, at 200 GB/s35.4computed
Speculation off, 543-token prompt21.1measured
As shipped, 546-token prompt22.9measured

The measured 21.1 tokens per second is 60% of the computed 35.4. Put another way, the runner moves about 117 GB/s of weights against a spec-sheet peak of 200 GB/s. Sustained bandwidth always stays below the peak, and attention, routing and kernel launches add time. The vendor method's 18.5 lands below the measurement mainly because it assumes BF16 for every weight.

What this means in practice#

  • Interactive coding help with short context works. A 4k-token prompt starts answering after about 16 seconds.
  • Agent loops that re-send long histories are slow. At 31k tokens every turn waits close to three minutes before the first output token, unless the runtime reuses the prompt prefix. My test prevented that reuse on purpose. In a check with an identical repeated prompt, the speculation-off series reused 524 of 528 tokens, but the as-shipped series reused 0 of 531. I did not find out why. Test prefix reuse on your own setup before you count on it.
  • Long documents past roughly 64k tokens are not practical on 32 GB. The machine swaps heavily, and at 117k the run failed.
  • Do not run it beside a full desktop. With a browser, a virtual machine and other desktop apps open, loading took 114 seconds and pushed 15 GB into swap.
  • Watch the hidden reasoning. With think: false, a request for the ISO 8601 parser counted 1,898 output tokens for an answer of 1,336 characters. The model card says minimum reasoning effort does not fully disable reasoning. Budget output tokens for that.

Both sanity answers were coherent. The ISO 8601 duration parser gave correct results on the four inputs I tried (P3DT4H5M is 273,900 seconds) and rejected invalid ones. The other answer was a correct three-sentence explanation of why a mixture-of-experts model keeps every expert in memory. That is all they show. No quality evaluation was in scope.

Limits#

  • One machine, one runtime version (Ollama v0.40.19), one package. Other runtimes or quantizations behave differently.
  • Runtime defaults, except the options and environment variables named above. The speculation-off series still carries the logprobs and draft-cache work.
  • The macOS file cache was not purged before loads (that needs admin rights), so load times assume a warm cache.
  • Background load: Microsoft Defender, Spotlight indexing after the reboot (seen in the process list), macOS services, three idle local web previews and the open desktop apps. Thermal state was logged, with no warnings, but not controlled. The once-per-second memory sampler runs a few small system commands, and its cost is inside every number.
  • The context sweep is one run per size, so it shows where things break, not a precise speed.
  • Memory pressure is part of the result. In the speed series, the 4k points reached warn without swapouts, and the 16k and 31k points also swapped. In fresh loads, requests up to 28k tokens ran clean, and 56k swapped.
  • No quality or accuracy evaluation.

Reproduce it#

Download the command-line build of Ollama, check it against the release's SHA-256, and pull the pinned package:

bash
mkdir -p ~/opt/ollama-0.40.19 && cd ~/opt/ollama-0.40.19
curl -fLO https://github.com/ollama/ollama/releases/download/v0.40.19/ollama-darwin.tgz
echo "c335802128e9ac33fc0599fa9da661c3d44fbe0dc0176bb6a2f4134386205942  ollama-darwin.tgz" | shasum -a 256 -c
mkdir dist && tar -xzf ollama-darwin.tgz -C dist
OLLAMA_HOST=127.0.0.1:11434 OLLAMA_NUM_PARALLEL=1 OLLAMA_MAX_LOADED_MODELS=1 OLLAMA_NO_CLOUD=1 ./dist/ollama serve &
until curl -s http://127.0.0.1:11434/api/version > /dev/null; do sleep 1; done
./dist/ollama pull inkling-2-mini:26b-a5b-nvfp4

This script measures one request each way and prints the runtime's own counters. It needs only Python 3.12:

speed_once.pypython
"""Prefill and decode speed of one request to a local Ollama server, with and without speculation."""
import json
import sys
import urllib.request
import uuid

MODEL = "inkling-2-mini:26b-a5b-nvfp4"
URL = "http://127.0.0.1:11434/api/generate"


def run(prompt, logprobs):
    body = {"model": MODEL, "prompt": prompt, "stream": False, "think": False,
            "options": {"temperature": 0, "seed": 42, "num_ctx": 40960, "num_predict": 256}}
    if logprobs:
        body["logprobs"] = True  # in Ollama v0.40.19 this is what parks speculative decoding
    req = urllib.request.Request(URL, json.dumps(body).encode(), {"Content-Type": "application/json"})
    with urllib.request.urlopen(req, timeout=3600) as resp:
        r = json.loads(resp.read())
    new = r["prompt_eval_count"] - r.get("prompt_eval_cached_count", 0)
    return r["prompt_eval_count"], new / r["prompt_eval_duration"] * 1e9, r["eval_count"] / r["eval_duration"] * 1e9


source = open(sys.argv[1], encoding="utf-8").read()
for logprobs in (False, True):
    prompt = f"Run {uuid.uuid4().hex}. Summarise this file in one sentence.\n\n{source}"
    tokens, prefill, decode = run(prompt, logprobs)
    print(f"logprobs={logprobs}: {tokens} prompt tokens, prefill {prefill:.0f} tok/s, decode {decode:.1f} tok/s")

I ran it on the standard library file json/decoder.py, with python3.12 speed_once.py "$(python3.12 -c 'import json.decoder; print(json.decoder.__file__)')":

text
logprobs=False: 4012 prompt tokens, prefill 135 tok/s, decode 18.8 tok/s
logprobs=True: 4009 prompt tokens, prefill 228 tok/s, decode 20.2 tok/s

This output is one example run, not study data. The first request came straight after the model load. Ollama counts the load outside these two durations, yet that first prefill was still much slower. That is why the harness discards one warm-up request per prompt length. The numbers in this article come from a fuller harness. It adds the warm-ups, the shuffled rounds, the memory sampling and the context sweep around the same API calls. Stop the server when you are done (kill with the PID of ollama serve).

References

  1. Inkling 2 Mini model card (opens in a new tab). Thinking Machines Lab, 2026-11-20.
  2. Introducing Inkling 2 Mini (opens in a new tab). Thinking Machines Lab, 2026-11-20.
  3. Ollama v0.40.19 release (opens in a new tab). Ollama, 2026-11-26.
  4. MacBook Pro (14-inch, 2023) Tech Specs (opens in a new tab). Apple.
  • Technology UpdateAI & LLMs

    Inkling 2 Mini: a looped open-weights model on a 32 GB laptop

    Thinking Machines released Inkling 2 Mini under Apache 2.0: a 26.4B mixture-of-experts model that runs its middle layers three times per token. What looping is, why the model fits on a 32 GB machine, and how to run it.

    11 min read

  • Technology UpdateAI & LLMs

    Moving tool-using apps to GPT-6.2 and the Responses API

    GPT-6.2 Astra and Sol call tools only through the Responses API. What changed on 17 November 2026, how the tool loop maps from Chat Completions, and which edits now cost you the model's reasoning.

    10 min read