This command brings an instance from the “running” state into the “stopped” state. When an instance is “stopped” all of your data on the instance is preserved,
and you can resume use of your instance by starting it again. Once stopped, starting an instance is subject to resource availability on the machine that the instance is located on.
There are ways to move data off of a stopped instance, which are described here: https://vast.ai/docs/gpu-instances/data-movement
Examples
vastai stop instance <ID>
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)