Skip to main content
Deposit credits into reserved instance

Usage

vastai prepay instance ID AMOUNT

Arguments

id
integer
required
id of instance to prepay for
amount
number
required
amount of instance credit prepayment (default discount func of 0.2 for 1 month, 0.3 for 3 months)

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)