Local AI
## what it does
tl;dr: “local AI” lands on four things — a runtime (Ollama), a GUI agent (LM Studio), an engine (llama.cpp), and a catalog (Hugging Face Hub). You do not pick one forever; the cluster composes. We do not invent a fourth runtime or mill GGUF files here.
Quick pick
| You want | Use | License (this fetch) |
|---|---|---|
CLI + REST API on :11434, Docker, scripts | Ollama | MIT |
| Desktop agent (docs, slides, skills, MCP, GUI) | LM Studio | Proprietary |
GGUF engine, every backend, llama-server | llama.cpp | MIT |
| Catalog + CLI + downloads for any open weight | Hugging Face Hub | Apache-2.0 |
Current versions (fetched 2026-09-10)
| Tool | Current | Source |
|---|---|---|
| Ollama | v0.34.0 (Sep 5, 2026) | GitHub releases |
| LM Studio | Bionic 1.1.2 (Sep 8, 2026) | lmstudio.ai/changelog |
| llama.cpp | v0.4.0 stable, with rolling b10894 pre-release (Sep 10, 2026) | GitHub releases |
| Hugging Face Hub (client) | huggingface_hub rolling | docs |
llama-server ships with the same binary as llama-cli; the rolling b10xxx pre-release tags are upstream’s daily cut. Treat v0.4.0 as the current stable.
How the cluster composes
llama.cpp ← engine (GGUF, Metal/CUDA/Vulkan/…)
↑
Ollama ← library + CLI + :11434
LM Studio runtime ← MLX + llama.cpp packs inside the app
↑
Open WebUI ← chat UI on top of any of the above (separate shelf)
Hugging Face ← catalog of weights; not a runtime
Apple Silicon: both Ollama and LM Studio use the MLX path. NVIDIA: Ollama Docker or llama.cpp CUDA. AMD: HIP or ROCm llama.cpp, or Ollama’s ROCm tarball. CPU-only: works for everything; expect 4-bit quant and small models.
By job
| Job | Pick | Why |
|---|---|---|
| Backend for an app, CI, Docker | Ollama | Headless, MIT, official install + Docker |
| Claude Code / Codex against local weights | Ollama (ollama launch claude) | Documented on ollama.com |
| Will compile flags yourself, want every backend | llama.cpp | llama-cli / llama-server; repo moved to ggml-org/llama.cpp |
| GUI agent for docs / slides / code | LM Studio | Bionic is the agent layer; Linux landed in 1.1.2 |
| Pick a weight, check the card, download | Hugging Face Hub | hf CLI + Python client |
What “local AI” usually means here
A query for “local AI” in 2026 lands on local LLMs. We do not catalog local image gen, local TTS, or local video models on this site — those are separate niches and the cluster above is already the four big ones for inference. If your task is text generation, summarization, code, embeddings, or chat, one of the four above runs it.
For a side-by-side of runtimes, see best local LLM and Ollama vs LM Studio.
Gotchas (from the fetched pages)
- API binds localhost with no auth by default on Ollama (
:11434) and llama-server (:8080). Do not expose to the internet without a reverse proxy. - MLX is Apple Silicon only. CUDA is NVIDIA. ROCm/HIP is AMD. Vulkan works on most GPUs but is slower. Pick the backend that matches your hardware before tuning flags.
- LM Studio is proprietary and closed-source. Use Ollama if that matters.
hf downloadstill hits the network unlessHF_HUB_OFFLINE=1. Gated models needhf auth login.- Cloud tier ≠ local. Both Ollama and LM Studio now have cloud products. Local is still free and never leaves the machine; cloud routes through their hosted capacity.
- Stars on the website are not always the same number as the SDK repo.
huggingface_hubis ~3.9k stars on GitHub — that is the CLI, not the Hub site. Don’t conflate them.
Related
- Ollama — MIT CLI + REST runtime (current v0.34.0)
- LM Studio — Bionic 1.1.2 desktop agent
- llama.cpp — v0.4.0 stable, MIT engine
- Hugging Face Hub — catalog and
hfCLI - Best local LLM — the roundup page for the same cluster
- Ollama vs LM Studio — table-first comparison
## embed this badge
