How to Install llama.cpp v1.0.0 on Mac, Windows and Linux (and What’s New)

Cover image for How to Install llama.cpp v1.0.0 on Mac, Windows and Linux (and What's New): Hugging Face (official image)

Key facts

Sources checked Nov 17, 2026

  • llama.cpp v1.0.0 shipped on November 13, 2026, alongside ggml v1.0.0. From now on, breaking changes to the C API will come with a major-version bump.
  • For users, the headline features are FP8 KV caches (-ctk f8_e4m3 -ctv f8_e4m3), a host-memory MoE expert cache, llama-server security hardening (SSRF, CORS and DNS-rebinding fixes), a new /v1/audio/speech endpoint and a redesigned web UI.
  • The fastest install is the official script, curl -LsSf https://llama.app/install.sh | sh (PowerShell: irm https://llama.app/install.ps1 | iex). Homebrew, winget, conda-forge, Docker and prebuilt binaries also work.
  • Then one command downloads and runs a model: llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF. Swap cli for serve to get an OpenAI-compatible server.

Requirements macOS, Windows or Linux; ~2 GB free disk for the 0.8B example model; optional NVIDIA/AMD/Apple GPU

After three and a half years of build numbers, llama.cpp has a version number. The v1.0.0 announcement is mostly about API stability for the many apps built on it, but the release also brings features worth installing for. This guide covers installing v1.0 on Mac, Windows and Linux, running your first model, and the new options to try.

What’s new in v1.0.0

From the release notes:

Area Change
Versioning Semantic versioning for llama.cpp and ggml; deprecated public API removed (35 deprecated functions, llama_set_warmup and --defrag-thold)
Memory FP8 KV caches (f8_e4m3) with optional static per-tensor scales
MoE Host-memory expert cache with a configurable CPU share for misses
Models Kimi-K3.1-Pro, Ripple-65B-Preview, xing4_0, drama-3 TTS, MageVL-Cowork and Kimi-K3.1 vision
Server SSRF, CORS and DNS-rebinding fixes; new --allow-unauthenticated-tools and --media-allow-private-urls opt-ins; HF_TOKEN restricted to huggingface.co; /v1/audio/speech
Web UI Named chat groups, a live-preview markdown editor, a native mobile layout, PDF page thumbnails

If you only use llama.cpp through apps like Ollama or LM Studio, nothing changes for you today. The removed functions affect developers who link against libllama directly.

Step 1: Install

The v1.0 README lists these options:

# macOS / Linux: official installer
curl -LsSf https://llama.app/install.sh | sh

# Windows (PowerShell)
irm https://llama.app/install.ps1 | iex

Package managers, per the install docs, which say the Homebrew formula and winget package update automatically with new releases:

Platform Command
macOS / Linux (Homebrew) brew install llama.cpp
Windows (winget) winget install llama.cpp
Any OS (conda-forge; CUDA, Vulkan or Metal builds) conda install -c conda-forge llama.cpp
macOS (MacPorts) sudo port install llama.cpp

You can also download prebuilt binaries from the releases page, use the Docker images, or build from source with CMake. If you already have an older install, upgrade it (brew upgrade llama.cpp, for example) and check the version banner when it starts.

Step 2: Run a model

The README’s quick start downloads a small model straight from Hugging Face and opens a chat:

llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF

To serve it instead, with the built-in web UI and an OpenAI-compatible API:

llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF

The classic binaries are still there. If you prefer llama-server with explicit flags, set the port yourself so your client URLs don’t change:

llama-server -hf ggml-org/Qwen3.5-0.8B-GGUF --port 8080

Point any OpenAI client at http://localhost:8080/v1. Our OpenAI-compatible API guide has the client code.

Data Science in your pocket covers the first official llama.cpp v1.0 release (November 13, 2026).

Step 3: Try FP8 KV cache

The KV cache, the model’s memory of the conversation so far, can rival the weights in size at long contexts. v1.0 adds f8_e4m3 to the list of cache types:

llama-server -hf ggml-org/Qwen3.5-0.8B-GGUF --port 8080 \
  -c 32768 -ctk f8_e4m3 -ctv f8_e4m3
Bar chart of KV cache size at 32K tokens for Qwen3-8B by cache type: f16 and bf16 4.50 GiB, q8_0 2.39 GiB, f8_e4m3 2.25 GiB, q4_0 1.27 GiB
FP8 halves the default f16 cache, about the same as q8_0. Our calculation from the model’s architecture.

The server README lists the allowed values for -ctk/--cache-type-k and -ctv/--cache-type-v as f32, f16, bf16, f8_e4m3, q8_0, q4_0, q4_1, iq4_nl, q5_0 and q5_1, with f16 as the default. FP8 roughly halves cache memory versus f16. The pull request notes that some models ship FP8 KV scales, which llama.cpp can now use. As with any lower-precision cache, compare output quality on your own prompts. Our VRAM guide explains how to budget weights and cache together.

Troubleshooting

  • llama: command not found after the installer runs: open a new terminal so your PATH updates, or use the full path the installer prints.
  • Old build still running: which llama-server (or where llama-server on Windows) shows which copy you’re getting. Remove or upgrade the old one.
  • Breaking API errors in your own code: v1.0 removed deprecated functions. Check the API section of the release notes for replacements.
  • HF_TOKEN not used for a mirror: by design, v1.0 only sends it to huggingface.co hosts.
  • Server tools or MCP stop working when you bind to your LAN IP: v1.0 disables server tools, MCP servers and the MCP proxy on a non-loopback address unless you set an API key. The --allow-unauthenticated-tools opt-in exists, but the README says it is only for trusted networks.
  • Image URLs pointing at local addresses are rejected: media URLs must be public by default now. --media-allow-private-urls turns that off.

Bottom line

llama.cpp v1.0.0 is a stability milestone more than a reinvention, but it’s still a good reason to update. Install it with the official script or your package manager, run a model with llama cli -hf, and try -ctk f8_e4m3 -ctv f8_e4m3 if long contexts are eating your memory. If you’re deciding between llama.cpp and the apps built on it, see our llama.cpp vs Ollama vs LM Studio comparison.

Sources

Facts checked against the sources above on November 17, 2026.

Cover image: Hugging Face (official image)