Usage
Options
(required, one of —template_hash or —template_id) template hash to benchmark
(required, one of —template_hash or —template_id) template id
comma-separated GPU names (e.g. RTX_4090,RTX_3090); optional Nx prefix takes precedence over —num_gpus (e.g. “2x RTX_4090”)
GPUs per instance for tokens without an Nx prefix (default 1); overridden by inline Nx in —gpus
max seconds to wait for a benchmark before giving up (default 3600)
Skip confirmation prompt
Description
Rents one instance per GPU in parallel, measures perf, tears down. Each rental runs for up to —timeout seconds and costs real money.Examples
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) |