MTPLX

MTPLX is my open source engine and the fastest way to run local LLMs on a Mac. It was the first engine to run multi-token prediction (MTP) on the Mac, and it runs models twice as fast, up to 3x, with lossless output at any temperature.

The MTPLX dashboard during a run

What it does

A language model normally writes one token per step. MTPLX uses the model's MTP heads to write several tokens per step.

PromptMake an HTML flappy bird.

  • Drafted
  • Accepted
  • Rejected

Standard decoding

Tokens
096
Steps
096
Tokens per step
0.001.00

MTPLX

Tokens
096
Steps
040
Tokens per step
0.002.40
Standard decodingMTPLXSteps

Speed

  • Qwen 3.6 27B: 81.74 tok/s with MTP, against 30.37 tok/s without it.
  • Qwen 3.8 27B: 87.6 tok/s
  • Qwen 3.8 Flash Next: 125.8 tok/s
Without MTP
With MTP

Who uses it

oMLX's MTP is powered by MTPLX. MTPLX is talked about constantly on Hacker News and r/LocalLLaMA for bringing 2 to 3x speedups to local AI.

The project

MTPLX has 2,800+ GitHub stars, 40+ contributors and 50+ releases. My 53 models on Hugging Face have 980K+ downloads.