This is a host command, used for managing machines you are renting out on Vast.ai.
Usage
Arguments
id of machine to list
Options
per gpu rental price in $/hour (price for active instances) (alias:
--price_gpu)storage price in 0.10/GB/month (alias:
--price_disk)price for internet upload bandwidth in $/GB (alias:
--price_inetu)price for internet download bandwidth in $/GB (alias:
--price_inetd)per gpu minimum bid price floor in $/hour (alias:
--price_min_bid)Max long term prepay discount rate fraction, default: 0.4 (alias:
--discount_rate)minimum amount of gpus (alias:
--min_chunk)contract offer expiration - the available until date (optional, in unix float timestamp or MM/DD/YYYY format) (alias:
--end_date)Updates end_date daily to be duration from current date. Cannot be combined with end_date. Format is:
n days, n weeks, n months, n years, or total intended duration in seconds. (alias: --duration)Size for volume contract offer. Defaults to half of available disk. Set 0 to not create a volume contract offer. (alias:
--vol_size)Price for disk on volume contract offer. Defaults to price_disk. Invalid if vol_size is 0. (alias:
--vol_price)Description
Performs the same action as pressing the “LIST” button on the site https://cloud.vast.ai/host/machines. On the end date the listing will expire and your machine will unlist. However any existing client jobs will still remain until ended by their owners. Once you list your machine and it is rented, it is extremely important that you don’t interfere with the machine in any way. If your machine has an active client job and then goes offline, crashes, or has performance problems, this could permanently lower your reliability rating. We strongly recommend you test the machine first and only list when ready.Global Options
The following options are available for all commands:| Option | Description |
|---|---|
--url URL | Server REST API URL |
--retry N | Retry limit |
--raw | Output machine-readable JSON |
--explain | Verbose explanation of API calls |
--api-key KEY | API key (defaults to ~/.config/vastai/vast_api_key) |