Llama.cpp 1.0 Tutorial: What's New and How to Get Started with Desktop App
Explore what's new in llama.cpp 1.0, install the desktop app on Windows or macOS, run local AI models, and test it with Web-UI, CLI, and OpenAI-compatible API.
Running AI models locally wasn't always easy. We had to clone repositories, build llama.cpp from source, configure hardware acceleration, and find the right quantized models. Even after all that, things didn't always work as expected. Models wouldn't load, performance was disappointing, or compatibility issues sent us back to the terminal.
Thankfully, things have changed quite a bit. On November 13, 2026, after 3.5 years of development, llama.cpp reached version 1.0, bringing semantic versioning, a stable API, and a more mature ecosystem. It's about making local AI more reliable, accessible, and easier to manage across different hardware.
There's also an official Llama desktop app for macOS and Windows. Instead of dealing with complicated commands, we can browse models that fit our hardware, download them, start chatting, and serve them through a local API for other applications.
In this article, I'll cover what's new in llama.cpp 1.0 and how it compares with Strata and Ollama. I'll also get hands-on with the desktop app, run a lightweight multimodal model through the built-in Web UI, call it with curl through the OpenAI-compatible API, and tune inference parameters from the command line.
llama.cpp 1.0.0 was released on November 13, 2026. Breaking changes to the public C API now require a major-version bump.
The release adds FP8 KV caching, a host-memory MoE expert cache, new models and text-to-speech support, plus a hardened server and a redesigned web UI.
The team hasn't published an overall performance comparison with the previous version, so this is a stability release, not a speed release.
The Llama desktop app (macOS and Windows 11) downloads models, chats with them, and serves an OpenAI-compatible API on port 9931.
On Linux, you get the llama command-line tool but no desktop app.
What Is llama.cpp?
llama.cpp is an open-source C/C++ library for running large language model (LLM) inference on local hardware. Georgi Gerganov created it in 2023 as an implementation of Meta's LLaMA architecture. Today the ggml-org team at Hugging Face maintains it.
The project has more than 132,000 GitHub stars and more than 11,900 commits, and it supports over 150 model architecture variants. It's one of the most active open-source communities around LLM inference.
Universal compatibility: llama.cpp is a CPU-first C/C++ library with no required dependencies, so it integrates easily into other programming environments. It also runs on NVIDIA and AMD GPUs, Apple Silicon, Vulkan, and other backends, and it can split a model between CPU and GPU when VRAM is limited.
Quantization: it supports 1.5-bit to 8-bit integer quantization, which cuts memory use and speeds up inference.
Broad model support: models in the GGUF format cover more than 150 architecture variants, and the GGUF format replaced the older GGML format.
The LLaMA Architecture Behind llama.cpp
llama.cpp started as an implementation of Meta's LLaMA models, which are transformer-based. The LLaMA authors adopted several improvements that other models, such as GPT-3 and PaLM, had proposed. That original design is still the best-known baseline, even though llama.cpp now runs far more architectures.
Difference between Transformers and Llama architecture (Llama architecture by Umar Jamil)
LLaMA differs from the original Transformer in three main ways:
Pre-normalization (GPT-3): improves training stability by normalizing the input of each transformer sub-layer with RMSNorm, instead of normalizing the output.
SwiGLU activation function (PaLM): replaces the ReLU non-linearity and improves performance.
Rotary embeddings (GPT-Neo): adds rotary positional embeddings (RoPE) at each layer and removes the absolute positional embeddings.
A Brief History of llama.cpp
It all started in March 2023, when Georgi Gerganov introduced llama.cpp with a simple goal: to run Meta's LLaMA models on everyday computers, especially MacBooks, without expensive GPUs. The project used C/C++ and 4-bit quantization to make large language models smaller and easier to run.
What started as a small experiment became one of the most important projects in local AI. Over time, llama.cpp added GPU acceleration, support for more hardware, and the GGUF format, which made downloading and running quantized models much easier.
Apps such as Ollama and LM Studio build on llama.cpp, so we can download models, chat with them, and build local AI assistants without thinking about the inference engine underneath. In February 2026, the GGML team led by Gerganov joined Hugging Face, and version 1.0 followed nine months later.
What's New in llama.cpp 1.0?
llama.cpp 1.0.0 brings semantic versioning, new memory features, expanded model support, and a hardened inference server. The team also published a release announcement on Hugging Face. Here are the key changes:
Stable APIs: API and ABI incompatibilities in libllama and libggml now require a major-version bump.
Better memory efficiency: FP8 (8-bit floating point) KV caching reduces cache memory use. A new host-memory expert cache for mixture-of-experts (MoE) models keeps frequently used experts close to the GPU.
New model support: the release adds Kimi-K3.1-Pro, Ripple-65B-Preview and xing4_0, plus drama-3 text-to-speech and vision support for MageVL-Cowork and Kimi-K3.1.
Improved server: a new OpenAI-compatible /v1/audio/speech endpoint, plus fixes for SSRF, CORS and DNS rebinding vulnerabilities and cancellation of MCP tool calls.
Better web interface: chat groups, a live-preview Markdown editor, and a native-feeling mobile layout.
Hardware optimizations: ggml 1.0.0 updates the CUDA, Metal, Vulkan, SYCL, OpenCL and WebGPU backends.
1.0 is itself a breaking release. It removes 35 deprecated functions and the --defrag-thold flag, and it moves the NextN speculative decoding API into llama.h. If you link against the library, check the removals in pull request 30565 before you upgrade.
Version 1.0 prioritizes a stable foundation that works across models, hardware, and local AI applications. The team hasn't published an overall performance comparison with the previous version, so don't expect a speed headline. I think the stability guarantee is what makes this release important.
How Does llama.cpp 1.0 Compare With Strata?
Strata is a community-built inference engine, still at version 0.2.x, that focuses on running large MoE models on limited GPU memory. Its release notes list testing on NVIDIA, AMD and Intel GPUs, and they report per-card speeds such as 82 tokens per second on a Radeon AI PRO R9700.
Strata isn't fully independent of llama.cpp. Until version 0.2.14, its prompt processing used code taken from llama.cpp, and it still ships ggml sources. I haven't found a published head-to-head benchmark against llama.cpp, so I can't say how much faster it is on supported models.
One Reddit user, u/Don_Reuter, tested Strata on two AMD Radeon AI PRO R9700 GPUs. The speeds looked impressive on paper, but they hit frequent hangs on longer tasks when offloading experts to system RAM. In the end, they found no real-world advantage over their existing llama.cpp setup.
llama.cpp offers much broader flexibility. It supports over 150 model architecture variants and runs on CPUs, NVIDIA and AMD GPUs, Apple Silicon, and other accelerators. CPU-GPU hybrid inference lets us offload model layers when VRAM is limited, so llama.cpp remains the more versatile choice for everyday local AI.
llama.cpp vs Ollama
Ollama and LM Studio both build on llama.cpp, so the 1.0 stability guarantee reaches their users too. They update on their own schedule, so a new llama.cpp release doesn't show up in those apps the same day.
The Llama desktop app, which I cover next, is the first-party option from the llama.cpp team and Hugging Face. It uses the current llama.cpp engine and shares the Hugging Face model cache with llama.cpp and other tools.
Getting Started With the Llama Desktop App
We can install llama.cpp by cloning the GitHub repository and building it from source, using the one-line installer, or downloading the desktop app. I prefer the desktop app because it handles model downloads, configuration, and local inference without terminal commands.
Visit llama.app and download the app for macOS or Windows 11. On Linux, install the command-line version with curl -LsSf https://llama.app/install.sh | sh. There's no desktop app for Linux yet.
Download the Llama app for Windows 11 from llama.app
Since I'm using Windows, I downloaded the Windows version. Installation took only a few seconds because the app is tiny.
The Llama app runs from the Windows system tray
Once installed, it runs in the Windows system tray. We can click its icon to browse recommended models, manage downloaded models, and open the settings.
For testing, I selected LFM3-Omni-2B, a lightweight multimodal model from Liquid AI. It accepts text, image, audio, and video input, although video needs FFmpeg. The 4-bit Q4_K_M quantization has about 1.1 GB of main model weights, and the app lists the full download at 1.8 GB once the multimodal components are included.
Downloading LFM3-Omni-2B with 4-bit quantization
Once the download finishes, we can select the model and click Chat to launch the built-in llama.cpp web interface. There's no separate server to configure and no other application to install.
Chatting with LFM3-Omni-2B in the built-in web interface
The performance was quite impressive. I was getting around 180 tokens per second on my laptop, which is excellent for a small local model. I also asked it to build a website, and it generated a simple working page. The design and code weren't as polished as what larger models produce, but for a 2B-parameter model the result was pretty good.
Testing LFM3-Omni-2B in the llama.cpp web interface
Using the Local API Server
What I like even more is that the desktop app also provides a local API server. It speaks the OpenAI API (and Anthropic-compatible endpoints too), so we can connect the model to our own applications without paying for cloud inference. Point any OpenAI SDK at http://localhost:9931/v1.
For example, we can send a simple request with curl on macOS, Linux, or Git Bash:
curl http://127.0.0.1:9931/v1/chat/completions \-H"Content-Type: application/json"\-d'{
"model": "ggml-org/LFM3-Omni-2B-GGUF:Q4_K_M",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
]
}'Powered by
In Windows PowerShell, curl is an alias for Invoke-WebRequest and doesn't accept these flags, so use Invoke-RestMethod instead:
Invoke-RestMethod-Uri http://127.0.0.1:9931/v1/chat/completions `
-Method Post `
-ContentType "application/json" `
-Body '{"model": "ggml-org/LFM3-Omni-2B-GGUF:Q4_K_M", "messages": [{"role": "user", "content": "Hello, how are you?"}]}'Powered by
Testing the llama.cpp server with curl
The request goes to our locally running model, and the server returns its response as JSON. We can connect coding assistants, chat applications, and other tools that support OpenAI-compatible endpoints in the same way.
That's what makes the new desktop experience so useful. We can download models, chat with them, test their performance, and serve them through an API, all from one lightweight application.
Using llama.cpp From the Command Line
The desktop app also installs the llama command-line interface (CLI), so we can run models from a terminal or PowerShell without installing anything else. To check that it's available, open a new terminal and run:
We can start an interactive chat session in the terminal with the model we downloaded earlier:
llama cli -hf ggml-org/LFM3-Omni-2B-GGUF:Q4_K_MPowered by
Launching the llama CLI with LFM3-Omni-2B
The desktop app configures models automatically, but the CLI lets us override inference parameters to change performance, memory use, and model behavior:
llama cli -hf ggml-org/LFM3-Omni-2B-GGUF:Q4_K_M -c8192-ngl all -fa on --temp0.7Powered by
Running the llama CLI with custom inference parameters
By default, llama.cpp adjusts unset options to fit your available memory, so -ngl all and -fa on are explicit overrides rather than requirements. Here's what each parameter does:
-hf: downloads the specified model from Hugging Face and caches it, or loads it from the local cache.
-c 8192: sets the context window to 8,192 tokens.
-ngl all: offloads all model layers to the GPU, subject to available VRAM.
-fa on: turns on Flash Attention for more efficient attention computation and memory use.
--temp 0.7: sets the sampling temperature, which controls how random the responses are. The default is 0.8.
Play with these parameters to find the best configuration for your hardware and workload. You can also run llama cli --list-devices to see which GPUs llama.cpp detects.
Similarly, we can launch a local inference server with our own settings:
llama serve -hf ggml-org/LFM3-Omni-2B-GGUF:Q4_K_M -c8192-ngl all -fa on --port8080Powered by
This serves an OpenAI-compatible API at http://localhost:8080/v1. The desktop app uses port 9931, so the two don't clash. To see more inference, memory, and optimization options, run:
What I like about this setup is that we get the convenience of the desktop app and the flexibility of the CLI. We can use the graphical interface for everyday tasks and switch to the terminal when we want more control.
Final Thoughts
llama.cpp 1.0 is a stability release. Many of us hoped for a big performance jump, perhaps Qwen3.8-Flash-Next at 300 tokens per second on consumer hardware, but the team's focus was on stable APIs, broader compatibility, and easier setup.
I think that matters just as much. With semantic versioning, wider hardware support, and a lightweight desktop app, we can download, run, and serve models without a complicated setup. Running LFM3-Omni-2B through the desktop app showed me how simple and fast local AI has become.
Performance-focused engines like Strata will keep pushing what our hardware can do. llama.cpp is building a reliable, flexible foundation for a wide range of models, devices, and applications, and 1.0 is the point where developers can start depending on it.
llama.cpp 1.0 FAQs
What's new in llama.cpp 1.0?⌄
llama.cpp 1.0.0, released on November 13, 2026, adds semantic versioning, FP8 KV caches, a host-memory MoE expert cache, new models (Kimi-K3.1-Pro, Ripple, xing4_0), drama-3 text-to-speech, a hardened server, and a redesigned web UI. It also removes 35 deprecated API functions.
Is llama.cpp 1.0 faster than previous versions?⌄
The team hasn't published an overall performance comparison with the previous version. ggml 1.0.0 does include backend optimizations for CUDA, Metal, Vulkan and other backends, so results depend on your model and hardware.
Does llama.cpp 1.0 break existing code?⌄
It can. The release removes 35 deprecated functions and the --defrag-thold flag, and it moves the NextN API into llama.h. From now on, API and ABI breaks require a major-version bump.
Is there a Llama desktop app for Linux?⌄
No. The Llama desktop app is available for macOS and Windows 11. On Linux, install the command-line version with the llama.app/install.sh script and use llama cli and llama serve.
How do I run llama.cpp as an OpenAI-compatible server?⌄
Run llama serve -hf <model> with a Hugging Face model name, then point any OpenAI SDK at http://localhost:8080/v1. The Llama desktop app does the same on port 9931.
What's the difference between llama.cpp and Ollama?⌄
llama.cpp is the inference engine, and Ollama is an application built on top of it. Ollama adopts llama.cpp changes on its own schedule, while the Llama desktop app comes from the llama.cpp team itself.
As a certified data scientist, I am passionate about leveraging cutting-edge technology to create innovative machine learning applications. With a strong background in speech recognition, data analysis and reporting, MLOps, conversational AI, and NLP, I have honed my skills in developing intelligent systems that can make a real impact. In addition to my technical expertise, I am also a skilled communicator with a talent for distilling complex concepts into clear and concise language. As a result, I have become a sought-after blogger on data science, sharing my insights and experiences with a growing community of fellow data professionals. Currently, I am focusing on content creation and editing, working with large language models to develop powerful and engaging content that can help businesses and individuals alike make the most of their data.
Master the Ollama Python SDK for local LLM development. Learn to generate text, handle multi-turn chats, use vision models, and build AI apps securely.
Llama Stack is a set of standardized tools and APIs developed by Meta that simplifies the process of building and deploying large language model applications.
Discover how to begin responsibly leveraging generative AI. Learn how generative AI models are developed and how they will impact society moving forward.
Running AI models locally wasn't always easy. We had to clone repositories, build llama.cpp from source, configure hardware acceleration, and find the right quantized models. Even after all that, things didn't always work as expected. Models wouldn't load, performance was disappointing, or compatibility issues sent us back to the terminal.
Thankfully, things have changed quite a bit. On November 13, 2026, after 3.5 years of development, llama.cpp reached version 1.0, bringing semantic versioning, a stable API, and a more mature ecosystem. It's about making local AI more reliable, accessible, and easier to manage across different hardware.
There's also an official Llama desktop app for macOS and Windows. Instead of dealing with complicated commands, we can browse models that fit our hardware, download them, start chatting, and serve them through a local API for other applications.
In this article, I'll cover what's new in llama.cpp 1.0 and how it compares with Strata and Ollama. I'll also get hands-on with the desktop app, run a lightweight multimodal model through the built-in Web UI, call it with curl through the OpenAI-compatible API, and tune inference parameters from the command line.
You can also see our guides to Ollama and running LLMs locally.
In a Nutshell
llamacommand-line tool but no desktop app.What Is llama.cpp?
llama.cpp is an open-source C/C++ library for running large language model (LLM) inference on local hardware. Georgi Gerganov created it in 2023 as an implementation of Meta's LLaMA architecture. Today the ggml-org team at Hugging Face maintains it.
The project has more than 132,000 GitHub stars and more than 11,900 commits, and it supports over 150 model architecture variants. It's one of the most active open-source communities around LLM inference.
The LLaMA Architecture Behind llama.cpp
llama.cpp started as an implementation of Meta's LLaMA models, which are transformer-based. The LLaMA authors adopted several improvements that other models, such as GPT-3 and PaLM, had proposed. That original design is still the best-known baseline, even though llama.cpp now runs far more architectures.
LLaMA differs from the original Transformer in three main ways:
A Brief History of llama.cpp
It all started in March 2023, when Georgi Gerganov introduced llama.cpp with a simple goal: to run Meta's LLaMA models on everyday computers, especially MacBooks, without expensive GPUs. The project used C/C++ and 4-bit quantization to make large language models smaller and easier to run.
What started as a small experiment became one of the most important projects in local AI. Over time, llama.cpp added GPU acceleration, support for more hardware, and the GGUF format, which made downloading and running quantized models much easier.
Apps such as Ollama and LM Studio build on llama.cpp, so we can download models, chat with them, and build local AI assistants without thinking about the inference engine underneath. In February 2026, the GGML team led by Gerganov joined Hugging Face, and version 1.0 followed nine months later.
What's New in llama.cpp 1.0?
llama.cpp 1.0.0 brings semantic versioning, new memory features, expanded model support, and a hardened inference server. The team also published a release announcement on Hugging Face. Here are the key changes:
libllamaandlibggmlnow require a major-version bump./v1/audio/speechendpoint, plus fixes for SSRF, CORS and DNS rebinding vulnerabilities and cancellation of MCP tool calls.1.0 is itself a breaking release. It removes 35 deprecated functions and the
--defrag-tholdflag, and it moves the NextN speculative decoding API intollama.h. If you link against the library, check the removals in pull request 30565 before you upgrade.Version 1.0 prioritizes a stable foundation that works across models, hardware, and local AI applications. The team hasn't published an overall performance comparison with the previous version, so don't expect a speed headline. I think the stability guarantee is what makes this release important.
How Does llama.cpp 1.0 Compare With Strata?
Strata is a community-built inference engine, still at version 0.2.x, that focuses on running large MoE models on limited GPU memory. Its release notes list testing on NVIDIA, AMD and Intel GPUs, and they report per-card speeds such as 82 tokens per second on a Radeon AI PRO R9700.
Strata isn't fully independent of llama.cpp. Until version 0.2.14, its prompt processing used code taken from llama.cpp, and it still ships ggml sources. I haven't found a published head-to-head benchmark against llama.cpp, so I can't say how much faster it is on supported models.
One Reddit user, u/Don_Reuter, tested Strata on two AMD Radeon AI PRO R9700 GPUs. The speeds looked impressive on paper, but they hit frequent hangs on longer tasks when offloading experts to system RAM. In the end, they found no real-world advantage over their existing llama.cpp setup.
llama.cpp offers much broader flexibility. It supports over 150 model architecture variants and runs on CPUs, NVIDIA and AMD GPUs, Apple Silicon, and other accelerators. CPU-GPU hybrid inference lets us offload model layers when VRAM is limited, so llama.cpp remains the more versatile choice for everyday local AI.
llama.cpp vs Ollama
Ollama and LM Studio both build on llama.cpp, so the 1.0 stability guarantee reaches their users too. They update on their own schedule, so a new llama.cpp release doesn't show up in those apps the same day.
The Llama desktop app, which I cover next, is the first-party option from the llama.cpp team and Hugging Face. It uses the current llama.cpp engine and shares the Hugging Face model cache with llama.cpp and other tools.
Getting Started With the Llama Desktop App
We can install llama.cpp by cloning the GitHub repository and building it from source, using the one-line installer, or downloading the desktop app. I prefer the desktop app because it handles model downloads, configuration, and local inference without terminal commands.
Visit llama.app and download the app for macOS or Windows 11. On Linux, install the command-line version with
curl -LsSf https://llama.app/install.sh | sh. There's no desktop app for Linux yet.Since I'm using Windows, I downloaded the Windows version. Installation took only a few seconds because the app is tiny.
Once installed, it runs in the Windows system tray. We can click its icon to browse recommended models, manage downloaded models, and open the settings.
For testing, I selected LFM3-Omni-2B, a lightweight multimodal model from Liquid AI. It accepts text, image, audio, and video input, although video needs FFmpeg. The 4-bit Q4_K_M quantization has about 1.1 GB of main model weights, and the app lists the full download at 1.8 GB once the multimodal components are included.
Once the download finishes, we can select the model and click Chat to launch the built-in llama.cpp web interface. There's no separate server to configure and no other application to install.
The performance was quite impressive. I was getting around 180 tokens per second on my laptop, which is excellent for a small local model. I also asked it to build a website, and it generated a simple working page. The design and code weren't as polished as what larger models produce, but for a 2B-parameter model the result was pretty good.
Using the Local API Server
What I like even more is that the desktop app also provides a local API server. It speaks the OpenAI API (and Anthropic-compatible endpoints too), so we can connect the model to our own applications without paying for cloud inference. Point any OpenAI SDK at
http://localhost:9931/v1.For example, we can send a simple request with curl on macOS, Linux, or Git Bash:
In Windows PowerShell,
curlis an alias forInvoke-WebRequestand doesn't accept these flags, so useInvoke-RestMethodinstead:The request goes to our locally running model, and the server returns its response as JSON. We can connect coding assistants, chat applications, and other tools that support OpenAI-compatible endpoints in the same way.
That's what makes the new desktop experience so useful. We can download models, chat with them, test their performance, and serve them through an API, all from one lightweight application.
Using llama.cpp From the Command Line
The desktop app also installs the
llamacommand-line interface (CLI), so we can run models from a terminal or PowerShell without installing anything else. To check that it's available, open a new terminal and run:We can start an interactive chat session in the terminal with the model we downloaded earlier:
The desktop app configures models automatically, but the CLI lets us override inference parameters to change performance, memory use, and model behavior:
By default, llama.cpp adjusts unset options to fit your available memory, so
-ngl alland-fa onare explicit overrides rather than requirements. Here's what each parameter does:-hf: downloads the specified model from Hugging Face and caches it, or loads it from the local cache.-c 8192: sets the context window to 8,192 tokens.-ngl all: offloads all model layers to the GPU, subject to available VRAM.-fa on: turns on Flash Attention for more efficient attention computation and memory use.--temp 0.7: sets the sampling temperature, which controls how random the responses are. The default is 0.8.Play with these parameters to find the best configuration for your hardware and workload. You can also run
llama cli --list-devicesto see which GPUs llama.cpp detects.Similarly, we can launch a local inference server with our own settings:
This serves an OpenAI-compatible API at
http://localhost:8080/v1. The desktop app uses port 9931, so the two don't clash. To see more inference, memory, and optimization options, run:What I like about this setup is that we get the convenience of the desktop app and the flexibility of the CLI. We can use the graphical interface for everyday tasks and switch to the terminal when we want more control.
Final Thoughts
llama.cpp 1.0 is a stability release. Many of us hoped for a big performance jump, perhaps Qwen3.8-Flash-Next at 300 tokens per second on consumer hardware, but the team's focus was on stable APIs, broader compatibility, and easier setup.
I think that matters just as much. With semantic versioning, wider hardware support, and a lightweight desktop app, we can download, run, and serve models without a complicated setup. Running LFM3-Omni-2B through the desktop app showed me how simple and fast local AI has become.
Performance-focused engines like Strata will keep pushing what our hardware can do. llama.cpp is building a reliable, flexible foundation for a wide range of models, devices, and applications, and 1.0 is the point where developers can start depending on it.