mtplx is an inference engine that accelerates large language model execution on Apple Silicon through native speculative decoding.
The tool addresses the challenge of slow inference speeds when running large models locally on Apple hardware. It implements speculative decoding, a technique that generates multiple tokens in parallel by using a smaller draft model to predict likely continuations while a larger model validates those predictions. The approach requires no external drafter model—the drafting capability is built directly into the system, simplifying deployment and reducing overhead.
Developers running language models on Apple Silicon who prioritize inference speed should consider this tool. It is designed for local inference scenarios where reducing latency matters, particularly when working with models like Qwen. The project provides both Anthropic-compatible and OpenAI-compatible APIs, allowing it to integrate into existing applications built against those interfaces. This compatibility means switching to mtplx may require minimal changes to client code.
The project shows active development with regular commits addressing performance improvements and bug fixes. Work spans multiple areas including core inference optimization, API compatibility layers, and model-specific enhancements. The codebase receives consistent attention to both new features and maintenance of existing functionality.