MTPLX is an open-source inference engine and native macOS application for running large language models locally on Apple Silicon. It accelerates text generation through multi-token prediction (MTP) speculative decoding, allowing models to predict and verify several tokens simultaneously. The engine uses exact rejection sampling to preserve the model's intended output distribution. It supports Qwen 3.8, Qwen 3.6, Qwen 3.5, Gemma 4, and Ternary Bonsai models. Automatic hardware detection recommends models based on available unified memory. Users can install models, configure decoding, and monitor performance through its desktop application or command-line interface. An OpenAI- and Anthropic-compatible local server enables integration with AI coding assistants and other applications. Its optimization techniques improve generation speed without requiring a separate draft model.

Features

  • Native multi-token speculative decoding optimized for Apple Silicon processors
  • Support for Qwen, Gemma, and Ternary Bonsai language model families
  • Exact rejection sampling with residual correction at native sampling temperatures
  • Automatic hardware detection, model recommendations, and decoding depth optimization
  • OpenAI- and Anthropic-compatible local inference server for AI application integration
  • Native macOS application and command-line interface with automated model downloads

Project Samples

Project Activity

See All Activity >

Categories

LLM Inference

License

Apache License V2.0

Follow MTPLX

MTPLX Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MTPLX!

Additional Project Details

Operating Systems

Mac

Programming Language

Python

Related Categories

Python LLM Inference Tool

Registered

15 hours ago