Skip to main content
[Host] Get GPU market history

Usage

vastai metrics gpu-trends [NAME] [OPTIONS]

Arguments

name
string
default:"RTX 5090,RTX 4090,RTX 3090"
required
GPU name, comma-separated list, or ‘all’. Underscores are accepted in place of spaces.

Options

--verified
string
default:"all"
Filter by verified status Allowed values: true, false, all
--datacenter
string
default:"all"
Filter 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
--start
integer
Start unix timestamp
--end
integer
End unix timestamp
--step
integer
Time between data points in seconds (e.g. 3600 for hourly). Minimum 60s; step may be raised server-side to cap points returned.

Description

Show GPU supply/demand and pricing trends over time. Defaults to RTX 5090, 4090, 3090 for the last 24 hours. Requires host or admin access.

Examples

vastai metrics gpu-trends
    vastai metrics gpu-trends "RTX 4090"
    vastai metrics gpu-trends "RTX 4090" --full
    vastai metrics gpu-trends "RTX 4090" --raw
    vastai metrics gpu-trends all --verified true --datacenter true
    vastai metrics gpu-trends "RTX 5090" --num-gpus 8
    vastai metrics gpu-trends "RTX 4090,H100_SXM" --start 1773298800 --end 1773817200 --step 3600

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)