SuperAPIAI Directory

kapitsa

github.com · AI developer platforms

Kapitsa is a high-performance inference engine optimized specifically for Apple Silicon, supporting local execution of models such as Qwen, Nemotron, and Recursive's Flint, and compatible with the OpenAI and Anthropic APIs. It is primarily aimed at coding agents and can quickly launch tools such as opencode, Claude Code, Codex, Pi, Hermes, aider, or Goose to run on local models. The engine is built by the nace.ai team, requires macOS 14 Sonoma or later, and supports only Apple Silicon (M1 and above). Kapitsa provides a command-line interface, supports features such as model quantization, multi-machine collaboration, and coordinated acceleration between the GPU and Neural Engine, and comes with benchmarking tools.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

Kapitsa is an inference engine for Apple Silicon, designed to run models such as Qwen, Nemotron, and Recursive's Flint efficiently on-device, with optimization specifically for coding agent scenarios. It can launch coding tools such as opencode, Claude Code, Codex, Pi, Hermes, aider, or Goose and connect them to local models, while also providing API interfaces compatible with OpenAI and Anthropic.

Key capabilities include: support for multiple models (such as Qwen, Nemotron, Flint, Clover, Hy4-flash, etc.), availability of quantized versions (MLX and GGUF formats), and model selection recommendations for Macs with different memory sizes (for example, Macs with 16-24 GB of memory are advised to use 9b or 4b models). Kapitsa uses KFlash decoding technology, which improves decoding speed by tree-verifying candidate tokens from a draft model without changing the output results. It also supports running one model collaboratively across multiple Macs, as well as coordinated acceleration of prefill between the GPU and Neural Engine.

Usage: operate through the command-line interface (CLI), for example kapitsa serve --model <模型名> to start the service, or kapitsa claude、kapitsa codex and other commands to launch the corresponding coding agent. Models can be specified by alias and support precision selection (such as 35b:6bit). Kapitsa also provides kapitsa bench for benchmarking,kapitsa doctor to view the local model execution plan.

Use cases: suitable for running large language models locally on Apple Silicon Macs for tasks such as coding assistance and text generation, especially for coding agent workflows that require low latency and high throughput.

Limitations: supports only Apple Silicon Macs (M1 and above) and macOS 14 Sonoma or later; Linux and Windows are not supported. Some models (such as Flint, the text versions of Nemotron, Clover, etc.) support only text input and not images. Macs with less memory need to choose smaller models or quantized versions.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools