Skip to content
项目

关于

针对 Qwen 和 Nemotron 优化的极速 Apple Silicon 推理引擎,兼容 OpenAI 和 Anthropic API。由 nace.ai 的开发者打造。

人工智能与机器学习

这些数字如何统计

可以做什么

  • 🏆 Fastest decode in 33 of 38 Mac and model pairs: 351 tok/s on Qwen3.6 35B (M5 Max) (numbers, how)
  • 🤖 Runs your coding agent: kapitsa claude, codex, opencode, pi, hermes, aider, goose, copilot
  • 🗄️ Big models on small Macs: 180B at 61 tok/s on a 48 GB M5 Pro
  • 💾 No waiting after a restart: a 16K follow-up starts in 0.16 s, not 17 s, on an M4 Pro (numbers)

实测星标增长

24小时
+9
7天
+46
15天
+119
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Kapitsa writes 351 tok/s on Qwen3.6 35B-A3B on an M5 Max, against 138-281 for MLX, Ollama, llama.cpp, oMLX, mlx-serve and Splash.

Kapitsa is an inference engine for Apple silicon that runs Qwen, Nemotron and Recursive's Flint models locally, built for coding agents. It starts opencode, Claude Code, Codex, Pi, Hermes, aider or Goose on a local model, and serves OpenAI and Anthropic APIs.

Quickstart · What's new · Features · Benchmarks · CLI · Models · How KFlash works · Docs · Xcode 26 guide · 日本語

Quickstart

Requirements: a Mac with Apple silicon (M1 or newer) and macOS 14 Sonoma or later.

Limits: Apple silicon only: no Linux or Windows. Flint, the four text-only Nemotrons, Clover, Ornith, Hy4-flash, Inkling-2-Mini and the 35B's 16gb build read text only, not images (which models read images).

brew install nace-ai/tap/kapitsa
# or: curl -fsSL https://raw.githubusercontent.com/nace-ai/kapitsa/main/install.sh | bash
kapitsa opencode --model 35b    # also: claude, codex, pi

On a 16-24 GB Mac use --model 9b, or 4b for the quickest replies.

🔥 What's new

  • [2026/11] 🐉 Tencent's Hy4-flash runs on a 128 GB M5 Max at 36 tok/s, and still 35 tok/s at 32K context: mlx-lm runs out of memory on the same 4-bit weights on that Mac, and on the 3.1-bit pack it decodes at 21 tok/s short and 4.4 at 32K; prefill 970 tok/s with --profile fast (kapitsa serve --model hy4, or kapitsa opencode --model hy4; numbers, how).
  • [2026/11] 🎯 Nace quants now cover Qwen, Hy4, Inkling and DeepSeek, led by Hy4-flash's lowest measured KL at 122.58 GB or smaller (downloads and results).
  • [2026/11] ⚡ Qwen3.8-Flash-Next 180B writes 6% faster on an M5 Max, with the same tokens: greedy decode 107.3 → 113.9 tok/s after three verify-kernel changes (numbers).
  • [2026/10] 🍀 DiffuSpace's Clover-35B-A3B, a block-diffusion MoE, writes at 304 tok/s on an M5 Max: kapitsa serve --model clover (numbers, how).
  • [2026/10] 🗄️ A 180B model runs on a 48 GB Mac: Qwen3.8-Flash-Next's Q2_0 experts stream from the SSD (numbers).
  • [2026/10] 🏆 The fastest decode in 33 of the 38 model and Mac pairs measured against nine engines (poster).

Features

  • 🏆 Fastest decode in 33 of 38 Mac and model pairs: 351 tok/s on Qwen3.6 35B (M5 Max) (numbers, how)
  • 🤖 Runs your coding agent: kapitsa claude, codex, opencode, pi, hermes, aider, goose, copilot
  • 🗄️ Big models on small Macs: 180B at 61 tok/s on a 48 GB M5 Pro
  • 💾 No waiting after a restart: a 16K follow-up starts in 0.16 s, not 17 s, on an M4 Pro (numbers)
  • 🎯 Nace quants: MLX and GGUF downloads for Qwen, Hy4, Inkling and DeepSeek (quality and downloads)
  • 🔌 OpenAI and Anthropic APIs: plus a chat page, on 127.0.0.1:8000
  • 🧠 GPU and Neural Engine together: prefill hands part of its work to the Neural Engine
  • 🖥️ Several Macs, one model: a Mac that can't hold a model uses one that can (how)

Nace quants

Download Nace quants for Qwen, Hy4, Inkling and DeepSeek in MLX and GGUF. Each model card has quality results and runtime instructions.

Hy4

Hy4-flash at 122.58 GB has lower KL than every measured file at its size or smaller. Our IQ4_XS-4.48bpw GGUF scores 0.0946 KL against native Hy4-flash on 5,621 token positions across 11 texts. KL measures how far the next-token probabilities move from the reference model. Lower is closer. References and corpora differ by model, so compare KL only within a row or matched evaluation.

