Llama.cpp Just Merged MTP And You Should Be Using It.

Tim Carambat · Beginner ·🧠 Large Language Models ·2mo ago

Key Takeaways

Explains the benefits of using Multi-Token Prediction (MTP) in the llama.cpp engine for faster TPS

Original Description

MTP (Multi-Token prediction) is not a new idea, but it is *finally* supported in the beloved llama.cpp engine! MTP is basically SSD (Speculative Decoding) but all packaged into a single model! Depending on model/hardware you can get up to 2x faster TPS with no downside! Not **every** model supports MTP, and if you are using something like Qwen3.5 or Qwen3.6, youll need to redownload your GGUF file with MTP support since this was merged so recently. That being said, you can I was getting 25% faster TPS on my M4 Pro but depending on hardware you can get a lot more. All of this comes without any accuracy tradeoffs, you just get more TPS on the exact same hardware with a simple llama.cpp config option! Pretty cool and I am happy this got merged finally since its likely we see a lot more MTP models in the future. *Links* : LLamacpp PR: https://github.com/ggml-org/llama.cpp/pull/22673 Download Llamacpp: https://github.com/ggml-org/llama.cpp/releases/tag/b9209 AnythingLLM: https://github.com/Mintplex-Labs/anything-llm Qwen 3.5 9B MTP GGUF example: https://huggingface.co/unsloth/Qwen3.5-9B-MTP-GGUF *Chapters* : 0:00 Local AI is improving fast 1:35 Intro to AnythingLLM 2:35 MTP (Multi Token Prediction) is merged! 3:18 What is MTP? 5:37 What models support MTP? 7:20 MTP support is still in progress! 7:53 Here is the annoying part... 9:53 How to run llama.cpp with MTP support locally! 11:28 Benchmarking, running and tuning MTP for local AI 15:25 MTP is a welcome addition to local AI for llama.cpp!
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
GPT-5.5 Complete Guide in 2026
Learn about GPT-5.5, its features, performance, and why it matters in 2026, and how to leverage it for improved AI-assisted tasks
Dev.to AI
📰
AI Simplified — Why Structured Output Matters More Than a Fluent Answer
Learn why structured output is crucial for AI answers and how it can improve usability and automation
Dev.to AI
📰
I ran a 110B LLM on 16GB of RAM. Here's the equation that predicts any model's speed on your machine
Learn how to predict a large language model's speed on your machine using a simple equation, and discover how to run a 110B LLM on limited RAM
Dev.to · Federico Sciuca
📰
A Fidelity-First Workflow for Editing GPT-Generated Text
Learn a fidelity-first workflow for editing GPT-generated text to improve its quality and readability
Dev.to · Bisrat

Chapters (10)

Local AI is improving fast
1:35 Intro to AnythingLLM
2:35 MTP (Multi Token Prediction) is merged!
3:18 What is MTP?
5:37 What models support MTP?
7:20 MTP support is still in progress!
7:53 Here is the annoying part...
9:53 How to run llama.cpp with MTP support locally!
11:28 Benchmarking, running and tuning MTP for local AI
15:25 MTP is a welcome addition to local AI for llama.cpp!
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →