Skip to main content

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.

FlagWhat it does
-w, --coldkey NAMEWallet (coldkey) name; or LIUM_PROVIDER_COLDKEY
-k, --hotkey NAMEHotkey name on that wallet; or LIUM_PROVIDER_HOTKEY
-y, --yesConfirm changes without asking; or LIUM_PROVIDER_ACK=1
--jsonPrint one JSON result per command
--dry-runShow what would be sent, send nothing
--debugPrint more detail on errors
--portal-url URLUse 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

FlagWhat it does
--forceOn login: log in again even with a saved session
--email ADDRESSOn login: sign in to an e-mail account (no key); password from LIUM_PROVIDER_PASSWORD or asked
--totp-code CODEOn login with two-factor on: the code from your authenticator app, or a recovery code; asked when omitted in a terminal (v0.37.0+)
--tokenOn 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

FlagWhat it does
--netuid NSubnet to check (default 51)

Example

lium provider status

lium provider node​

Add, change and remove your nodes.

Usage

lium provider node SUBCOMMAND [ARGS] [OPTIONS]
SubcommandWhat it does
listList your nodes (--page, --limit)
get NODE_IDShow one node
status NODE_IDShow which validation step the node is on
addAdd a node (flags below)
rm NODE_IDRemove a node
address NODE_ID IP PORTMove a node to a new IP and port, keeping its history
update-price NODE_ID --price USDChange the price per GPU-hour
update-gpu NODE_ID --gpu-type TYPE --gpu-count NChange the GPU type or count
min-gpu set NODE_ID COUNT / min-gpu unset NODE_IDSet or clear the minimum GPUs per rental
notice-period set NODE_ID / notice-period unset NODE_IDTell renters about planned downtime (flags below)
pods NODE_IDList pods on the node
machine-requests NODE_IDList renter requests for the node
notify-added NODE_ID --request-id IDMark a renter request as fulfilled

Flags for node add

FlagWhat it does
--gpu-type TYPEGPU model, e.g. "NVIDIA H200 NVL"
--gpu-count NNumber of GPUs (default 1)
--ip IPNode IPv4 address
--port PORTNode port (default 8080)
--price USDPrice per GPU-hour (default: the GPU's base price)

Flags for node status

FlagWhat it does
--watchRefresh until you press Ctrl-C
--until-clearWith --watch: stop once nothing blocks the node
--interval SECONDSTime between refreshes (default 5)
--timeout SECONDSHow long --until-clear waits
--fail-on-blockedExit 10 while something blocks the node

Flags for notice-period set

FlagWhat it does
--start TIMEStart time with a UTC offset, e.g. 2026-11-01T09:00:00+00:00; at least 24 h ahead (48 h with --permanent)
--minutes NMaintenance window, 1–60 minutes
--permanentRemove the node for good at the start time
--reason TEXTReason 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]
SubcommandWhat it does
showShow your account profile
connect-discordLink your Discord account (--no-wait prints the link and returns)
set-email EMAILChange your contact e-mail (the old confirmed address is told)
set-passwordSet your portal password (--password, or asked for)
set-subscriptions --gpu TYPEGet alerts for renter requests for these GPU types (repeat --gpu; none clears)
opt-in / opt-outUse 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.

CodeMeaningError codes
0Success
1Bad inputARG_INVALID, PORTS_INVALID, HOTKEY_NOT_REGISTERED, PORTAL_REQUEST_REJECTED
2Login problem or not allowedPORTAL_AUTH_INVALID, PORTAL_AUTH_EXPIRED, WALLET_NOT_FOUND, PORTAL_FORBIDDEN
3Portal errorPORTAL_SERVER_ERROR, PORTAL_NOT_FOUND, PORTAL_CONTRACT_DRIFT, PORTAL_RATE_LIMIT
5SSH errorSSH_UNREACHABLE, SSH_AUTH_FAILED
6Missing settingCONFIG_MISSING
7Another lium provider command is logging in; retryPORTAL_AUTH_REFRESH_RACE
10Node blocked (with --fail-on-blocked or --until-clear)