llama.cpp v1.1.1 Released: New Model Support and API Enhancements

December 5, 2026

llama.cpp v1.1.1 Released: New Model Support and API Enhancements

At a Glance

Item Value
Repository ggml-org/llama.cpp
Version v1.1.1
Published 2026-12-04
License MIT
Source type Primary source (the publisher itself)

Values determined by this site’s code when the information was collected. Dates are JST.

Overview

Version 1.1.1 of “llama.cpp" (license: MIT), the open-source, lightweight, and high-efficiency LLM inference engine written in C++, has been released.

This version adds support for numerous latest model architectures, including Qwen4-35B-A3B, Amazon-FMR/Ergo (1.1T MoE), clef-omni, Apertus v1.5, and MiniCPM5 MoE. It also features a significant reconfiguration of the batch API for decision models. Additionally, it includes background processing support for built-in shell tools in llama-server, reconnection handling and slideshow features for dialogue data in the UI, and an update of the backend library ggml to v1.2.0.

Developers using the extended APIs for decision models, or users who want to run long-running tasks in llama-server or perform inference on the latest architectures, are encouraged to update promptly.

Breaking Changes and Deprecations

This version introduces changes to the fields and function names of the batch API provided for decision models, breaking compatibility.

Old Name New Name
llama_batch_ext_set_decision_order() llama_batch_ext_set_pool_span_type()
decision order / group batch fields pool spans / attention scopes (llama_batch_ext_set_pool_span(), llama_batch_ext_set_attn_scope())

This change affects developers who build custom inference or batch control for decision models by calling the extended API in llama-ext.h. If you are using the affected APIs, you must update your code to the new function names and the format for specifying pool spans and attention scopes.

Key Changes

Background Task Support and API Expansion in llama-server

