---
title: "llama-cpp 1.0.0 Breaking Changes on vcpkg | Since.dev"
description: "What each llama-cpp release removed, renamed or changed: 21 breaking changes in 3 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/llama-cpp
last_updated: 2026-12-04
---

# llama-cpp breaking changes

llama-cpp 1.0.0 is its newest release with breaking changes, 12 of them. The first: Removed --defrag-thold. Every breaking API change we have recorded in llama-cpp on vcpkg: 21 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `9030`. [Source repository](https://github.com/ggml-org/llama.cpp)

- From [0.9.0](#v-0-9-0) to [1.0.0](#v-1-0-0): 12 breaking changes in 1 version.
- From [0.6.0](#v-0-6-0) to [1.0.0](#v-1-0-0): 14 breaking changes in 2 versions.

## llama-cpp 1.0.0 breaking changes

llama-cpp 1.0.0: 12 breaking changes.

- **Removed** `--defrag-thold`  

The --defrag-thold flag is removed. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Removed** `clip.h`  

clip.h is removed and its code is consolidated into mtmd; code including clip.h must switch to mtmd. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Removed** `common_get_path_from_env`  

The common_get_path_from_env() helper is deleted. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Removed** `defrag_thold`  

The defrag_thold option and --defrag-thold flag are removed. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Removed** `llama_set_warmup`  

llama_set_warmup is removed from the public llama.h API; code calling it must be updated or dropped. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Removed** `u8path`  

u8path() is dropped; use generic_string() instead. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Renamed** `llama_set_embd_state_src`  

llama_set_embd_state_src is renamed to llama_set_ctx_state_src. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Behavior changed** `--cors-origins`  

llama-server now restricts CORS origins and protects against DNS rebinding; clients relying on previous behavior may be blocked. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Behavior changed** `--sleep-idle-seconds`  

The server now stays awake while a request uses its state when --sleep-idle-seconds is set. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Behavior changed** `HF_TOKEN`  

The HF_TOKEN is now restricted to huggingface.co hosts, so it is no longer sent elsewhere. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Behavior changed** `llama_context_params`  

New moe_cache_size and moe_cache_cpu_share fields are added to llama_context_params, which can affect code that builds this struct positionally. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)
- **Behavior changed** `x-tool-runtime`  

When --tools-runtime is specified, the server ignores the x-tool-runtime header. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0)

## llama-cpp 0.9.0 breaking changes

llama-cpp 0.9.0: 2 breaking changes.

- **Removed** `fs_path_to_utf8`  

The fs_path_to_utf8 helper was deleted from common. Code that calls it must stop using it. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.9.0)
- **Behavior changed**  

The GGUF split merge tool now refuses shards that do not match instead of merging them. Scripts that relied on merging mismatched shards will now fail. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.9.0)

## llama-cpp 0.6.0 breaking changes

llama-cpp 0.6.0: 7 breaking changes.

- **Removed** `fs_open_ifstream`  

The common fs_open_ifstream() helper was removed; use u8path() instead. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.6.0)
- **Behavior changed**  

The vocabulary now honors BOS/EOS settings for PLaMo-2 and PLaMo-3, which changes the tokens produced for those models. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.6.0)
- **Behavior changed**  

The server now rejects requests that use partial media truncation. Clients sending such requests will get an error. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.6.0)
- **Behavior changed**  

Session formats moved to LLAMA_SESSION_VERSION 11 and LLAMA_STATE_SEQ_VERSION 4, so state saved by earlier versions may not load. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.6.0)
- **Behavior changed** `string_split`  

string_split\<T> now throws an exception on invalid values instead of its previous behavior, so callers must handle the exception. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.6.0)
- **Behavior changed** `v1.embeddings`  

The /v1/embeddings endpoint now returns HTTP 400 for invalid embedding requests. Clients that expected another response for those requests must handle the 400 status. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.6.0)
- **Signature changed** `mtmd_get_memory_usage`  

mtmd_get_memory_usage() now returns an mtmd_memory_usage struct with image_max_tokens and use_non_causal fields. Code that reads its old return value must be updated to read those fields. [github.com](https://github.com/ggml-org/llama.cpp/releases/tag/v0.6.0)

## Related packages

- [github.com/ggml-org/llama.cpp](https://since.dev/packages/swift/github.com/ggml-org/llama.cpp.md):  on Swift Package Index
- [gguf](https://since.dev/packages/pypi/gguf.md):  on PyPI
- [llama.cpp](https://since.dev/packages/homebrew/llama.cpp.md):  on Homebrew

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
