AI
llama.cpp v1.1.0: DFlash Speculative Decoding, BPW Quant & API Trade-Offs
Released November 26, 2026 (with continuous pre-releases through b12854 on November 29), llama.cpp v1.1.0 upgrades ggml to v1.1.1, automates per-tensor quantization via --target-bpw and --target-size, splits DFlash speculative decoding into four draft drivers, and deprecates the legacy llama_batch C API in favor of llama_batch_ext.
8 min read
llama.cpp v1.1.0: DFlash Speculative Decoding, BPW Quant & API Trade-Offs
Executive Summary
- Major local-inference release (
v1.1.0, November 26, 2026):ggml-org/llama.cppshippedv1.1.0alongsideggml v1.1.1(followed by continuous builds throughb12854on November 29, 2026), expanding open-weight model support (Inkling 2,Domyn Edge 4B,Zaya1 8B,MiniMax-M3.1,RAON-1-mini-preview,Hy4 flash) and adding full-duplex audio and TTS pipelines (Kokoro,Zonos3-Mini,Kyutai Hibiki/Moshi) (llama.cpp Releases, llama.cpp GitHub). - Automated quantization & speculative decoding: New
--target-bpwand--target-sizeflags automate per-tensor quant selection with resumable state files (#15550), while DFlash speculative decoding splits into four explicit draft methods (draft-dflash,draft-dflash2,draft-dspark,draft-lilicorr) (#32016) (llama.cpp Releases). - Verified throughput & breaking C API change: Independent
LlamaCppExv0.8.74 benchmarks on NVIDIA DGX Spark (GB10, CUDA 13.0) measuredQwen3.8-27B NVFP4decoding at44.24 tok/swithDFlash 2(n_draft: 7) versus14.21 tok/splain decode (3.1xspeedup), while C/C++ embedders must migrate off the deprecatedllama_batchAPI tollama_batch_extandllama_process(#32306,#32356) (LlamaCppEx Changelog, llama.cpp Releases).
Architecture and How It Works
1. Engine & Model Matrix in v1.1.0
llama.cpp v1.1.0 consolidates several architectural shifts across the core llama.h inference library, the mtmd.h multimodal/audio subsystem, and llama-server (llama.cpp Releases):
flowchart LR
GGUF[GGUF Weights + .scale Tensors] -->|Per-Tensor Budget| Quant[target-bpw / target-size Quantizer]
Quant --> Engine[ggml v1.1.1 Tensor Scheduler]
Prompt[User / Agent Prompt] -->|llama_batch_ext| Engine
Engine -->|draft-dflash / dflash2 / dspark / lilicorr| Spec[Speculative Draft Head]
Spec -->|Verified Tokens| Server[llama-server Slot Scheduler]
AudioIn[Speech / Audio Input] -->|mtmd.h FFT & G2P| Engine
Engine -->|Kokoro / Zonos3 / Hibiki| AudioOut[Full-Duplex Voice & TTS]- Text & Vision-Language Models: Adds
Inkling 2(base text+vision,Mini, andDSpark),Domyn Edge 4B(interleaved Sliding Window Attention with RoPE only on SWA layers and Q/K norm),Zaya1 8B,MiniMax-M3.1,RAON-1-mini-preview(30B-A4BMoE), andHy4 flash(220Btotal /12Bactive parameters on the DSA iSWA cache) (llama.cpp Releases). - Audio, Music & Full-Duplex Voice (
mtmd.h): AddsKokoro,Zonos3-Mini,tiny-voca,VoxCPM2,MiniMax-Music3,YuE2-3B,Fish Audio S2,Higgs Audio v3/VibeVoice-ASR, andKyutai Hibiki / Moshifor realtime full-duplex voice I/O, alongside--tts-lang,--tts-voice, and--tts-speaker-textflags (llama.cpp Releases). - Token-Aware Chat Parsing & Named Tool Choice: Chat parsing now matches special tokens directly rather than raw text (
#29307), preventing reasoning blocks from terminating prematurely if a model outputs a closing tag inside prose, andllama-serveraccepts OpenAI-style namedtool_choice(#31564) alongsideGET /models/ssein single-model mode (#32398), a slot-scheduling refactor, and a redesigned Llama Chat web UI supporting voice messages and agent traces (llama.cpp Releases). In subsequent pre-releaseb12853(November 29, 2026),llama-serveralso wired--json-schemadirectly into chat-template parsing (#31862) (llama.cpp Releases). - Tokenizer, KV Cache &
llama.hExtensions:v1.1.0accelerates BPE tokenization and thePLaMo-2/3tokenizer table build (#32859,#32249), honorsmetaspace_prepend_schemefor SPM vocabularies (#31986) sofirst-mode tokenizers no longer insert stray spaces after special tokens, and addsllama_model_meta_arr_n()andllama_model_meta_arr_str()tollama.hfor reading GGUF string arrays (#32397) (llama.cpp Releases, LlamaCppEx Changelog). For audio pipelines,mtmd.haddsn_channels,mtmd_gen_audio_g2p(), andmtmd_gen_state_get_ref_codes()(#32413,#32586), alongsidedrama3voice cloning andQwen3-TTSICL reference mode (#32586,#32438).
2. Automatic Per-Tensor Quantization (--target-bpw & --target-size)
Previously, fitting a large MoE or dense checkpoint into fixed VRAM required manually testing Q4_K_M, IQ4_XS, or Q3_K_L mixes. llama.cpp v1.1.0 (#15550) introduces target_bpw, target_size, state_file, and an abort callback in llama_model_quantize_params, enabling llama-quantize to select per-tensor quantization formats automatically against a bits-per-weight or file-size budget while checkpointing progress to a resumable state file (llama.cpp Releases, HighVRAMHardwareWatch Analysis).
3. Four-Way Split of DFlash Speculative Decoding
Instead of a single monolithic DFlash driver, #32016 splits DFlash speculative decoding into four specialized draft methods exposed via llama_dflash_variant and llama_model_dflash_variant() in llama.h: draft-dflash, draft-dflash2, draft-dspark, and draft-lilicorr (llama.cpp Releases). v1.1.0 also adds DFlash2 support for Recursive Ripple-65B-Preview (#31904) and Inkling 2 Mini (incoai/Inkling-2-Mini-DFlash2) (llama.cpp Releases, LlamaCppEx Changelog).
Example CLI invocation for targeting a VRAM budget and serving with DFlash2 speculative decoding:
llama-quantize --target-bpw 4.25 --state-file quant_state.json model-f16.gguf model-bpw425.gguf
llama-server -m model-bpw425.gguf -md draft-dflash2.gguf --draft-max 7 --port 8080
Benchmarks, Quantization, and Throughput Analysis
Independent Speculative Decoding & Multi-Node RPC Telemetry
While the llama.cpp v1.1.0 release notes list architectural changes without bundled throughput charts, independent test runs from the LlamaCppEx v0.8.74 integration suite (tested against upstream commits right around v1.1.0 / ggml 1.1.1) provide concrete decode measurements on NVIDIA DGX Spark (GB10, CUDA 13.0) running Qwen3.8-27B NVFP4 (LlamaCppEx Changelog):
Configuration (Qwen3.8-27B NVFP4 on DGX Spark GB10) |
Speculative / Placement Mode | Decode Throughput | Notes |
|---|---|---|---|
| Single-node plain decode | No draft model | 14.21 tok/s |
Baseline (14.28 tok/s on v0.8.67) (LlamaCppEx Changelog) |
| Single-node MTP | MTP, n_draft: 2 |
26.55 tok/s |
1.87x over plain decode (LlamaCppEx Changelog) |
| Single-node DFlash 2 | DFlash 2, n_draft: 7 |
44.24 tok/s |
3.11x over plain decode (LlamaCppEx Changelog) |
Two-node 50/50 split (["CUDA0", "RPC0"]) |
DFlash 2, n_draft: 7 |
7.9 tok/s |
Degraded from 28.1 tok/s when local device is listed first (LlamaCppEx Changelog) |
Two-node 50/50 split (["RPC0", "CUDA0"]) |
DFlash 2, n_draft: 7 |
32.5–33.0 tok/s |
Listing local CUDA0 last also lifts plain decode to 14.3 tok/s (LlamaCppEx Changelog) |
Two critical engineering caveats emerge from these measurements:
- Device ordering over RPC matters: Splitting a model 50/50 across two nodes with
["CUDA0", "RPC0"]droppedDFlash 2throughput to7.9 tok/s, whereas reversing the list to["RPC0", "CUDA0"]recovered32.5–33.0 tok/s(or settingLLAMA_DFLASH_DEV=0for28.2–28.7 tok/s) (LlamaCppEx Changelog). - DFlash2 GGUF conversion compatibility: Upstream commit
#33073addedselector_softcap_after_correctionandtoken_embd_normmetadata keys;DFlash2GGUF draft models converted prior to that change lack both fields and will fail to load onv1.1.0(LlamaCppEx Changelog).
Cross-Backend Verification: Metal, WebGPU, and CUDA
Beyond DGX Spark speculative decoding, LlamaCppEx v0.8.74 verified bit-identical request parity on Apple M1 Max (Metal) across nine decision and embedding models (tinylaya, tinyopenjev, Clef Flash, d1-3B, d1-omni-600M, d1-2B, vllm-decision2 Kai, vllm-d3-edge, and h2o-lightning-4b) against upstream llama-server, as well as MTP on Qwen3.6-27B and Qwen3.8-27B (LlamaCppEx Changelog). In v1.1.0, ggml also switches input tensor copies to asynchronous paths where supported (#30685), optimizes Metal command-buffer chunking (#32947), and enables BF16 src1 for MUL_MAT and MUL_MAT_ID on CUDA and CPU (#32533). Follow-up pre-release builds on November 29 (b12845–b12846) further fixed WebGPU MUL_MAT_ID tile accumulation from f16 to f32 (#33266)—preventing inf overflow on NVFP4 checkpoints such as Inkling 2 Mini—and sped up WebGPU flash_attn prefill (#33192) (llama.cpp Releases).
Hardware Backend Breadth & Public AMD Dashboard
Prebuilt release artifacts for llama.cpp now span Windows (x64/arm64 CPU, CUDA 12.4/13.5, Vulkan, OpenVINO, SYCL, ROCm 10.0, OpenCL Adreno), Linux (x64/arm64 CPU, s390x zDNN, CUDA 12.8/13.5, ROCm 10.0, Vulkan, OpenVINO, SYCL FP16/FP32, Snapdragon CPU/Adreno/Hexagon NPU), macOS/iOS (arm64 Metal/KleidiAI, XCFramework), and Android (llama.cpp Releases). On November 26, 2026, ggml-org and AMD also launched a public weekly benchmark dashboard publishing raw JSONL PP512 (prompt processing) and TG128 (token generation) results for Radeon 8060S and Radeon AI Pro R9700S GPUs (HighVRAMHardwareWatch Analysis).
Confidence note: Independent throughput figures above are verified for Qwen3.8-27B NVFP4 on DGX Spark GB10; independent third-party tok/s benchmarks for the newly added TTS/audio models (Kokoro, Zonos3-Mini, Kyutai Hibiki) and --target-bpw perplexity-vs-VRAM curves were not yet published in fetched sources at the time of writing.
Production Deployment and Upgrade Trade-Offs
Mandatory Migration Steps for Embedders and Operators
- Migrate C/C++ callers from
llama_batchtollama_batch_ext:llama.hdeprecatesllama_batchin favor ofllama_batch_extandllama_process(#32306,#32356). Downstream bindings and custom C++ servers must port batch construction beforellama_batchis removed in a future release (llama.cpp Releases, VibeLeaderboard). - Update speculative decoding scripts: Replace legacy unified DFlash flags with the specific driver (
draft-dflash,draft-dflash2,draft-dspark, ordraft-lilicorr) matching your draft checkpoint, and re-convert olderDFlash2GGUFs if missingtoken_embd_norm(llama.cpp Releases, LlamaCppEx Changelog). - Audit
llama-serverUI and MCP proxy flags:v1.1.0adds--ui-agentand--ui-mcp-proxy-allow-private-urls(#33004,#32633). Leave private-URL MCP proxying disabled in multi-tenant or untrusted environments to prevent SSRF against internal network endpoints (llama.cpp Releases). - Watch the
KV&GDNfixes:v1.1.0replaces KV-cellO(n_cells)linear scans on sequence removal (#32380), switches GDN from rollback to replay (#31669), and fixes stickyNaNbugs in recurrent state (#31913), improving stability for long-running multi-slotllama-serverdeployments (llama.cpp Releases). - Leverage
llama-serverstructured output and slot improvements: Combiningb12853's--json-schemachat-template integration (#31862) withv1.1.0's namedtool_choice(#31564) andslot-schedulingrefactor gives local agentic loops stricter schema adherence without writing custom GBNF grammars by hand (llama.cpp Releases).
When to Choose llama.cpp v1.1.0 vs. vLLM
- Choose
llama.cpp v1.1.0when deploying on heterogeneous or edge hardware (Apple Silicon Metal, Windows/Linux consumer GPUs, Snapdragon Hexagon NPU, CPU-only nodes), when you need single-binary local TTS/full-duplex voice alongside text/vision, or when--target-bpwlets you pack a large MoE checkpoint into tight VRAM without building custom AWQ/FP8 pipelines. - Choose
vLLM(or SGLang) when serving high-concurrency datacenter traffic on homogeneous NVIDIA/AMD clusters where continuous PagedAttention batching across dozens of simultaneous users outweighs edge portability. Conversely, teams running single-node workstations or mixed-vendor GPUs benefit directly fromllama.cpp's zero-Python C++ runtime, unified GGUF format, and cross-backendggml v1.1.1kernels.
Frequently Asked Questions
1. What is the difference between --target-bpw and --target-size in llama.cpp v1.1.0?
Both flags (#15550) automate per-tensor quantization format selection instead of applying a uniform preset like Q4_K_M: --target-bpw optimizes to an average bits-per-weight target, while --target-size targets a specific output GGUF file size in bytes, with --state-file enabling resumable runs (llama.cpp Releases).
2. Does llama.cpp v1.1.0 break existing C/C++ integrations using llama_batch?
It deprecates llama_batch in llama.h in favor of llama_batch_ext and llama_process (#32306, #32356), so existing callers should begin migrating now, though v1.1.0 marks it deprecated rather than immediately deleting the symbol (llama.cpp Releases).
3. Why did my DFlash2 speculative decoding model fail to load after upgrading?
llama.cpp now requires selector_softcap_after_correction and the target's token_embd_norm tensor (#33073); DFlash2 GGUF draft files converted before that commit must be re-converted to run on v1.1.0 (LlamaCppEx Changelog).
4. Which TTS and voice models are natively supported in llama.cpp v1.1.0?
v1.1.0 adds Kokoro, Zonos3-Mini, tiny-voca, VoxCPM2, MiniMax-Music3, YuE2-3B, Fish Audio S2, Higgs Audio v3/VibeVoice-ASR, and Kyutai Hibiki / Moshi for full-duplex voice I/O (llama.cpp Releases).
5. Does llama-server enforce tool_choice when naming a specific function?
In v1.1.0 (#31564), llama-server accepts OpenAI-compatible named tool_choice ({"type": "function", "function": {"name": "..."}}), narrowing the grammar in auto-generated parsers and qwen3-coder rather than silently falling back to auto (llama.cpp Releases, LlamaCppEx Changelog).
Sources
- ggml-org — Releases · ggml-org/llama.cpp (
v1.1.0&b12854) (November 26–29, 2026) - ggml-org — llama.cpp Repository (
v1.1.0,ggml v1.1.1) (November 26, 2026) - LlamaCppEx — Changelog v0.8.74 (Independent DGX Spark & M1 Max Verification) (November 2026)
- VibeLeaderboard — llama.cpp v1.1.0 Release Summary (November 26, 2026)
- Reddit r/HighVRAMHardwareWatch — llama.cpp v1.1.0 Technical Analysis & AMD Radeon Dashboard Notes (November 27, 2026)