Chapter 6
Administration
Set up users and API keys, change settings without a restart, watch traffic, and run several machines.
Access and settings
- Authentication and authorization: API keys, users, roles and per-user features.
- Runtime settings: change settings in the web interface without a restart.
- Reverse proxy and TLS: put LocalAI behind a TLS proxy.
Watch what the instance does
- Admin overview: where to look first.
- Traffic: usage, failed requests, models, GPU and host.
- Activity: watch, cancel and retry installs.
- Backend monitor: list, pre-load and stop running backends.
- Tracing and Profiling and request diagnostics.
Proxies and middleware
- Middleware: PII filtering and routing
- Remotes: use the models of another LocalAI, an OpenAI-compatible service or Anthropic.
- Cloud passthrough proxy
- MITM proxy for Claude Code and Codex CLI
More than one machine
- Distributed mode
- P2P, Federation and Model-split workers over P2P
- Moving from the old P2P network
- MLX distributed