ld
How it works

Architecture

One public port, three surfaces, and a clear split of responsibilities.

llama-dash is a dashboard UI plus a logging, auth-ready proxy in front of a local inference backend. It exposes one public port with three surfaces:

client ──► llama-dash :3000 ──► inference backend ──► model server procs

           ├─ UI      (/)        the dashboard
           ├─ Admin   (/api/*)   data for the UI
           └─ Proxy   (/v1/*)    what clients actually hit

The inference backend is not exposed on the host in the bundled compose setup. The proxy layer is where auth, ACLs, rate-limiting, policies, and logging all hang off.

Responsibilities

llama-dash ownsThe inference backend owns
Proxy policy, routing, and filtersLocal model processes
Authentication and API keysLoading/unloading models
Request logging and metricsRunning inference
Backend normalizationGGUF / llama.cpp specifics

llama-dash does not run inference itself — that is the selected backend's job (currently llama-swap over llama.cpp). It is a single-team, single-box tool, not a multi-tenant SaaS.

The three surfaces

  • Proxy (/v1/*) — the OpenAI/Anthropic-compatible pass-through clients connect to. See The proxy.
  • Admin API (/api/*) — JSON endpoints the dashboard reads, gated by dashboard auth. See the admin API reference.
  • UI (/) — the dashboard itself. See The dashboard.

Last updated on

On this page