Skip to main content
[Host] Get current GPU market metrics

Usage

vastai metrics gpu [OPTIONS]

Options

--verified
string
default:"all"
Filter GPUs by verification status Allowed values: true, false, all
--datacenter
string
default:"all"
Filter GPUs by datacenter hosting type Allowed values: true, false, all
--num-gpus
string
default:"all"
Filter by machine GPU-count bucket (1x, 2x, 4x, 8x) Allowed values: all, 1, 2, 4, 8

Description

Get current GPU metrics with counts, usage, performance, and pricing. For historical metrics, see the metrics gpu-trends command. Requires host or admin access.

Examples

vastai metrics gpu
    vastai metrics gpu --verified true --datacenter true
    vastai metrics gpu --num-gpus 8
    vastai metrics gpu --raw

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)