Skip to main content

Open WebUI & llama.cpp

Last updated: November 14, 2026

llama.cpp, started by Georgi Gerganov, helped make running powerful models on everyday hardware accessible to an entire ecosystem. We're big fans of that work, and Llama app makes it even easier to enjoy: an official desktop app from the llama.cpp team and Hugging Face, with model downloads, browser chat, and a local API for your other apps.

Llama app · Documentation · GitHub · MIT License

Llama App: Local AI in a Few Clicks​

Llama lives in the Mac menu bar or Windows 11 system tray. Install it, choose a recommended model, download it, and open chat. The app also installs the llama command for terminal use. On Linux, the CLI and browser interface provide the way in. See the official installation guide.

The app recommends models for your hardware and handles their settings. Models share the Hugging Face cache with llama.cpp, and load when requested and unload when idle. You can chat locally or let editors, coding agents, and other clients use the same API. It's a compelling standalone option for anyone who wants local AI with very little setup. Explore Llama app →

What's New in llama.cpp​

The team released v1.0.0 on November 13, 2026, with a commitment to signal breaking changes to the public library API and ABI through major version bumps. That's a useful milestone for the many projects building on llama.cpp. Read the announcement →

The release also brings chat groups, a redesigned browser interface, a live-preview Markdown editor, and mobile layout improvements, alongside FP8 KV caches, improvements to caching mixture-of-experts models in host memory, and an OpenAI-compatible speech-generation endpoint for supported models. See the v1.0.0 release notes →


What llama.cpp Does Well​

  • Official desktop apps for managing and chatting with local models on Mac and Windows
  • Built-in browser chat with conversation branching, search, JSON import/export, reasoning display, and MCP support. Image, PDF, and audio attachments work with compatible models. Web UI documentation
  • Broad hardware support including CPU, CUDA, Metal, Vulkan, and SYCL
  • GGUF model ecosystem with ready-to-run quantized models on Hugging Face
  • Quantization options from Q2 to Q8 with multiple strategies for different quality/speed tradeoffs
  • Speculative decoding for faster generation using draft models
  • Flash Attention and other advanced inference optimizations
  • Grammar-constrained generation for structured outputs (JSON, code, etc.)
  • OpenAI- and Anthropic-compatible APIs, including streaming, tool calling, and structured output, for connecting other applications. API documentation
  • Multi-model router mode with loading on demand, plus concurrent requests and continuous batching. Server documentation
  • MIT licensed and actively maintained

What Open WebUI Does Well​

Llama already provides a capable chat interface and tool support. Open WebUI adds a shared workspace for knowledge, administration, customization, and multiple providers:

  • Full agentic platform on top of the models llama.cpp serves, with builtin tools the model calls itself, MCP servers, sub-agents, timers and automations
  • Customise practically everything, from per-model prompts, tools, knowledge and parameters to filters, pipes, actions and event functions that change behaviour anywhere in the pipeline, plus theming, banners and per-group permissions
  • Rich web platform with full chat, conversations, history, organization, and search
  • Knowledge & RAG with 13 vector databases, 8 extraction engines, and hybrid search with reranking
  • Multi-provider support to use llama.cpp models alongside OpenAI, Anthropic, Google, and others
  • Team platform with Channels, Notes, Automations, RBAC, SSO/OIDC/LDAP, and SCIM 2.0
  • Open Terminal providing a full computing environment for code execution
  • Multi-user support from one person to thousands

When to Use Each​

Use Llama app if you want an easy desktop entry point for downloading models, chatting locally, and connecting your other apps. Its built-in chat may be all you need.

Use the llama.cpp CLI if you want direct control over inference, scripting, or server deployment. The current commands include llama cli for terminal chat and llama serve for the HTTP API and browser UI. CLI documentation

Add Open WebUI if you want shared knowledge bases, team access and permissions, custom workflows, or local and cloud providers in the same workspace. It connects to Llama app or your llama.cpp server through the OpenAI-compatible API.


Use Them Together​

With Llama app, download a model and keep the app running. Its default API base URL is http://localhost:9931/v1. Llama API details

For a manual server, start a local GGUF model with an explicit port:

llama serve -m /path/to/your-model.gguf --port 9931

If your installation provides the standalone llama-server binary, use llama-server -m /path/to/your-model.gguf --port 9931 instead.

In Open WebUI, go to Settings → Connections → OpenAI → Add Connection (admin section):

  • URL: http://localhost:9931/v1 when Open WebUI runs directly on the same machine. Use your configured port if different.
  • Auth: None for a keyless server, or Bearer with the key configured on your server.
  • Provider: under Advanced, choose llama.cpp to enable Open WebUI's local model management features.

Save the connection and select a model. See the connection guide for model management and troubleshooting.

Open WebUI in Docker

Inside a container, localhost refers to that container. On Docker Desktop, use http://host.docker.internal:9931/v1 and ensure the server accepts connections from Docker. A manually launched server can use --host 0.0.0.0; restrict access to trusted clients and configure --api-key when exposing it beyond loopback. On Linux, host networking or a host-gateway mapping may be needed. See connection troubleshooting.


llama.cpp made local AI possible. Open WebUI builds a platform layer on top. They work well together.

Ready to try Open WebUI? Get started →


Frequently Asked Questions​

Does llama.cpp have an official desktop app? Yes. Llama app is the official desktop app from the llama.cpp team and Hugging Face, available for Mac and Windows 11. It manages local models and opens the built-in browser chat. Linux users can use the CLI and web UI.

Can I connect Llama app or llama-server to Open WebUI? Yes. Both expose an OpenAI-compatible API. For Open WebUI running directly on the same machine, add http://localhost:9931/v1 for Llama app, or use your server's configured port. Select Auth: None for a keyless server. Docker deployments need an address reachable from the container.

Does Open WebUI support llama-server's multi-model routing? Yes. Open WebUI lists the models advertised by the router's /v1/models endpoint. The router loads models on demand when selected for inference.

Is llama.cpp free? Yes. llama.cpp and the official Mac and Windows apps are free and MIT licensed. Downloaded models have their own licenses.


Related: Open WebUI & Ollama · Open WebUI & LM Studio · Open WebUI & Jan

This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.