Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vast.ai/llms.txt

Use this file to discover all available pages before exploring further.

Show current GPU market metrics (supply, demand, pricing)
This is a host command, used for managing machines you are renting out on Vast.ai.

Usage

vastai metrics gpu [OPTIONS]

Options

--verified
string
Filter by verification status (true, false, or all). Defaults to all.
--datacenter
string
Filter by datacenter hosting type (true, false, or all). Defaults to all.

Description

Returns a current snapshot of supply, demand, and pricing across all GPU types on the Vast marketplace. Use filters to narrow results to verified or datacenter machines.

Examples

# All GPU types
vastai metrics gpu

# Verified datacenter GPUs only
vastai metrics gpu --verified true --datacenter true

# JSON output
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)