Open-Source & Local LLMs

llama.cpp Hits 1.0.0: 35 Functions Removed, FP8 KV Caches and a Safer llama-server

llama.cpp and ggml reached v1.0.0 on November 13 with a semantic versioning promise, removing 35 deprecated functions while adding FP8 KV caches, a MoE expert cache and llama-server security fixes.

llama.cpp Hits 1.0.0: 35 Functions Removed, FP8 KV Caches and a Safer llama-server

llama.cpp, the open-source engine behind a large share of local AI apps, reached version 1.0.0 on November 13, 2026, together with its underlying tensor library, ggml. The release removes 35 deprecated functions from the public C API, adds FP8 key-value caches and a new memory cache for mixture-of-experts models, and tightens security defaults in the bundled llama-server.

The version number matters as much as the features. For three and a half years the project shipped fast-moving builds with no formal promise about compatibility. From now on, the maintainers say, any change that breaks the public API or ABI will come with a major-version bump. For anyone who builds an app, binding or desktop tool on top of llama.cpp, that is the first real contract the project has offered.

Key facts at a glance

  • Release date: v1.0.0 of both llama.cpp and ggml was tagged on November 13, 2026, the date lead maintainer Georgi Gerganov proposed in an October 15 planning thread.
  • Breaking changes: llama_set_warmup, 35 deprecated functions and the defrag_thold setting (and its --defrag-thold flag) are gone from llama.h.
  • New memory options: FP8 KV caches via -ctk/-ctv f8_e4m3, plus a host-memory MoE expert cache controlled by two new context parameters.
  • Server hardening: fixes for CORS, DNS rebinding and a CORS-proxy SSRF issue, two new explicit opt-in flags, and the HF_TOKEN now restricted to huggingface.co hosts.
  • Coverage: the maintainers say the engine now supports more than 150 model architecture variants.

How llama.cpp got to 1.0

llama.cpp started in March 2023 as a way to run large language models on ordinary hardware using plain C/C++ and aggressive quantization (storing model weights at lower precision so they fit in less memory). It has since become a foundation for many downstream tools that let people run models on laptops, phones and workstations without a cloud account.

That growth created a problem the maintainers describe directly in their announcement: every new integration means more developers depending on the library's interfaces, so "having a flexible but stable API is paramount." Old functions had piled up because removing them would break third-party projects.

The fix was a planned clean-up. In an October 15 discussion, Gerganov laid out a schedule of minor releases (v0.7.0 around October 16, v0.8.0 around October 23 and v0.9.0 around November 6) before a major release that would strip out "legacy baggage." He described v1.0.0 as a chance to trim accumulated weight that the team kept postponing to avoid breaking downstream code. The release landed on schedule.

Core change 1: a semantic versioning promise

The headline of v1.0.0 is a rule set rather than a feature. All ggml-org projects using semantic versioning now follow three bump types, according to the maintainers:

Change typeVersion bump
Breaking change to the public C API in ./includeMAJOR
Backward-compatible feature, backend update, model support or API additionMINOR
Bug fix with no API changePATCH

The two libraries covered are libllama, with public headers in llama.cpp/include/, and libggml, with headers in ggml/include/. The maintainers say that "as adoption grows, we will be stricter about making those boundaries visible to downstream consumers."

Why this matters in practice: a wrapper library, a Python binding or a desktop app can now pin to a major version and expect minor updates to bring new models and speedups without breaking its build. The project also lists the distribution channels it is working with: Docker and Debian on Linux, Homebrew on macOS and Linux, conda-forge, MacPorts, Winget on Windows, and an XCFramework for iOS and macOS apps, alongside pre-release builds for Linux, macOS, Windows, Android and iOS.

The trade-off is a one-time break. The release notes list the removal of llama_set_warmup, 35 deprecated functions and defrag_thold, the promotion of the NextN (speculative decoding) API from llama-ext.h into llama.h, and a rename of llama_set_embd_state_src to llama_set_ctx_state_src. On the multimodal side, clip.h has been removed and its infrastructure folded into the mtmd library. ggml 1.0.0 also prunes its own deprecated API and the legacy DIAG_MASK operations.

Core change 2: more room for bigger models

Two memory features target the hardest part of running modern models locally: fitting them.

