Inkling-2-Mini pi-adapted ร— MTPLX

Inkling-2-Mini-pi-MTPLX-Optimized-Quality

A fast, no-nonsense local agent for 32 GB and 64 GB Apple Silicon Macs (M3 / M4 / M5).

If you have an M4 Pro 64 GB (or any 32 GB+ Mac) sitting on your desk, this pack turns it into a genuinely capable local agent โ€” built to get real stuff done on your machine, from coding to automations and who knows what else. It takes ~19 GB on disk, peaks at 19.2 GB RAM (at 64K context, out of 1M native context), and runs at 44 tok/s with Multi-Token Prediction, leaving plenty of memory for everything else you're doing.

It combines four great pieces into one clean, ready-to-run pack:

  • Inkling-2-Mini (Thinking Machines Lab) โ€” a sharp, compact multimodal MoE base model with 1M native context (lean sliding-window attention on 20/24 layers) and strong tool use.
  • pi-adapted-preview (Harness Hub) โ€” a LoRA tuned specifically for pi, the minimal agent harness (also runs cleanly inside T3 Code via pi or any OpenAI-compatible client). It keeps tool loops tight, stops the model from wandering, and cuts wasted tokens in half.
  • MTPLX Optimized-Quality (Youssofal / MTPLX) โ€” native Apple Silicon inference with Multi-Token Prediction (MTP) that runs ~1.48ร— faster than standard autoregressive decoding while staying under 20 GB.
  • A lossless merge โ€” because MTPLX keeps the attention layers unquantized, we were able to bake the pi LoRA straight in without re-quantizing a single MoE expert or touching the MTP speedups. You get Q8_0 quality at almost half the memory and nearly twice the speed.

Merge script, starter script, and a reproducible public agent benchmark live in github.com/metaxito/inkling-pi-mtplx.

metaxito.com ยท Full leaderboard: 15 local variants ร— 20 agent tasks ยท GitHub ยท X


Quickstart (mtplx serve + pi / T3 Code)

Install MTPLX and serve straight from Hugging Face:

mtplx serve \
  --model metaxito/Inkling-2-Mini-pi-MTPLX-Optimized-Quality \
  --model-id inkling-pi-mtplx \
  --host 127.0.0.1 \
  --port 8080 \
  --no-auth \
  --no-stats-footer \
  --reasoning on \
  --reasoning-effort low \
  --batching-preset agent \
  --context-window 65536

Then point pi โ€” or T3 Code via its pi provider / any OpenAI-compatible harness โ€” at http://127.0.0.1:8080/v1 with model id inkling-pi-mtplx (reasoning: true).

Context & Disk: 19 GB on disk (18 GB weights + 606 MB MTP sidecar). Native context goes up to 1M tokens (1,048,576); 64K is a sweet spot for 32 GB Macs (19.2 GB peak RAM), and on 64 GB Macs you can easily push --context-window to 128Kโ€“256K+.

Small tip that makes a big difference: Keep --reasoning-effort low turned on. Switching reasoning off looks faster in raw tok/s, but on real multi-step tasks effort=low finished 26% faster in wall time because a quick thought before calling a tool prevents unnecessary retries.


Benchmarks (Apple M4 Pro, 64 GB)

In short: it's fast, sharp, and beat a bunch of other local combos we tried. Every variant and every single task, with raw JSON: metaxito.com/bench.

Benchmark Comparison on Apple M4 Pro 64 GB

20-Task Local pi Agent Eval + Blind Judge (Gemini 4 Neon)

Tested end-to-end through the real pi CLI across 20 multi-step tasks (bugfixes, multi-file refactors, security diff reviews, log triage, shell automation, and prompt-injection defense):

