Open-source Kapitsa: a Metal Engine for Apple Silicon Pushing Qwen 27B to 63 tok/s on M4 Pro

DotaMate · reddit · 2026-10-19

Nace.ai open-sourced Kapitsa (Apache 2.0), a local inference engine for Apple Silicon built to run coding agents on models that fit in Macs—aimed at enterprise networks with no internet access. It supports only Qwen and NVIDIA Nemotron families so Metal kernels can be customized per architecture.

Benchmarks: on M4 Pro 48GB, Qwen3.8 27B hits 63 tok/s (vs 32 on Ollama) and Qwen3.6 35B-A3B hits 154 tok/s. On M5 Max 128GB, 35B-A3B reaches 272 tok/s and Nemotron Bolt 74B-A9B reaches 127 tok/s (unsupported by most engines). The one loss: Flash-Next 180B-A7B, where mlx-serve leads by 2-3%.

Where speed comes from:

Install via brew install nace-ai/tap/kapitsa; run your own benchmarks with kapitsa bench. Contributors welcome.

Original post →

More from coding & agent

coding & agent channel →