Model Download Weight size
Hy4-flash GGUF: IQ3_XXS · Q3_K_M · IQ4_XS-4.48bpw · Q4_K_M 87.8 to 127.22 GB
Hy4-flash MLX 3.1bit 85.5 GB
Hy4-flash MLX 3.8bit 103.65 GB
Hy4-flash MLX 4.6bit 125.20 GB
Hy4-flash MLX 4bit 131.20 GB
Hy4 MLX 4.6bit 456.3 GB

Sizes include required Engram tables. The Hy4-flash MLX 4bit row counts complete text-model weight files. Its catalog download is 133.83 GB. Full Hy4 includes nontext weights and keeps every routed expert. Its card includes a Linux CUDA runner. Kapitsa's hy4 alias runs Hy4-flash; see supported models.

Qwen

Closer to BF16 across all five model sizes. Published MLX comparisons below use each model card's evaluation. Sizes count language-model weights, excluding vision and MTP. The KL column reads other pack → Nace.

Model Nace, GB Compared with, GB KL, lower is closer
4B 2.37 lmstudio-community, 2.37 0.070 → 0.048
9B Q4 5.29 mlx-community, 5.04 0.0814 → 0.0301
27B 15.13 mlx-community, 15.13 0.054 → 0.035
35B-A3B 19.51 mlx-community, 19.51 0.096 → 0.059
Flash-Next 180B-A7B Q4 105.20 mlx-community, 110.62 0.249 → 0.067

9B Q4 is closer to BF16 with 5% more language-model weight, 5.29 vs 5.04 GB.

For Flash-Next Q4, use the runtime in its model card. Kapitsa's flash-next alias downloads the plain 4bit pack.

The 9B Q5 reaches 0.0097 KL at 6.213 GB, closer to BF16 than the larger OptiQ and Brooooooklyn packs. The Flash-Next IQ4_XS GGUF has lower KL than all 13 measured GGUF rivals in its size band at 512 tokens, and all eight measured at 128K.

Qwen downloads
Model MLX GGUF
Qwen3.5-4B MLX
Qwen3.5-9B MLX · 4bit · Q5 GGUF
Qwen3.8-27B MLX · 3bit · 4bit · Q5 · 8bit GGUF
Qwen3.6-35B-A3B MLX · Q5 GGUF
Qwen3.8-Flash-Next 180B-A7B MLX · 4bit GGUF

Also available: Qwen3.8-27B NVFP4 for NVIDIA Blackwell GPUs. For Kapitsa downloads, use the model aliases. Earlier Kapitsa MLX task scores.

Inkling 2 Mini

Both releases score 0.004 mean KL against the original checkpoint with BF16 activations on the held-out 2,040-position split.

Download Weight size
NVFP4 GGUF 19.103 GB text backbone
MLX 5.8bit 18.932 GB text tensors; 20.234 GB full runtime download

Use the pinned CUDA llama.cpp build for GGUF, or the pinned mlx-lm port for MLX, as linked in their cards.

DeepSeek V4.1 Flash Coding

37 of 38 LiveCodeBench v6 problems solved, level with ISTA Coder on the same two seeds.

Our coding-specialized pruned GGUF is 71.8 GB of main weights plus a required 110.6 GB Engram table. Use the model card's llama.cpp runtime and download instructions.

Drex decision models

The Drex decision models run through kapitsa-systemone. These commands import the v1 Q8_0 GGUF to Kapitsa's affine 8-bit layout and need Kapitsa v0.2.25 or later (an affine Q4 checkpoint is in the guide):

brew install nace-ai/tap/kapitsa
kapitsa import /path/to/drex-max-v1-Q8_0.gguf --name drex-max-v1
kapitsa-drex-pointer /path/to/drex-max-v1-Q8_0.gguf ~/.cache/kapitsa/models/drex-max-v1/pointer.bin
kapitsa-systemone --model ~/.cache/kapitsa/models/drex-max-v1 --port 8000 --context 2048

The guide has the request, the memory a longer context needs and the encoding.

Drex GGUF files: drex-dlm-Q8_0 · drex-v1.5-Q8_0 · drex-max-v1-Q8_0 · drex-v2.0-Q8_0 · drex-v2.0-Q4_K_M, and the affine Q4 checkpoint drex-max-v1-affine-q4.

Benchmarks

Kapitsa has the fastest decode in 33 of the 38 model and Mac pairs measured against nine engines (how each number was measured).

Poster of prefill / decode speed for Kapitsa and nine other engines on a MacBook Pro M5 Max, M5 Pro, M4 Pro, M3 Pro and M1 Pro; the numbers are in the poster and in the Speed on each Mac section's tables

