lium provider
Manage your provider account and nodes from the terminal: everything the provider portal does. To install the node software on a host, use lium mine.
Shared flags
Every lium provider command takes these.
| Flag | What it does |
|---|---|
-w, --coldkey NAME | Wallet (coldkey) name; or LIUM_PROVIDER_COLDKEY |
-k, --hotkey NAME | Hotkey name on that wallet; or LIUM_PROVIDER_HOTKEY |
-y, --yes | Confirm changes without asking; or LIUM_PROVIDER_ACK=1 |
--json | Print one JSON result per command |
--dry-run | Show what would be sent, send nothing |
--debug | Print more detail on errors |
--portal-url URL | Use another portal URL |
Save your wallet once
lium config set provider.coldkey my-wallet
lium config set provider.hotkey my-hotkey
lium provider portal
Log in to the provider portal with your hotkey.
Usage
lium provider portal login|logout|whoami
Flags
| Flag | What it does |
|---|---|
--force | On login: log in again even with a saved session |
--email ADDRESS | On login: sign in to an e-mail account (no key); password from LIUM_PROVIDER_PASSWORD or asked |
--totp-code CODE | On login with two-factor on: the code from your authenticator app, or a recovery code; asked when omitted in a terminal (v0.37.0+) |
--token | On login: save a portal API token for an e-mail or Google account; asked, not typed on the command line |
Which account commands act on (v0.46.16+)
The latest login decides. After login --email or login --token, the lium provider commands (status, node, billing, machine-request, machine, sync and the config read and opt-in commands) act on that account, even with provider.hotkey saved; lium provider status then reports that account. config set-email and config set-password sign with a hotkey, so while an e-mail account or token is active they need --hotkey <name> (and change that hotkey's account) or a plain login first. The signed-in account changes its e-mail and password in the portal (Account settings). A plain login switches back to the hotkey, and logout from the e-mail account or token goes back to it too. --hotkey or LIUM_PROVIDER_HOTKEY always wins. whoami shows the active one (active_identity).
Example
lium provider portal login
lium provider status
Show your registration, portal session and node count at a glance.
Usage
lium provider status [OPTIONS]
Flags
| Flag | What it does |
|---|---|
--netuid N | Subnet to check (default 51) |
Example
lium provider status
lium provider node
Add, change and remove your nodes.
Usage
lium provider node SUBCOMMAND [ARGS] [OPTIONS]
| Subcommand | What it does |
|---|---|
list | List your nodes (--page, --limit) |
get NODE_ID | Show one node |
status NODE_ID | Show which validation step the node is on |
add | Add a node (flags below) |
rm NODE_ID | Remove a node |
address NODE_ID IP PORT | Move a node to a new IP and port, keeping its history |
update-price NODE_ID --price USD | Change the price per GPU-hour |
update-gpu NODE_ID --gpu-type TYPE --gpu-count N | Change the GPU type or count |
min-gpu set NODE_ID COUNT / min-gpu unset NODE_ID | Set or clear the minimum GPUs per rental |
notice-period set NODE_ID / notice-period unset NODE_ID | Tell renters about planned downtime (flags below) |
pods NODE_ID | List pods on the node |
machine-requests NODE_ID | List renter requests for the node |
notify-added NODE_ID --request-id ID | Mark a renter request as fulfilled |
Flags for node add
| Flag | What it does |
|---|---|
--gpu-type TYPE | GPU model, e.g. "NVIDIA H200 NVL" |
--gpu-count N | Number of GPUs (default 1) |
--ip IP | Node IPv4 address |
--port PORT | Node port (default 8080) |
--price USD | Price per GPU-hour (default: the GPU's base price) |
Flags for node status
| Flag | What it does |
|---|---|
--watch | Refresh until you press Ctrl-C |
--until-clear | With --watch: stop once nothing blocks the node |
--interval SECONDS | Time between refreshes (default 5) |
--timeout SECONDS | How long --until-clear waits |
--fail-on-blocked | Exit 10 while something blocks the node |
Flags for notice-period set
| Flag | What it does |
|---|---|
--start TIME | Start time with a UTC offset, e.g. 2026-11-01T09:00:00+00:00; at least 24 h ahead (48 h with --permanent) |
--minutes N | Maintenance window, 1–60 minutes |
--permanent | Remove the node for good at the start time |
--reason TEXT | Reason shown to renters |
Example
lium provider node add --gpu-type "NVIDIA H200 NVL" --gpu-count 8 --ip 203.0.113.42 --yes
lium provider config
Change your provider account settings.
Usage
lium provider config SUBCOMMAND [ARGS] [OPTIONS]
| Subcommand | What it does |
|---|---|
show | Show your account profile |
connect-discord | Link your Discord account (--no-wait prints the link and returns) |
set-email EMAIL | Change your contact e-mail (the old confirmed address is told) |
set-password | Set your portal password (--password, or asked for) |
set-subscriptions --gpu TYPE | Get alerts for renter requests for these GPU types (repeat --gpu; none clears) |
opt-in / opt-out | Use lium.io's central miner server, or your own |
Connect Discord to be eligible for extra incentives.
Example
lium provider config connect-discord
lium provider sync
Sync node data between the portal and the central miner server.
Usage
lium provider sync from-miner-server|to-miner-server
Example
lium provider sync from-miner-server --yes
lium provider billing
List your own earnings, one row per UTC day and kind. Shows the last 30 days by default, at most 90 per call.
Usage
lium provider billing list [--from YYYY-MM-DD] [--to YYYY-MM-DD]
Example
lium provider billing list --from 2026-10-01 --to 2026-10-17
lium provider machine-request
List what renters are asking for. You see full details once one of your nodes is verified; before that, only counts.
Usage
lium provider machine-request list
lium provider machine-request get REQUEST_ID
Example
lium provider machine-request list
lium provider machine
List GPU models and estimate rewards for a setup.
Usage
lium provider machine list
lium provider machine estimate --gpu-type TYPE --gpu-count N [--gpu-price USD]
Example
lium provider machine estimate --gpu-type "NVIDIA H200 NVL" --gpu-count 8
Exit codes
lium provider uses its own exit codes, not the general ones. Branch on error.code in the --json result. Since lium 0.13.0 it is the dotted form, for example portal.request_rejected; the names below are in error.legacy_code.
| Code | Meaning | Error codes |
|---|---|---|
0 | Success | |
1 | Bad input | ARG_INVALID, PORTS_INVALID, HOTKEY_NOT_REGISTERED, PORTAL_REQUEST_REJECTED |
2 | Login problem or not allowed | PORTAL_AUTH_INVALID, PORTAL_AUTH_EXPIRED, WALLET_NOT_FOUND, PORTAL_FORBIDDEN |
3 | Portal error | PORTAL_SERVER_ERROR, PORTAL_NOT_FOUND, PORTAL_CONTRACT_DRIFT, PORTAL_RATE_LIMIT |
5 | SSH error | SSH_UNREACHABLE, SSH_AUTH_FAILED |
6 | Missing setting | CONFIG_MISSING |
7 | Another lium provider command is logging in; retry | PORTAL_AUTH_REFRESH_RACE |
10 | Node blocked (with --fail-on-blocked or --until-clear) |