Configuration Engine Passed Blind Judge ร˜ (T8โ€“T20) Peak RAM Total Wall (T1โ€“T20) Tool Calls (T1โ€“T15) Output Tokens (T1โ€“T15)
This pack (effort=low) mtplx 2.13.3 20/20 9.73 (1-1-11 vs Q8_0) 19.2 GB 479.9 s 39 (1 err) 8,207
This pack (reasoning=off) mtplx 2.13.3 20/20 โ€” 19.1 GB 647.5 s 48 (1 err) 12,669
Stock MTPLX (Optimized-Quality, no LoRA) mtplx 2.13.3 20/20 9.73 19.2 GB 736.7 s 63 (1 err) 17,773
llama.cpp Q8_0 + pi-LoRA (effort=low) llama-server 20/20 9.75 34.3 GB 912.3 s 39 (2 err) 8,419
OG Inkling-2-Mini Q8_0 Base (no LoRA) llama-server 19/20 9.75 (excl. T1) 36.8 GB 1,110 s 45 (2 err) 9,809
Qwen3.6-35B-A3B (reasoning=on) llama-server 18/20 7.25 26.8 GB 504 s 46 (2 err) 13,373
Qwen3.8-27B Q8_0 + pi-LoRA (reasoning=off) llama-server 19/20 9.00 38.0 GB 1,616 s 41 (2 err) 5,658

The short version:

  • Same quality as 8-bit Q8_0 + pi-LoRA: Blind LLM-as-a-Judge (Gemini 4 Neon, AB/BA position-swapped, 100% swap consistency across 13 open-ended tasks) tied 1โ€“1โ€“11 (9.69 vs 9.69) โ€” while this pack uses 15.1 GB less RAM and finishes 47% faster.
  • 35% faster than stock MTPLX (479.9 s vs 736.7 s), with 38% fewer tool calls (39 vs 63) and 54% fewer output tokens (8,207 vs 17,773).
  • 44.04 tok/s with MTP depth=3 vs. 29.73 tok/s autoregressive (1.48ร— speedup, verified via mtplx forge verify --stamp).

Public Agent Bench v2 & v3: With Hands, in pi

Public Agent Bench v2 & v3

  • Hard Suite v3 (P16โ€“P25): the Itopi Full Stack (this pack + itopi_harness proxy) solves 6/10 vs. 4/10 for stock MTPLX (+20 pp) in 29.9 % less wall time.
  • Bench v2 (P1โ€“P15): the pi LoRA alone takes stock from 14/15 to 15/15; the proxy brings wall time down to 423.8 s (โˆ’39.5 %).
  • Reasoning sanity: GPQA Diamond 0.768, AIME 2025 0.767, AIME 2026 0.867.

Caveat (maxTokens=4096): v3 was run with a 4,096-token output cap; on P18 and P25 all three models hit it, so those failures say little about model ability. run_public_bench.py now defaults to --max-tokens 16384.

Raw numbers (v2, v3 & GPQA/AIME)

Public Agent Bench v2: 15 Tasks, With Hands (3-Stage Ablation)

15 deterministic, sandbox-verified agent tasks run through the real pi CLI with tools (P1โ€“P5 core, P6โ€“P10 stateful coding with hidden tests, P11โ€“P15 agentic stress). Same base model, same engine (mtplx 2.13.3), same reasoning=low. Each stage adds one layer:

Stage Stack Passed Wall Time ฮ” Wall vs. Stock Tool Calls (Err) Out Tokens
1 Inkling-2-Mini Stock MTPLX 14/15 700.7 s โ€” 61 (3) 20,963
2 + pi LoRA (this pack) 15/15 556.0 s โˆ’20.7 % 59 (6) 23,463
3 + itopi_harness proxy (Itopi Full Stack) 15/15 423.8 s โˆ’39.5 % 55 (2) 15,227

Stock MTPLX timed out on P7 (Ledger CLI, 180 s); the pi LoRA unlocks it. The itopi_harness proxy then cuts output tokens by 35 % vs. Stage 2. Local comparison on the same suite: Tess-4.5-26B-A3B NVFP4 14/15 in 895.3 s (2.1ร— slower than the full stack).

Public Agent Bench v3: Hard Suite (--suite hard, P16โ€“P25)

The v2 suite saturates (all top local stacks score 14โ€“15/15), so v3 adds 10 harder multi-file tasks with hidden property, exploit and complexity tests (WAL crash recovery, DAG scheduler, security file server, thread-safe rate limiter, mini SQL engine and more). pi with tools, 240 s per-task timeout, Apple M4 Pro 64 GB:

Stack Passed Wall Time ฮ” Wall vs. Stock Tool Calls (Err) Out Tokens
Itopi Full Stack (pi LoRA + itopi_harness proxy) 6/10 (60 %) 1,261 s โˆ’29.9 % 62 (7) 35,286
Inkling Stock MTPLX 4/10 (40 %) 1,798 s โ€” 43 (0) 30,524
Tess-4.5-26B-A3B NVFP4 3/10 (30 %) 1,948 s +8.4 % 34 (0) 22,999

The full stack gains +20 percentage points over stock and unlocks P17 (WAL crash recovery), P21 (security file server) and P22 (thread-safe sliding-window limiter).

Caveat (maxTokens=4096): On P18 and P25 all three models stopped with stopReason="length" at the 4,096-token output cap while writing large single-file implementations, so those two failures say little about model ability. A trace audit found zero grader false positives across all 30 runs. run_public_bench.py now defaults to --max-tokens 16384; v3 numbers above were produced with the old cap and will likely improve on re-run.

Overnight Sanity Baseline (Reasoning Benchmarks)

Full-length runs of this pack (reasoning=low, 64K context) on public reasoning benchmarks, as a sanity baseline for general reasoning ability:

Benchmark Samples Score
GPQA Diamond 792 / 792 0.768
AIME 2025 30 / 30 0.767
AIME 2026 30 / 30 0.867 (26/30)

AIME 2026 note: the first pass scored 28/30 attempts with 2 requests lost to 180 s API timeouts (#28, #29); both were re-run with a 600 s timeout and answered correctly.


Hardware & Limitations

  • Apple Silicon M3 / M4 / M5 with 32 GB+ unified memory (~19 GB on disk, ~19.2 GB peak RSS at 64K context). M1/M2 Macs need an FP16 sibling build via mtplx forge fp16.
  • Tuned for pi-style agent loops: The merged LoRA shines in minimal tool-calling harnesses like pi (standalone or inside T3 Code). For pure freeform chat or very different tool schemas, compare against stock Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality.
  • Vision: All vision weights are preserved bit-identically from the upstream pack, though our agent benchmarks focused on text, code, and shell tool use.

Credits & License

Released under the Apache-2.0 license. Huge thanks to the teams and builders who made every layer of this stack possible:


Under the Hood (Technical Details & Provenance)

For folks who want the exact tensor mechanics and checksums:

  • In Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality, all 96 language-model attention projections (wq_du, wk_dv, wv_dv, wo_ud across layers 0..23) are stored unquantized in BF16.
  • harness-hub/Inkling-2-Mini-pi-adapted-preview (r=32, lora_alpha=64, scale=2.0, 53.5 MB) adapts exclusively those exact 96 attention projections (1:1 tensor rename, zero permutation).
  • Merging W_new = W_bf16 + (B @ A) * scale in FP32 and casting back to BF16 in-place leaves every quantized component bit-identical:
    • Routed MoE experts (NVFP4 / MXFP8): untouched
    • Vision tower (422 tensors): untouched
    • DSpark Multi-Token Prediction sidecar (mtp.safetensors, depth=3): untouched

Checksums & Revisions

  • Base checkpoint: thinkingmachines/Inkling-2-Mini (revision 6e7c8248f75265bdd4fbab5273304243b5d8c2cb)
  • Merged adapter: harness-hub/Inkling-2-Mini-pi-adapted-preview (adapter_model.safetensors SHA-256: 772f1b9a4585448106929b5c3a8540ef1a523d85c2a4694f37d8d5380bb3c903)
  • Merged weights (model-00001-of-00001.safetensors) SHA-256: 09d12b6d8a19e04fb5a8b5dd846419378ca808437e8878f151193e89458ff26c
  • MTP sidecar (mtp.safetensors) SHA-256: 7c3b651317f01f73bcf4e1dceba66ef8b7e1a1eac6bc171e882e690a4b10a1d2
  • Full file checksums are included in SHA256SUMS.
Downloads last month
75
Safetensors
Model size
26B params
Tensor type
F32
ยท
BF16
ยท
F8_E4M3
ยท
U8
ยท
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for metaxito/Inkling-2-Mini-pi-MTPLX-Optimized-Quality