llama.cpp v0.7.0 runs MoE models up to 2.2x faster when the experts don't fit in VRAM

1 hour ago

llama.cpp v0.7.0 adds a GPU cache for MoE experts kept in host memory (up to 2.2x faster decode when experts don't fit in VRAM), LiliCorr and GLM5-Next speculative decoding, new models from K2 Horizon to EmbeddingGemma-2, a Models Manager in the web UI, and a new default server port, 9931. Release notes: https://github.com/ggml-org/llama.cpp/releases/tag/v0.7.0 Commits: https://github.com/ggml-org/llama.cpp/commits/v0.7.0

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00llama.cpp v0.7.0 runs MoE models up to 2.2x faster when the experts don't fit in VRAM
  2. 0:14The expert cache is shared across several GPUs
  3. 0:27Embedding models use up to 10x less VRAM
  4. 0:3902 Speculative decoding
  5. 0:45LiliCorr picks draft tokens with a small transformer
  6. 0:57GLM5-Next drafts its own tokens with MTP
  7. 1:08Draft fixes, a draft batch option and multimodal MTP
  8. 1:2303 New models
  9. 1:25K2 Horizon runs in dense and MoVA variants
  10. 1:39Prism Bonsai 2 27B, a ternary model
  11. 1:50MiniCPM-V 4.7 and two new Nemotron models
  12. 2:04EmbeddingGemma-2 embeds text, images and audio
  13. 2:17Five decision models join the server
  14. 2:3004 Server and web UI
  15. 2:33The web UI gets a Models Manager
  16. 2:47Saved slots keep more of your session
  17. 3:01llama-server now listens on port 9931
  18. 3:15API changes are listed in the v0.7.0 release notes
Show transcript

llama.cpp v0.7.0 runs MoE models up to 2.2x faster when the experts don't fit in VRAM

llama.cpp
llama.cpp
October 2026
llama.cpp

llama.cpp v0.7.0 runs MoE models up to 2.2× faster when the experts don’t fit in VRAM

Decode speed, MoE experts kept in host memory
Before
1×
--moe-cache-mib
up to 2.2×
llama.cpp v0.7.0 release notes · Highlights · #29887
01 Memory

llama.cpp can now keep a mixture-of-experts model's experts in system memory and run them on the GPU from a cache. When the experts don't fit in VRAM, decoding gets up to 2.2 times faster.

The expert cache is shared across several GPUs

llama.cpp
llama.cpp
October 2026

The expert cache now works across several GPUs

GPU 0
GPU 1
GPU 2
GPU 3
one shared expert cache
llama.cpp v0.7.0 release notes · Highlights · #30112
01 Memory

Rigs with more than one GPU can now use the expert cache too, shared across every card. You switch it on with the moe-cache-mib flag and give it a size in mebibytes.

Embedding models use up to 10x less VRAM

llama.cpp
llama.cpp
October 2026

Embedding models use up to 10× less VRAM

With pooling on, llama.cpp skips the LM head and the logits buffer

llama.cpp v0.7.0 release notes · Core changes · #30255 #30445
01 Memory

Embedding models got lighter. When pooling is on, llama.cpp now skips the language model head and its logits buffer, which cuts the VRAM they need by up to ten times.

02 Speculative decoding

llama.cpp
llama.cpp
October 2026
02
Speculative decoding
llama.cpp v0.7.0 release notes
02 Speculative decoding

Speculative decoding, where a small draft model guesses tokens for the big model to check.

LiliCorr picks draft tokens with a small transformer

llama.cpp
llama.cpp
October 2026

Candidate selection built on top of DFlash, with draft model conversion included

llama.cpp v0.7.0 release notes · Highlights · #30506
02 Speculative decoding

LiliCorr is a new speculative decoding method. A small draft transformer, built on top of DFlash, selects the candidate tokens, and llama.cpp can now convert and run those draft models.

GLM5-Next drafts its own tokens with MTP

llama.cpp
llama.cpp
October 2026

Multi-token prediction, plus an optimized sparse attention path

llama.cpp v0.7.0 release notes · Highlights · #29928
02 Speculative decoding

GLM5-Next gets multi-token prediction, so the model drafts its own next tokens. Its sparse attention also runs on a new, optimized path.

Draft fixes, a draft batch option and multimodal MTP

llama.cpp
llama.cpp
October 2026

Speculative decoding fixes and a VRAM saver

  • Fixed draft sampling and rejection handling
  • --spec-draft-n-ubatch sizes the draft batch to save VRAM
  • MTP drafts handle multimodal input
llama.cpp v0.7.0 release notes · Core changes · #30095 #30459 #30257
02 Speculative decoding

Draft sampling and token rejection are fixed, a new option sizes the draft model's batch on its own to save VRAM, and multi-token prediction drafts now handle images and other multimodal input.

03 New models

llama.cpp
llama.cpp
October 2026
03
New models
llama.cpp v0.7.0 release notes
03 New models

New models you can run today.

K2 Horizon runs in dense and MoVA variants

llama.cpp
llama.cpp
October 2026

Conversion, tokenizer, chat template, and -sm tensor to split it across GPUs

llama.cpp v0.7.0 release notes · New models · #29535
03 New models

K2 Horizon now runs in both its dense and MoVA variants. Conversion, the tokenizer and the chat template are all supported, and tensor splitting spreads one model across several GPUs.

Prism Bonsai 2 27B, a ternary model

llama.cpp
llama.cpp
October 2026

Prism Bonsai 2 27B runs in llama.cpp

−10+1ternary weights
llama.cpp v0.7.0 release notes · New models · #29600
03 New models

Prism Bonsai 2 is a 27 billion parameter ternary model. Each of its weights is one of three values, and llama.cpp can now load and run it.

MiniCPM-V 4.7 and two new Nemotron models

llama.cpp
llama.cpp
October 2026
  • MiniCPM-V 4.7 multimodal
  • Nemotron Super 3.5 VL vision and language
  • Nemotron Bolt 74B A9B 9B active
llama.cpp v0.7.0 release notes · New models · #29416 #30520
03 New models

MiniCPM-V 4.7 and Nemotron Super 3.5 VL both take images as input. Nemotron Bolt also lands, a 74 billion parameter model with 9 billion parameters active.

EmbeddingGemma-2 embeds text, images and audio

llama.cpp
llama.cpp
October 2026
textvisionaudio
llama.cpp v0.7.0 release notes · New models · #30054
03 New models

EmbeddingGemma-2 puts text, images and audio into one embedding model. A local search index can now hold all three kinds of content in the same vector space.

Five decision models join the server

llama.cpp
llama.cpp
October 2026

Five decision models run on the server

  • LiquidAI d1-3B · d1-omni-600M
  • vLLM decision 2 · d3
  • pplx-decider
llama.cpp v0.7.0 release notes · New models · Server changes · #30110 #30378 #30044
03 New models

LiquidAI's d1-3B and d1-omni, vLLM decision 2 and d3, and pplx-decider all run now. The server's system one endpoint serves every one of them.

04 Server and web UI

llama.cpp
llama.cpp
October 2026
04
Server and web UI
llama.cpp v0.7.0 release notes
04 Server and web UI

The server and its web interface.

The web UI gets a Models Manager

llama.cpp
llama.cpp
October 2026
  • One table of every served model, quants expandable
  • Search, filters, sorting and favorites
  • Load, unload, delete, and resumable downloads
llama.cpp v0.7.0 release notes · UI changes · #29583
04 Server and web UI

The web interface gets a Models Manager, one searchable table of every model the server can serve. Each row loads, unloads or deletes a model, and downloads resume where they stopped.

Saved slots keep more of your session

llama.cpp
llama.cpp
October 2026
  • Rerank and embedding requests stay out of the prompt cache
  • Slot files keep context checkpoints and draft state
  • Off-by-two fix stops discarding restored states
llama.cpp v0.7.0 release notes · Server changes · #30498 #26004 #30580
04 Server and web UI

Rerank and embedding requests no longer fill the prompt cache, saved slots keep their context checkpoints and draft model state, and an off-by-two bug that threw away restored sessions is fixed.

llama-server now listens on port 9931

llama.cpp
llama.cpp
October 2026
before8080
→
default now9931

Docker images keep 8080 inside the container

llama.cpp v0.7.0 release notes · API changes · #30159
04 Server and web UI

llama-server now listens on port 9931 by default. Scripts and clients pointed at 8080 need the new port. Docker images still use 8080 inside the container.

API changes are listed in the v0.7.0 release notes

llama.cpp
llama.cpp
October 2026
llama.cpp

Building on llama.h or the server’s chat code?

The llama.cpp v0.7.0 release notes list every API change

github.com/ggml-org/llama.cpp · releases/tag/v0.7.0
llama.cpp v0.7.0

Developers who build on the library or the server's chat code have API changes to check. The release notes for this version, under API changes, list each one.