--- license: apache-2.0 license_link: https://www.apache.org/licenses/LICENSE-2.0 library_name: mtplx pipeline_tag: image-text-to-text base_model: thinkingmachines/Inkling-2-Mini base_model_relation: quantized tags: - mlx - mtplx - apple-silicon - mac - macos - inkling - inkling-2-mini - inkling-2 - thinking-machines - local-llm - coding - vision - moe - nvfp4 - 8-bit - speculative-decoding - multi-token-prediction - mtp - m5 - m4 - m3 --- **[MTPLX](https://mtplx.com): the fastest way to run Inkling 2 Mini on a Mac. MTPLX is the project that brought MTP (multi-token prediction) to the Mac.** # Inkling 2 Mini Optimized Speed **Closer to the original weights: 8-bit attention, with vision and speculative decoding.** Inkling 2 Mini (Inkling-2-Mini) is Thinking Machines Lab's open-weights model for coding, agents and images: 26.4 billion parameters with 3.4 billion active for each token, and a context window of up to 1M tokens, according to its model card. This pack runs it on [MTPLX](https://mtplx.com), the Mac app and command line for local models on Apple Silicon. MTPLX drafts several tokens ahead with the model's own draft head and checks them all in one pass of the full model, so every answer keeps the model's own distribution and arrives sooner. The whole vision tower is in the pack: it reads screenshots, diagrams and photos. Optimized Speed stays closer to the original weights than Bare Speed: 8-bit attention and output head, the official 4-bit experts, and the original embedding, for 1.2 GB more than Bare Speed (17.2 GB to download). MTPLX offers it on M3, M4 and M5 Macs with 32 GB or more, from the MacBook Air to the Mac Studio; M1 and M2 Macs with 32 GB or more get its FP16 build. ## Measured on MTPLX 2.13 (22 November 2026) MacBook Pro M5 Max with 128 GB, the model's own sampler (temperature 1.0, top-p 1.0, top-k off). The decode speed is the pack's recorded peak, as its row says. The first token and prefill are on a new 4,142-token coding prompt through `mtplx serve`, fans at maximum, macOS thermal pressure nominal, one run, on the release build, timed at the client. Long sessions on a hot Mac run slower than the peak. | Run | Result | |---|---| | Decode speed, peak: the fastest recorded answer, 166 tokens in the 2.13 app (macOS thermal pressure nominal) | 123.8 tok/s | | First token on a new 4,142-token prompt (one run, on the release build) | 1.73 s, prefill at 2,397 tok/s | | Same top token as the official weights, 256 positions after a 4,142-token prompt | 247 of 256 (96.5%), mean KL divergence 0.0195 | | Loss on 6,140 tokens of real code and prose, against the official weights | -0.0007 nats a token (standard error 0.0031, within noise) | | Executable coding tests (3 tasks, 2 seeds each, temperature 1.0) | 6 of 6 pass | | A screenshot of a failing test | read the test's name and both counts | | A tool-call turn | called the requested tool with the city the user named | | Peak memory serving a 4,142-token prompt | 19.5 GiB | Every row, its conditions and its source: [mtplx.com/models/inkling-2-mini/](https://mtplx.com/models/inkling-2-mini/). ## The fastest way to run Inkling 2 Mini on a Mac ### Inkling 2 Mini tokens per second: MTPLX, mlx-serve and oMLX Is MTPLX faster than mlx-serve and oMLX on Inkling 2 Mini? On decode speed, yes, in every test. On the same official weights MTPLX averages 85.0 tok/s against 73.8 for mlx-serve and 57.6 for oMLX. With each engine on its own fast pack it averages 97.1 tok/s against 85.7 and 68.9. All three engines on the same official Inkling 2 Mini weights (20.2 GB; in MTPLX that is the Optimized Quality pack), decode speed in tokens per second: | Test | MTPLX 2.13.2 | mlx-serve 26.11.4 pre-release | oMLX 0.8.3 | |---|---:|---:|---:| | Coding prompt, 4,142 tokens: first request after load | **96.2** | 79.0 | 62.9 | | Coding prompt, 4,142 tokens: repeat request | **90.5** | 73.9 | 57.6 | | Short prompt, 558 tokens | **75.0** | 72.3 | 56.8 | | Long answer, 1,500 tokens | **78.1** | 70.1 | 53.0 | | Average of the four tests | **85.0** | 73.8 | 57.6 | Each engine on its own fast pack (MTPLX Optimized Speed 17.2 GB, the mlx-serve 8-bit pack 18.7 GB, the oMLX oQ4e pack 16.9 GB), decode speed in tokens per second: | Test | MTPLX 2.13.2 | mlx-serve 26.11.4 pre-release | oMLX 0.8.3 | |---|---:|---:|---:| | Coding prompt, 4,142 tokens: first request after load | **97.7** | 83.2 | 66.3 | | Coding prompt, 4,142 tokens: repeat request | **101.2** | 85.6 | 74.9 | | Short prompt, 558 tokens | **95.0** | 90.5 | 69.8 | | Long answer, 1,500 tokens | **94.6** | 83.5 | 64.7 | | Average of the four tests | **97.1** | 85.7 | 68.9 | Measured on 23 November 2026 on one MacBook Pro M5 Max with 128 GB. One stream at the model's own sampler (temperature 1.0, no top-p, no top-k), each engine through its own server at its defaults, alternated across server starts, the same prompts and seeds (29, 31 and 37) for all three, 256-token answers except the 1,500-token answer, every run starting and ending at macOS thermal pressure nominal. Each figure is the mean of 2 to 9 runs. Where MTPLX is behind is the time to the first token: on the official weights a new 4,142-token prompt gets its first token in 1.53 s on mlx-serve, 1.78 s on MTPLX and 2.54 s on oMLX, and a repeat request in 0.19 s, 0.81 s and 0.21 s. The lowest and highest run of every test and the full method: [MTPLX, mlx-serve and oMLX compared on Inkling 2 Mini](https://mtplx.com/compare/mlx-serve-vs-omlx-vs-mtplx/). MTPLX is the fastest way to run Inkling 2 Mini on a Mac. On the same MacBook Pro M5 Max with a new 4,142-token coding prompt, Inkling 2 Mini Bare Speed on MTPLX shows its first token in 1.69 s against 2.83 s for oMLX and 2.26 s for plain mlx-lm, reads the prompt at 2,466 tok/s against 1,460 and 1,829, and then decodes 1.6 times as fast as oMLX and 2.8 times as fast as plain mlx-lm. | Engine and pack | First token | Prefill | |---|---:|---:| | MTPLX, Inkling 2 Mini Bare Speed | 1.69 s | 2,466 tok/s | | MTPLX, Inkling 2 Mini Optimized Speed | 1.73 s | 2,397 tok/s | | MTPLX, Inkling 2 Mini Optimized Quality | 1.84 s | 2,257 tok/s | | oMLX with its own draft head, official weights | 2.83 s | 1,460 tok/s | | plain mlx-lm, official weights, no draft | 2.26 s | 1,829 tok/s | Measured on one MacBook Pro M5 Max with 128 GB on 22 November 2026, each engine through its own server with a fresh server for each run, the same 4,142-token prompt, temperature 1.0, top-p 1.0, top-k off and reasoning effort medium, three seeds (29, 31 and 37) taken in turn across the engines, every run starting and ending at macOS thermal pressure nominal. First token and prefill (the prompt's tokens over the first-token time) are timed at the client on the new prompt, and the decode ratio compares each engine's mean decode on a second request with that prompt cached; each figure is the mean over the runs (Inkling 2 Mini Optimized Quality: seeds 29 and 31, as the other run did not meet these conditions); Inkling 2 Mini Optimized Speed has no run on that sheet and is shown from one run on the release build. MTPLX 2.13.0. oMLX 0.8.0 (commit a9e23054) with its own draft head, and plain mlx-lm (commit 0c4c9919) with no draft, both on the official thinkingmachines/Inkling-2-Mini weights (revision 6e7c8248) with MLX 0.32.4. ## Which pack for my Mac MTPLX chooses for you: the app and `mtplx start` read your chip and memory, offer only the packs that fit, and size the context to your Mac. This is what they offer: | Your Mac | Inkling 2 Mini pack to use | Also fits | This pack's context | |---|---|---|---| | 8 GB, M3, M4 or M5 | None fits. MTPLX recommends Qwen 3.5 4B Optimized Speed. | | does not fit | | 16 GB to 18 GB, M3, M4 or M5 | None fits. MTPLX recommends Bonsai 2 27B Optimized Speed. | | does not fit | | 24 GB, M3, M4 or M5 | Inkling 2 Mini Bare Speed | none | not offered on this Mac | | 32 GB, M3, M4 or M5 | Inkling 2 Mini Bare Speed | Optimized Speed, Optimized Quality | 135,168 tokens | | 36 GB, M3, M4 or M5 | Inkling 2 Mini Bare Speed | Optimized Speed, Optimized Quality | 212,992 tokens | | 48 GB, M3, M4 or M5 | Inkling 2 Mini Bare Speed | Optimized Speed, Optimized Quality | 405,504 tokens | | 64 GB, M3, M4 or M5 | Inkling 2 Mini Bare Speed | Optimized Speed, Optimized Quality | 716,800 tokens | | 96 GB to 512 GB, M3, M4 or M5 | Inkling 2 Mini Bare Speed | Optimized Speed, Optimized Quality | 1,048,576 tokens | | 8 GB, M1 or M2 | None fits. | | does not fit | | 16 GB to 24 GB, M1 or M2 | None fits. MTPLX recommends Qwen 3.5 9B Optimized Speed FP16. | | does not fit | | 32 GB to 192 GB, M1 or M2 | Inkling 2 Mini Bare Speed FP16 | Optimized Speed FP16, Optimized Quality FP16 | use the FP16 build | The context is the longest conversation MTPLX admits for this pack on that much memory; the model itself goes up to 1,048,576 tokens. ## How it is built | Part | Stored as | Size | |---|---|---| | Experts (8 of 128 used for each token) | NVFP4, all 24 layers | 13.76 GB | | Attention projections | 8-bit groups of 64 | 0.69 GB | | Output head | 8-bit groups of 64 | 0.49 GB | | Embedding | BF16 | 0.93 GB | | Vision tower | BF16 | 0.64 GB | | Draft head (multi-token prediction) | BF16 | 0.64 GB | Download 17.2 GB. Sampling follows the model's own settings: temperature 1.0 over the whole distribution (top-p 1.0, no top-k). The draft head proposes tokens and the full model checks them, accepting each by the probability-ratio rule, so the output follows the model's own distribution at any temperature. ## Use it **Mac app:** download MTPLX at [mtplx.com](https://mtplx.com), open it and pick **Inkling 2 Mini Optimized Speed**. The app checks your chip and memory, downloads the pack, starts it, and opens Pi, OpenCode or Hermes on it with one click. **Command line:** ```bash brew install youssofal/mtplx/mtplx # or: python3 -m pip install mtplx mtplx pull Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed mtplx start opencode --model Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed ``` `mtplx start` also opens `pi` and `hermes`. For any other client, `mtplx serve --model Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed` serves the OpenAI and Anthropic APIs on `127.0.0.1:8000`. **Siblings:** [Bare Speed](https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Bare-Speed), [Optimized Quality](https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality). For M1 and M2 Macs: [Bare Speed FP16](https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Bare-Speed-FP16), [Optimized Speed FP16](https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed-FP16), [Optimized Quality FP16](https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality-FP16). Base model: [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) by Thinking Machines Lab, under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) and its [acceptable use policy](https://thinkingmachines.ai/model-acceptable-use-policy/). This pack changes only the precision listed under How it is built.