Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
A C/C++ engine for running large language models in GGUF format on CPUs and GPUs with minimal setup. Its llama-server binary serves an OpenAI-compatible API and a built-in web chat, can download models straight from Hugging Face, and supports API keys. Official container images cover CPU, CUDA, ROCm, Vulkan, SYCL and other backends; usable model size and speed depend on your memory and hardware.
Runs on a VPS from $12/mo (Kamatera 4GB, 4 GB RAM) · prices checked Nov 2026
Fits home hardware (850 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# llama.cpp — llama-server with its web chat — image ghcr.io/ggml-org/llama.cpp pinned to server-v1.1.0 (CPU)
# Our Compose file: the small Apache-2.0 model ggml-org/Qwen3-0.6B-GGUF (Q4_0, about 430 MB, downloaded on first start), a volume for the model cache, and a generated API key
mkdir llama-cpp && cd llama-cpp
echo "LLAMA_API_KEY=$(openssl rand -hex 24)" > .env
cat > docker-compose.yml <<'EOF'
services:
llama:
image: ghcr.io/ggml-org/llama.cpp:server-v1.1.0
restart: unless-stopped
env_file: .env
environment:
LLAMA_CACHE: /models
command: ["-hf", "ggml-org/Qwen3-0.6B-GGUF:Q4_0", "--host", "0.0.0.0", "--port", "8080", "-c", "4096"]
ports:
- "8080:8080"
volumes:
- llama-models:/models
volumes:
llama-models:
EOF
docker compose up -d
timeout 900 bash -c 'until curl -fs -o /dev/null http://localhost:8080/health; do sleep 5; done'
. ./.env
curl -fsS http://localhost:8080/v1/chat/completions -H "Authorization: Bearer $LLAMA_API_KEY" -H "Content-Type: application/json" -d '{"messages":[{"role":"user","content":"Say hi"}],"max_tokens":16,"chat_template_kwargs":{"enable_thinking":false}}'
# → http://SERVER_IP:8080 (enter LLAMA_API_KEY from .env in the web chat settings; this is plain HTTP, so put TLS in front before using it over the internet)llama.cpp used 850 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.10.1 (first boot, measured Nov 2026). We list a minimum of 2048 MB.
The llama.cpp install snippet is marked verified on Ubuntu 26.04 (Nov 2026).