Skip to main content
Accept one or more pending host price increases

Usage

vastai accept price-increase ID [ID ...] [--yes]

Arguments

ids
integer
required
instance IDs to accept (one or more).

Options

--yes
boolean
skip the interactive prompt; required when stdin is not a TTY

Description

Review pending price increases with vastai show pending-price-increases before accepting. The CLI fans out one PUT per instance ID (no batch endpoint exists on the backend), and the new rate applies only after each contract’s current end_date — your remaining time on the current term is billed at the original price.

Examples

vastai accept price-increase 123 --yes
    vastai accept price-increase 1 2 3 --yes

Exit codes:
    0 every requested row was accepted
    1 at least one row failed (non-stale)
    2 at least one row was stale (re-run `show pending-price-increases`)

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)