FP8 KV caches. The key-value cache stores attention state for every token in the context window, and it grows with context length. Version 1.0.0 adds OCP FP8 caches, selected with -ctk/-ctv f8_e4m3, with optional static per-tensor scales. Storing that cache at 8-bit precision instead of the usual 16-bit roughly halves its footprint, which can mean longer contexts on the same GPU. Whether quality holds up for a given model is something each user should test.

A MoE expert cache. Mixture-of-experts models only use a few "expert" sub-networks per token, but all of them must live somewhere. The new host-memory expert cache keeps experts in system RAM with a configurable share handled on the CPU when a needed expert is not cached. It is exposed through two new fields in llama_context_params: moe_cache_size and moe_cache_cpu_share. The release notes add LRFU and ClassLRU replacement policies and say the GPU no longer waits on the CPU for experts that are already cached.

New model support arrives at the same time: three text architectures (Kimi-K3.1-Pro, the dense Ripple-65B-Preview and xing4_0), the drama-3 text-to-speech model, and vision support for MageVL-Cowork and Kimi-K3.1. The project can also now load external PLE shards from separate GGUF files via --shard and --ple. On the backend side, ggml 1.0.0 brings work across CUDA, Metal, Vulkan, SYCL, OpenCL, WebGPU and Qualcomm's Hexagon, according to the release notes.

Core change 3: a safer llama-server

llama-server is the part of the project many people expose on a network, for example to share one GPU box across a home or office. Version 1.0.0 treats that use more seriously.

Fixes for web-facing attacks. The release notes list fixes for the --cors-origins option, DNS rebinding (a trick that lets a malicious web page talk to a server on your local network) and a server-side request forgery issue in the CORS proxy, plus tighter access to child instances.

Explicit opt-ins. Two new flags, --allow-unauthenticated-tools and --media-allow-private-urls, make risky behaviour something an operator has to switch on deliberately. The HF_TOKEN credential is now only sent to huggingface.co hosts, and MCP (Model Context Protocol) tool calls are cancelled, with the MCP server notified, when a client disconnects or times out.

New endpoints and UI. The server gains an OpenAI-compatible /v1/audio/speech endpoint and a temperature option for /tts. The built-in web interface was redesigned with chat groups, a Markdown editor and a native mobile layout.

What it means for you

If you only use llama.cpp through an app, such as a desktop chat client or a local model runner built on it, you probably do not need to do anything today. Your app's developers will move to 1.0 on their own schedule, and you should get the memory and model support improvements when they do.

If you call llama.h or ggml directly, from C or through bindings, expect build errors. Search your code for the removed functions, llama_set_warmup, defrag_thold and llama_set_embd_state_src, and check any scripts that still pass --defrag-thold, which must be removed. Projects using clip.h for vision models need to move to mtmd.

If you run llama-server on a network, read the security changes before upgrading. Some behaviour that worked before may now need the new opt-in flags, and that is deliberate. Developers in the US, UK, Canada and Australia handling client data on shared machines get a server that is harder to misuse from a browser, but still not a substitute for a firewall or authentication in front of it.

Another view

Not everything is settled by a version number. The maintainers acknowledge the pace of change, saying they are adapting LLMs into their own development cycle carefully, while insisting that "maintaining a high quality codebase, staying in control of the architecture and understanding the implementation details will remain our top priorities." They also note growing investment in CI, with self-hosted test runners supported by NVIDIA, AMD, Qualcomm, Arm, IBM and Intel.

For downstream teams, the open question is discipline: a semantic versioning promise is only useful if major bumps stay rare. The project ships builds several times a day, and on November 14 it was already tagging new build numbers above b12370.

What happens next

The project says it wants to expand how ggml-org software reaches developers through packaging channels, and it has opened a discussion for maintainers of distributions and release pipelines. Future breaking API changes should now show up as v2.0.0, while new models and backend work should arrive as 1.x minor releases.

Takeaways

  1. App users can wait. Update when your llama.cpp-based app ships a 1.0 build.
  2. Developers should audit now. Grep for the removed functions and flags before pulling v1.0.0, and pin to the 1.x major version afterwards.
  3. Test FP8 caches per model. They can stretch context length on limited VRAM, but check output quality on your own prompts.
  4. Network operators should read the server notes. Review the new opt-in flags and keep the server behind proper access controls.
Sponsored