Each cell reads prefill / decode in tokens per second, from a 4K-token prompt and a 512-token answer at T 0.6 (Flint at its card's T 1.0). The M5 Pro's Flash-Next 180B Q2 row is a 256-token answer at T 0 on that run's own 4,074-token prompt, and its Kapitsa column is Kapitsa with KFlash against plain Splash 1.5.0: a tie, the two engines' ranges overlap (record). Footnotes, run dates and flags: docs/benchmarks.md.

The poster's numbers, and the models it leaves out, are in each Mac's table under Speed on each Mac. Every recorded run, with its Mac, model, prefill and decode speed, is in the benchmark table. Measure your Mac: kapitsa bench --submit adds it to the community results and the community leaderboard. Another engine faster on your Mac? kapitsa bench compare ranks every engine you have installed, and --report writes a Markdown report.

How Kapitsa's speed holds from 1K tokens of context to each model's limit, up to 512K, every model on the M5 Max (log scale; the table). The decode chart is the poster's 512-token coding answer written after a document of each length: with a document in front of it a drafter guesses fewer tokens right, so a drafted model's 1K point can sit well below its poster cell (the 27B: 82 against 143), while Flint, which drafts nothing, matches its cell:

Kapitsa's prefill speed in tokens per second on a MacBook Pro M5 Max, from 1K-token prompts to each model's context limit (128K to 512K), one line per model: Qwen3.6 35B-A3B 4,674 at 1K to 1,114 at 256K; Clover 35B-A3B 4,688 at 1K to 1,894 at 128K; Qwen3.8 27B 743 at 1K to 343 at 256K; Flash-Next 180B 1,511 at 1K to 1,087 at 256K; Lightning 30B 5,205 at 1K to 1,131 at 512K; Super-VL 120B 956 at 1K to 546 at 512K; Bolt 74B 916 at 1K to 746 at 256K; Dory1.0 4B 3,307 at 1K to 700 at 256K; Flint 40B 4,266 at 1K to 1,241 at 256K. Kapitsa's decode speed in tokens per second on a MacBook Pro M5 Max after 1K tokens of context to each model's context limit (128K to 512K), one line per model: Qwen3.6 35B-A3B 335 at 1K to 136 at 256K; Clover 35B-A3B 294 at 1K to 181 at 128K; Qwen3.8 27B 82 at 1K to 43 at 256K; Flash-Next 180B 97 at 1K to 76 at 256K; Lightning 30B 241 at 1K to 116 at 512K; Super-VL 120B 97 at 1K to 44 at 512K; Bolt 74B 142 at 1K to 91 at 256K; Dory1.0 4B 123 at 1K to 23 at 256K; Flint 40B 258 at 1K to 62 at 256K.

How it works

How Kapitsa works: DFlash2 vs KFlash. DFlash2, the drafter's chain, as Splash, oMLX and mlx-serve run it: the drafter guesses the next 7 tokens, the big model checks them in one pass and keeps them up to the first wrong guess (return a, 2 tokens). KFlash, Kapitsa's: in the same one pass the big model checks a best-first tree of the drafter's top candidates in 8 rows; where the drafter is unsure its runner-ups ride along, and the longest branch the big model agrees with is kept (return a + b, 4 tokens). Same output as plain decoding, tree size measured on each Mac, 8-17% more tokens per pass on short prompts. Below: GPU, hand-written Metal code; Neural Engine, helps read long prompts on the 4B, 27B, Bolt and Super-VL; Memory, keeps conversations ready, up to 4 at once.

Kapitsa decodes with KFlash. A draft model such as DFlash2 guesses the next seven tokens, with a few candidates for each one. Engines that run it as published (Splash, oMLX, mlx-serve) check one chain of guesses and stop at the first wrong one. KFlash checks a best-first tree of the drafter's candidates in the same pass, so where the drafter hesitates, its runner-ups are checked too and more tokens survive each pass. The tree's size comes from what a verify row costs on your Mac, measured there, and it changes no output: the big model checks every token. It runs on z-lab's DFlash, DFlash2, and NVIDIA's DSpark and LiLiCorr as published, and on our retrain of the 27B's DFlash2 with a 16-row block. How KFlash works

CLI

kapitsa serve                   # chat + OpenAI/Anthropic APIs at http://127.0.0.1:8000
kapitsa claude                  # Claude Code on Kapitsa
kapitsa doctor                  # this Mac's GPU and memory, and which models fit it
kapitsa cluster                 # the Macs on this network that run Kapitsa, and their models
kapitsa bench                   # benchmark this Mac, share it with the community
kapitsa bench compare           # the same test against the other engines installed here
kapitsa pull 27b                # download a model without starting it
kapitsa list                    # downloaded models and their size
kapitsa rm 27b                  # delete a downloaded model
kapitsa import model.gguf       # import a supported Qwen, Flint or unsplit Inkling-2 GGUF
kapitsa update                  # update now (it also updates itself)

--model picks the model and its precision (35b:6bit). kapitsa <command> --help has the options. A Mac that cannot hold a model whole uses another Mac on the network that runs it, and two Macs that would each stream Flash-Next pair to hold it in memory between them (Several Macs); --private keeps a server to its own Mac. Usage guide

In-process SDK

The opt-in C ABI SDK lets desktop clients reuse a loaded model, stream and cancel requests. See its build instructions and host-process lifetime limitations. The Node.js / TypeScript binding provides async calls over the same C ABI.

Roadmap — what is open in the tracker: KV cache quantization (#547).

Models

The most precise variant of each catalog model that runs on a Mac of each size. Which Hugging Face repo each alias downloads, with its pinned revision, draft model and size: docs/models.md. Sizes, download times and draft models: Models and downloads; kapitsa doctor prints the same for this Mac.

Model 16 GB 24 GB 32 GB 36 GB 48 GB 64 GB 128 GB
Qwen3.5-4B · 4b BF16 BF16 BF16 BF16 BF16 BF16 BF16
Qwen3.5-9B · 9b 4-bit 4-bit 4-bit 4-bit 4-bit 4-bit 4-bit
Qwen3.8-27B · 27b — 4-bit† 5-bit 5-bit 8-bit 8-bit BF16
Qwen3.6-35B-A3B · 35b 2-bit† 2-bit 4-bit 4-bit 6-bit 8-bit BF16
Qwen3.8-Flash-Next 180B-A7B · flash-next — — — — 2-bit + SSD 2-bit 4-bit
Nemotron 3.5 Lightning 30B-A3B · lightning — NVFP4† NVFP4 NVFP4 NVFP4 NVFP4 NVFP4
Nemotron 3.5 Bolt 74B-A9B · bolt — — 2-bit† 2-bit 2-bit 2-bit 2-bit
Nemotron 3.5 Super-VL 120B-A12B · super-vl — — — — — — NVFP4
Recursive Flint 40B-A2.5B · flint 2-bit† 2-bit 2-bit 4-bit 4-bit 4-bit 4-bit
Clover-35B-A3B-Preview · clover — — 4-bit 4-bit 4-bit 4-bit 4-bit
Hy4-flash · hy4 — 4-bit + SSD 4-bit + SSD 4-bit + SSD 4-bit + SSD 4-bit + SSD 4-bit
Inkling-2-Mini · inkling2 — — NVFP4 NVFP4 NVFP4 NVFP4 NVFP4
Nemotron Dory1.0 4B · dory BF16 BF16 BF16 BF16 BF16 BF16 BF16
Nemotron 3 Nano 4B · nano-4b BF16 BF16 BF16 BF16 BF16 BF16 BF16
Nemotron Nano 9B v2 · nano-9b NVFP4 NVFP4 NVFP4 NVFP4 NVFP4 NVFP4 NVFP4
Drex 2.0 · kapitsa-systemone — — — Q4† Q4 Q8 Q8

The 9b pack is mixed 4/5-bit Nace Q4 on Macs with matrix units (M5 and newer), and legacy 4-bit Nace on other Macs, including M3 and M4.

Cells name the catalog's variant labels — 4bit, 5bit, 6bit, 8bit, bf16 and nvfp4, with 16gb, 24gb and Flash-Next's 64gb shown as 2-bit — that kapitsa serve <name>:<variant> takes, the most precise one that starts on that Mac at the bottom of its working-set range: weights, drafter, activations and 8K tokens of context. † needs the top of the range, about 80% of the RAM against 69% at the bottom; — nothing starts. Flash-Next's 48 GB cell is its Q2_0 pack with the experts the budget does not hold streamed from the SSD, and Drex 2.0's Q4 and Q8 are its release builds, served by kapitsa-systemone (decisions). The 24, 32 and 64 GB columns are kapitsa doctor's plan, and so is any cell in the 16, 36, 48 and 128 GB ones that differs from the default variant those Macs ran, usually 4-bit; kapitsa doctor prints the plan for this Mac.

Speed on each Mac

The catalog models measured on each Mac, against the engines that run them: one collapsed section per Mac, with a table for each model family. Decode is a 512-token coding answer at T 0.6 (Flint at its card's T 1.0), prefill a 4K-token prompt. Under each model's name are the weights Kapitsa ran; the other engines' weights and how each number was measured are in docs/benchmarks.md. Flint's speed from 1K to 128K tokens of prompt on the M5 Pro, against llama.cpp: bench/results/2026-10-24-flint-m5pro-context.

Each cell: prefill / decode, tokens/s (a lone number is decode: no prefill run) · 🟩 fastest decode · ≈ a decode tie with Kapitsa · small type: the decoding method (none: no speculative decoding) · × can't run on that Mac · — not measured

MacBook Pro (16-inch, 2026) · M5 Max · 128 GB · 10 models

Qwen and Nemotron

Model Kapitsa mlx‑serve oMLX Splash Ollama MTPLX MLX
(mlx-lm / mlx-vlm)
llama.cpp LM Studio
Qwen3.8-27B · 27b
dense · 4-bit, 20.2 GB
🟩 1126 / 144
KFlash · 7afb51d
792 / 128
DFlash2 · 26.10.3
902 / 92
DFlash2 · 0.7.3.dev2
1039 / 116
DFlash2 · 1.4.0
844 / 71
MTP · 0.40.11, MLX runner
848 / 73
MTP · 2.12.2
856 / 56
MTP · mlx-vlm 0.7.10
578 / 48
MTP · b11871
918 / 33
MLX runtime 1.13.1 (nax)
Qwen3.6-35B-A3B · 35b
MoE, 3B active · 4-bit, 22.1 GB
🟩 6539 / 351
KFlash · 39f20c8
4622 / 235
MTP · 26.10.3
3005 / 189
DFlash2 · 0.7.3.dev2
6386 / 281
DFlash2 · 1.4.0
3077 / 162
MTP · 0.40.11, MLX runner
4291 / 130
MTP · 2.12.2
4439 / 138
DFlash2 · mlx-vlm 0.7.10
2881 / 171
MTP · b11669
4672 / 136
MLX runtime 1.13.1 (nax)
Qwen3.8-Flash-Next 180B-A7B · flash-next
MoE, 7B active · 4-bit, 105.9 GB
🟩 1726 / 108
KFlash · af7d795
🟩 1720 / 108
26.10.2
1260 / 107
MTP · 0.7.1rc1
× 60
0.40.6
1263 / 88
MTP · 2.12.2
1030 / 77
MTP · mlx-vlm 0.7.8
842 / 96
b11669
×
Nemotron Dory1.0 4B · dory
looped dense · NVFP4, 3.2 GB
🟩 122
KFlash · 7f4e709
× × × × × 76
mlx-lm 0.32.3.dev3
9
b11551
×
Nemotron 3.5 Lightning 30B-A3B · lightning
hybrid MoE, 3B active · NVFP4, 22.9 GB
🟩 287
KFlash · 7f4e709
190
26.10.2
190
0.7.1rc1
× 153
0.40.6
131
2.12.2
139
mlx-lm 0.32.2
159
b11669
110
llama.cpp runtime 2.60.0
Nemotron 3.5 Bolt 74B-A9B · bolt
hybrid MoE, 9B active · 2/4/8-bit mix, 25.1 GB
🟩 1075 / 154
KFlash · 7f4e709
× 903 / 71
0.7.3.dev2
× × × 936 / 66
version not recorded
× ×
Nemotron 3.5 Super-VL 120B-A12B · super
hybrid MoE, 12B active · NVFP4, 76.4 GB
🟩 87
KFlash · 7f4e709
× 52
0.7.1rc1
× 64
0.40.6
44
2.12.2
46
mlx-vlm git main 73d366e
66
b11669
61
llama.cpp runtime 2.60.0

Recursive Flint

Model Kapitsa llama.cpp rec
Recursive Flint 40B-A2.5B · flint
MoE, 2.5B active · 4-bit, 22.6 GB
🟩 5770 / 265
KFlash
3827 / 130
Q4_1, b11871
2863 / 224
0.1.0

DiffuSpace Clover

Model Kapitsa
Clover-35B-A3B-Preview · clover
block-diffusion MoE, 3B active · 4-bit pack converted by tools/convert_clover.py, 19.5 GB (measured; the catalog's clover serves the same files)
🟩 5981 / 304
KFlash

Tencent Hy4-flash

Model Kapitsa MLX
(mlx-lm / mlx-vlm)
Hy4-flash
MoE, 512 experts, top-16 · 8-bit trunk, 4-bit experts, 133.8 GB with its Engram tables (nace-ai/Hy4-flash-MLX-4bit, a model folder: not in the catalog)
🟩 596 / 36
plain decoding
228 / 21
3.1-bit pack (the 4-bit one runs out of memory) · mlx-lm 0.32.2

Kapitsa's cells are the 2026-11-01 runs (main 7f4e709, results), each the median of three runs (Super-VL five) on AC power in High Power mode, Clover's in its own folder, Flash-Next's a 2026-11-04 re-run on main af7d795 after #921, #922 and #923, three runs the same way, greedy 113.9 against 107.3 on 2026-11-01 (results), and the 27B's a 2026-11-05 re-run on 7afb51d (the tree of main 87d7dd5: 0.2.29 with #964, #969 and #970), three runs the same way (results), and the 35B-A3B's a re-run on main 39f20c8 after #975 (its GPU prefill wavefront), three runs the same way (results). The other engines' 27B, 35B-A3B and Bolt cells are the 2026-10-25 session (each engine's latest release, macOS 26.4); llama.cpp's 35B-A3B cell and the other engines' Flash-Next, Lightning, Super-VL and Dory cells are the 2026-10-18 runs, not yet re-measured; rec's and llama.cpp's Flint cells are one block on 2026-10-26 (results). The build each cell ran is under its number; details in bench/results/2026-10-25-m5-max and its re-runs. Hy4-flash's cell is one kapitsa bench run on fearampgreed's MacBook Pro on the default profile, on 2026-11-20 at 21c5d9ce, #1360's head before its review commit (which changed only the expert store's sizing; on this Mac it still takes every expert) (results); its mlx-lm cell is the 3.1-bit pack on 2026-11-20, one run, since mlx-lm runs out of memory on the 4-bit pack on this Mac (head-to-head).

MacBook Pro (16-inch, 2026) · M5 Pro · 48 GB · 7 models

Qwen and Nemotron

Model Kapitsa mlx‑serve oMLX Splash Ollama MTPLX MLX
(mlx-lm / mlx-vlm)
llama.cpp LM Studio
Qwen3.8-27B · 27b
dense · 4-bit, 20.2 GB
606 / 77
KFlash
🟩 464 / 78
DFlash2 · 26.10.2
446 / 51
DFlash2 · 0.7.1rc1
674 / 72
DFlash2 · 1.4.0
470 / 40
MTP · 0.40.6
462 / 41
MTP · 2.12.2
421 / 32
MTP · mlx-vlm 0.7.8
322 / 30
MTP · b11669
118 / 17
MLX runtime 1.13.1
Qwen3.6-35B-A3B · 35b
MoE, 3B active · 4-bit, 22.1 GB
🟩 2802 / 201
KFlash
2494 / 156
MTP · 26.10.2
1619 / 144
DFlash2 · 0.7.1rc1
3514 / 181
DFlash2 · 1.4.0
1518 / 102
MTP · 0.40.6
2569 / 89
MTP · 2.12.2
2474 / 98
DFlash2 · mlx-vlm 0.7.8
1755 / 107
MTP · b11669
997 / 96
MLX runtime 1.13.1
Qwen3.8-Flash-Next 180B-A7B · flash-next
MoE, 7B active · Q2_0 experts streamed from the SSD
🟩 1218 / 61
KFlash · e67b764f
× × 1178 / ≈56
1.5.0
— × × 37 / 9
c7474afc
—
Nemotron Dory1.0 4B · dory
looped dense · NVFP4, 3.2 GB
🟩 70
KFlash
× × × × × 53
mlx-lm 0.32.2.dev0
13
version not recorded
×
Nemotron 3.5 Lightning 30B-A3B · lightning
hybrid MoE, 3B active · NVFP4, 22.9 GB
🟩 3141 / 159
KFlash
1728 / 115
MTP · 26.10.2
1938 / 124
MTP · 0.7.1rc1
× 2369 / 92
0.40.6
1743 / 101
2.12.2
1881 / 94
mlx-lm 0.32.2
1915 / 101
MTP · b11669
1479 / 72
llama.cpp runtime 2.60.0
Nemotron 3.5 Bolt 74B-A9B · bolt
hybrid MoE, 9B active · 2/4/8-bit mix, 25.1 GB
🟩 79
KFlash
× 39
0.7.1rc1
× × × 41
version not recorded
× ×

Recursive Flint

Model Kapitsa llama.cpp rec
Recursive Flint 40B-A2.5B · flint
MoE, 2.5B active · 4-bit, 22.6 GB
🟩 2691 / 149
KFlash
2072 / 92
b11804
2138 / 145
0.1.0

Qwen3.8-Flash-Next 180B-A7B does not fit in 48 GB, so both engines stream its experts from the SSD. With Q2_0 weights on both and Kapitsa's expert store pinned at 24 GB (the auto size here is about 29.9 GB, but four runs at that size were stopped at memory pressure), Kapitsa's prefill is behind on short prompts, level at 4K and 16K and 2.7% ahead at 32K: not the fastest everywhere (correction, 24 Oct: on Kapitsa's warm second leg alone its prefill is 13.5-14.5% behind at 1K, level at 4K and a few percent ahead at 16K and 32K; numbers and caveats). The Flash-Next 180B Q2 row's Kapitsa and Splash cells are a 2026-10-30 re-measure (record): Kapitsa at main e67b764f running KFlash against the plain Splash 1.5.0 release, both at --expert-memory 16G --idle-release off, interleaved K S K S, 5 legs per arm of 2 runs each, with the scripts of the 2026-10-27 run. Its decode is a 256-token answer at T 0, not this table's 512-token answer at T 0.6, counted from the first token to the last over 10 requests per engine; its 4K prefill is prompt tokens over time to first token on that run's own 4,074-token prompt, against this table's 4,133. Kapitsa read 61.3 decode (53.7-64.7) and 1,218 prefill (976-1,269) against Splash's 56.5 (51.9-60.2) and 1,178 (1,040-1,262): the ranges overlap, so by the rule registered before the run it is a tie, not a win. KFlash's interleaved A/B at --expert-memory 20G (29 Oct, more runs per arm) measured decode 1.101x and 4K prefill 1.004x the release, the same tokens as the release on 6 prompts × 22 runs (numbers). The llama.cpp cell is the 2026-10-27 four-engine run, PR #751 (record), 2 requests. Kapitsa's own engine ran in that record too, with MTP depth 2 and its expert store pinned at 24 GB, not sized from free memory: 847 prefill and 53.7 decode at T 0, but three of its legs were stopped at memory-pressure level 4, with up to 4.5 GB of swap, late in the leg (16K prefill or turn 2), so its 16K and turn-2 cells have 9 runs against 12. Ollama and LM Studio were not run on that Q2_0 pack, so their cells are dashes, and mlx-serve, oMLX, MTPLX and MLX have no pack of this model that fits 48 GB.

MacBook Pro (16-inch, 2024) · M4 Pro · 48 GB · 7 models

Qwen and Nemotron

Model Kapitsa mlx‑serve oMLX Splash Ollama MTPLX MLX
(mlx-lm / mlx-vlm)
llama.cpp LM Studio
Qwen3.5-4B · 4b
dense · 4-bit, 4.6 GB
🟩 1930 / 201
KFlash
874 / 137
MTP · 26.10.2
803 / 102
MTP · 0.7.1rc1
× 758 / 109
MTP · 0.40.6
780 / 104
MTP · 2.12.2
843 / 88
MTP · mlx-vlm 0.7.8
650 / 70
MTP · b11669
801 / 81
MLX runtime 1.13.1
Qwen3.8-27B · 27b
dense · 4-bit, 20.2 GB
🟩 396 / 63
KFlash
129 / 54
DFlash2 · 26.10.2
136 / 45
DFlash2 · 0.7.1rc1
53
DFlash2 · 1.4.0
124 / 32
MTP · 0.40.5
126 / 36
MTP · 2.12.2
131 / 28
MTP · mlx-vlm 0.7.8
84 / 18
MTP · b11669
127 / 15
MLX runtime 1.13.1
Qwen3.6-35B-A3B · 35b
MoE, 3B active · 4-bit, 22.1 GB
🟩 1168 / 161
KFlash
986 / 124
MTP · 26.10.2
1035 / 127
DFlash2 · 0.7.1rc1
135
DFlash2 · 1.4.0
892 / 89
MTP · 0.40.5
918 / 80
MTP · 2.12.2
985 / 86
DFlash2 · mlx-vlm 0.7.8
663 / 69
MTP · b11669
957 / 86
MLX runtime 1.13.1
Nemotron Dory1.0 4B · dory
looped dense · NVFP4, 3.2 GB
🟩 64
KFlash
× × × × × 48
mlx-lm 0.32.3.dev3
6
version not recorded
×
Nemotron 3.5 Lightning 30B-A3B · lightning
hybrid MoE, 3B active · NVFP4, 22.9 GB
🟩 945 / 112
KFlash
— — × — — 721 / 65
DSpark · mlx-vlm 0.7.8
— —
Nemotron 3.5 Bolt 74B-A9B · bolt
hybrid MoE, 9B active · 2/4/8-bit mix, 25.1 GB
🟩 519 / 69
KFlash
— 298 / 35
0.7.1rc1
× — — 300 / 32
mlx-vlm 0.7.8
× —

Recursive Flint

Model Kapitsa llama.cpp rec
Recursive Flint 40B-A2.5B · flint
MoE, 2.5B active · 4-bit, 22.6 GB
🟩 968 / 128
KFlash
977 / 80
b11804
796 / 127
0.1.0

Splash's cells are Splash 1.4.0 at decode only (2026-10-21): Splash needs macOS 26.4 or later, and this MacBook is on 27.0.1. On an AWS EC2 Mac mini M4 Pro (48 GB, macOS 26.7) on 2026-10-28, Splash 1.4.1 read 1056 / 140 on the 35B-A3B and 251 / 50 on the 27B, against Kapitsa 0.2.23's 1171 / 169 and 392 / 65 on the same Mac (record).

MacBook Pro (16-inch, 2023) · M3 Pro · 36 GB · 10 models

Qwen and Nemotron

Model Kapitsa Ollama MTPLX MLX
(mlx-lm / mlx-vlm)
llama.cpp
Qwen3.5-4B · 4b
dense · 4-bit, 4.6 GB
🟩 703 / 120
KFlash
600 / 67
MTP · 0.40.8
612 / 64
MTP · 2.12.2
642 / 56
MTP · mlx-vlm 0.7.8
512 / 50
MTP · b11804
Qwen3.5-9B · 9b
dense · legacy 4-bit pack, 9.0 GB
🟩 381 / 77
KFlash
— — 353 / 27
mlx-lm 0.32.2
307 / 23
b11804
Qwen3.8-27B · 27b
dense · 4-bit, 20.2 GB
🟩 110 / 40
KFlash
99 / 23
MTP · 0.40.8
99 / 22
MTP · 2.12.2
102 / 18
MTP · mlx-vlm 0.7.8
86 / 16
MTP · b11804
Qwen3.6-35B-A3B · 35b
MoE, 3B active · 4-bit, 22.1 GB
🟩 855 / 106
KFlash
681 / 58
MTP · 0.40.8
671 / 53
MTP · 2.12.2
695 / 53
DFlash2 · mlx-vlm 0.7.8
578 / 53
MTP · b11804
Nemotron Dory1.0 4B · dory
looped dense · NVFP4, 3.2 GB
🟩 450 / 36
KFlash
× × 344 / 30
mlx-lm 0.32.2.dev0
—
Nemotron 3 Nano 4B · nano-4b
hybrid Mamba-2 · FP8, 5.3 GB
765 / 34
KFlash
— — — 🟩 413 / 35
Q4_K_M, b11804
Nemotron Nano 9B v2 · nano-9b
hybrid Mamba-2 · NVFP4, 7.9 GB
330 / 21
KFlash
— — 🟩 25
4-bit, mlx-lm 0.32.2
—
Nemotron 3.5 Lightning 30B-A3B · lightning
hybrid MoE, 3B active · NVFP4, 22.9 GB
🟩 788 / 75
KFlash
— — 514 / 39
DSpark · mlx-vlm 0.7.8
—
Nemotron 3.5 Bolt 74B-A9B · bolt
hybrid MoE, 9B active · 2/4/8-bit mix, 25.1 GB
🟩 256 / 50
KFlash
— — — —

Recursive Flint

Model Kapitsa llama.cpp
Recursive Flint 40B-A2.5B · flint
MoE, 2.5B active · 4-bit, 22.6 GB
🟩 801 / 74
KFlash
772 / 51
b11804

macOS 14.1, on AC power: Kapitsa's macOS 14 kernels (macOS 15 and later run fused ones). mlx-serve, oMLX and Splash need a newer macOS (×); LM Studio was not installed; rec 0.1.0 refuses this Mac: it requires 48 GiB. Each cell but Flint's is one run of the M4 Pro's protocol (Flint's is the mean of two runs, #341), the other engines in the M4 Pro's setup (not re-tuned here). Nano 4B and 9B v2: Kapitsa runs NVIDIA's published checkpoints, which keep some layers in BF16/FP8, so it reads more per token than the 4-bit files: the 4B's FP8 is ~1 byte per weight against Q4_K_M's ~0.6, the 9B's NVFP4 ~6.11 GB per token against 4.67 GB for mlx-lm's 4-bit. Nano 9B v2 on mlx-lm: no prefill shown, because its template ignores enable_thinking and the timed first token is a thinking token.

MacBook Pro (14-inch, 2021) · M1 Pro · 16 GB · 7 models

Qwen and Nemotron

Model Kapitsa mlx‑serve oMLX Ollama MTPLX MLX
(mlx-lm / mlx-vlm)
llama.cpp LM Studio
Qwen3.5-4B · 4b
dense · 4-bit, 4.6 GB
🟩 401 / 97
KFlash
286 / 62
MTP · 26.10.2
281 / 55
MTP · 0.7.1rc1
298 / 55
MTP · 0.40.6
305 / 42
MTP · 2.12.2
308 / 46
mlx-lm 0.32.2
315 / 38
MTP · b11669
308 / 47
MLX runtime 1.13.1
Qwen3.5-9B · 9b
dense · legacy 4-bit pack, 9.0 GB
🟩 217 / 57
KFlash
159 / 37
MTP · 26.10.2
— — — 170 / 30
mlx-lm 0.32.2
— —
Qwen3.6-35B-A3B · 35b:16gb
MoE, 3B active · 2-bit experts (unsloth's GGUF), 10.8 GB
🟩 462 / 52
KFlash
× × — × × 38
b11669
—
Nemotron Dory1.0 4B · dory
looped dense · NVFP4, 3.2 GB
🟩 39
KFlash
× × × × 30
mlx-lm 0.32.3.dev3
4
b11551
×
Nemotron 3 Nano 4B · nano-4b
hybrid Mamba-2 · FP8, 5.3 GB
🟩 37
KFlash
— — — — 21
BF16, version not recorded
28
Q4_K_M, b11669
—
Nemotron Nano 9B v2 · nano-9b
hybrid Mamba-2 · NVFP4, 7.9 GB
🟩 25
KFlash
— — — — 18
mlx-lm 0.32.2
14
Q4_K_M, version not recorded
—

Recursive Flint

Model Kapitsa llama.cpp
Recursive Flint 40B-A2.5B · flint:16gb
MoE, 2.5B active · 2-bit experts (unsloth's GGUF), 11.9 GB
🟩 414 / 61
KFlash
43
d772569

Other precisions: --model 35b:6bit is five times closer to bf16 than the 4-bit default (KL). All but Lightning, Dory, the two Nemotron Nanos, Flint, Clover, Ornith and the 35B's 16gb read images. What runs on a Mac of each size: Models. Every model's variants and draft models

Get release notices

Watch → Custom → Releases on nace-ai/kapitsa puts every new version in your notifications.

Star history

How KFlash works · Architecture · Contributing · Press kit · Apache 2.0, © 2026 Nace AI · Third-party notices

探索相关项目

加载中…