In the shell tools integrated into llama-server, long-running commands such as starting development servers, building, or downloading can now be processed asynchronously as background tasks. You can move tasks to the background when executing commands, and check the execution status, retrieve logs, or stop operations from users or models. Along with this feature, the X-Conversation-Id header and the /tools/tasks route have been added (PR #33391, PR #33367).

Furthermore, to improve API compatibility, repetition_penalty is now accepted as an alias for repeat_penalty, and timer information is now included in Anthropic /v1/messages responses (PR #33439, PR #30244).

Enhancements to Jinja Templates and Prompt Parsing

In the Jinja template engine, support has been added for Python-style modulo operations, negative indexing, string iteration within for loops, and trimming of Unicode whitespace characters (PR #33336, PR #33370, PR #33433). Additionally, a fix was implemented to consider --json-schema during chat parsing, ensuring that grammars are correctly applied even in contexts containing reasoning prompts (PR #31862).

This improves the reliability of prompt interpretation in user environments that frequently use advanced chat formats or structured output. No existing configuration changes are required.

KV Cache and Memory Optimization

Optimizations have been introduced, such as reusing SWA (Sliding Window Attention) cells shared between multiple sequences after masking, and directly reading recursive states (PR #32309, PR #30139). Furthermore, budget management for KV cache rotation nodes has been implemented to ensure quantized K/V caches fit correctly within the scheduler’s hash set, and candidate mask memory reduction has been achieved in the DeepSeek-V4.1 indexer (PR #33382, PR #33495).

Reductions in memory usage and improved operational stability are expected in environments performing long-context inference or operating large MoE models.

UI Connection Stability and Media Features

In the included Web UI (Llama Chat), a feature has been added to automatically reconnect to the session after returning to the screen if the streaming connection is lost, such as when a smartphone screen is locked (PR #33615). Additionally, features to view all images in a conversation in a single slideshow and to share conversation traces to Hugging Face datasets have been implemented (PR #33622, PR #32608).

Users conducting long chats via mobile devices or browsers can now enjoy a more stable environment that is less prone to interruptions.

Bug Fixes for Core Processing and Model Conversion

Fixes include resolving a crash when loading Clef-Flash models on ARM CPU environments (PR #32962) and fixing an issue where expert weights were silently corrupted during GPT-OSS model conversion (PR #32546). Also, a fix was added to skip token re-validation during checkpoint playback at temp 0, ensuring that processing proceeds without stalling (PR #33373).

Users utilizing converted GPT-OSS models are recommended to re-convert them using the latest scripts included in this version.

Supported Models and Hardware

This version supports inference and GGUF conversion for several new model architectures, and expands support for various accelerators and quantization formats.

Added Model Support

Major newly supported model architectures are as follows:

  • Qwen4-35B-A3B: Added support for chat templates, vocabulary, and parsers on the Qwen4-Exp graph (PR #33626).
  • Amazon-FMR/Ergo: Supported 1.1T parameter MoE (Mixture-of-Experts) models with MXFP4 conversion (PR #33485).
  • clef-omni: Added support for Cloudflare’s decision model using the Qwen3-Omni-MoE backbone (PR #33354).
  • Apertus v1.5: Supported 8B and 70B text models, including reduced output vocabulary (PR #32880).
  • MiniCPM5 MoE: Added support for gated GQA (Grouped-Query Attention), advanced Dense FFN layers, routing, and shared experts (PR #32644).
  • Inkling-2-Mini: Added support for DFlash2 draft heads (PR #33073).

This allows GGUF conversion and inference of the above models to be executed directly on llama.cpp.

Expansion of Quantization Formats and Backend/Hardware

The backend library ggml has been updated to v1.2.0, with optimizations for various hardware environments and quantization formats.

  • Quantization Format Expansion: Quantization scales in FP8 and NVFP4 formats are now supported through the extended matrix multiplication API. Additionally, NVFP4 passthrough for Inkling 2 and NVFP4 display (4-bit display) in Discover UI have been added.
  • Introduction of Experimental HRX Backend: HRX support has been added as a new experimental backend (PR #32700).
  • Vulkan Backend: Added support for FP8 and scaled matmul, KV-row support in FlashAttention, SSM_SCAN optimizations, and coopmat2 support (PR #29791, PR #33172, PR #32916).
  • Metal Backend: Implemented a feature to automatically detect Neural Accelerators without hardcoding chip names (PR #33272).
  • OpenVINO Backend: Updated to OpenVINO 2026.5, expanding model support and multimodal (mtmd) support (PR #33505).
  • CPU (ARM) Optimization: Implemented gemv q6 k 8x8 q8 k using SVE for ARM CPUs to accelerate inference (PR #29256).

How to Update

To obtain and run the latest version of llama.cpp, use the following methods according to your environment.

If building from source, fetch the latest code from the repository and build it:

git pull origin master
cmake -B build
cmake --build build --config Release

You can also download pre-compiled binaries for each platform directly from the GitHub release page (v1.1.1) or from the Nightly build (b12977) assets.

Speed on Our CPU

Measured by Local Model Watch on our CPU-only server (Neoverse-N1, 3 threads) with llama-bench (512-token prompt, 128-token generation), always on the same model: Qwen3-0.6B-Q4_K_M.gguf from unsloth/Qwen3-0.6B-GGUF (revision 50968a4468). Versions like v0.5.0 ship no binaries, so we used the first official ubuntu-arm64 build that contains the version; “+N” is how many commits that build is ahead of it. These are CPU figures, not a guide to GPU speed, and small differences can be run-to-run noise (± is the standard deviation).

Version Build measured Prompt Generation
v1.1.1 b12977 82.8 ± 1.7 tok/s 5.2 ± 0.0 tok/s
v1.1.0 b12774 85.0 ± 0.2 tok/s 5.0 ± 0.2 tok/s

Related Articles

What to Read Next

Sources

Update History

  • 2026-12-05: Added our own measurements: this version’s speed on our CPU.