Install
pip install lifeboatrouterLifeboat Router ships as a compiled wheel (the logic is native extensions, not Python source). Wheels are published for Linux (x86_64, aarch64) and macOS (Apple silicon and Intel) on CPython 3.10–3.12.
Start it
Section titled “Start it”lifeboatrouter # UI + OpenAI API on http://localhost:9500, opens your browserlifeboatrouter serve # same, without opening a browser (services, containers)On first start the UI asks you to create an admin account and set its password — nothing is exposed until you do. From there the admin adds servers, sets prices, and (to sell) adds Stripe keys or a license.
Turn an engine into a seller automatically
Section titled “Turn an engine into a seller automatically”pip cannot run anything at install time, so install the package into the Python environment
that runs your engine. The next time the engine starts, its plugin announces it to the router
and launches the router if it is not already running:
pip install lifeboatrouter # in the same env as vLLM / SGLang / Lifeboatvllm serve <model> # the router comes up and lists this modelA banner on the engine’s console points to the URL where you finish setup. LIFEBOAT_ROUTER=0
disables the plugin; LIFEBOAT_ROUTER_AUTOSTART=0 announces the engine without starting a router
(useful when the router runs as a service or on another machine).
Smart-routing classifier (optional)
Section titled “Smart-routing classifier (optional)”model: "auto" routes on fast text heuristics out of the box. For the ML classifier:
pip install "lifeboatrouter[classifier]"and place the router model files (router.int8.onnx, labels.json, vocab.txt) in
~/.lifeboat_router/router-model/. See Smart routing.
Run it at boot
Section titled “Run it at boot”lifeboatrouter install-service # systemd user unit (Linux) or launchd agent (macOS)Where its state lives
Section titled “Where its state lives”~/.lifeboat_router/ (override with LIFEBOAT_ROUTER_HOME): config.yaml, the SQLite database
router.db, and engine announcements. See the
configuration reference.