AI product Open source

MTPLX

MTPLX is an open-source native Mac app and command-line tool for running local language models on Apple Silicon. It uses a model's built-in multi-token prediction (MTP) heads to draft several tokens, verifies the block in one batched forward pass, and commits tokens with exact rejection sampling and residual correction, without requiring a separate draft model or changing the model's sampling distribution. It provides local OpenAI-compatible and Anthropic-compatible APIs, native chat, model management, hardware-specific draft-depth tuning, and tooling for building and verifying MTP models. The server can also expose MLX embedding and reranking models. MTPLX requires an M1-or-newer Mac running macOS 14 or later, and the repository is licensed under Apache-2.0.

View repository Visit site Mentioned in 1 video ↓

What MTPLX is used for

1 use taken from transcripts — each links to the moment in the video.

  • An open-source Mac app and command-line tool for running local language models on Apple Silicon with multi-token speculative decoding. It serves OpenAI- and Anthropic-compatible APIs while accelerating model output without requiring a separate draft model.

Videos mentioning MTPLX

1 in the library.