Accessing the data
There are three ways to access market metrics:- Dashboards at cloud.vast.ai/host/market/
- CLI via
vastai metricssubcommands (requirespip install vastai, v1.0.4+) - REST API endpoints (see API reference below)
401 error.
Dashboards
Three views are available at cloud.vast.ai/host/market/:- Availability & Pricing — Historical supply/demand counts and P10/median/P90 pricing over time
- GPU Overview — Current supply/demand counts, pricing, and stats for each GPU type
- GPU Locations — Geographic distribution of GPUs across the platform
CLI commands
Install or upgrade the CLI:Current snapshot — vastai metrics gpu
Returns current supply, demand, and pricing for all GPU types.
Historical trends — vastai metrics gpu-trends
Returns time-series data for supply, demand, and pricing. Defaults to RTX 5090, 4090, and 3090 over the last 24 hours.
Location data — vastai metrics gpu-locations
Returns geographic distribution of GPUs.
API endpoints
You can also query the data directly via the REST API. Pass your host API key as a Bearer token.| Endpoint | Description |
|---|---|
GET /api/v0/metrics/gpu/current/ | Current snapshot of all GPU types |
GET /api/v0/metrics/gpu/history/ | Time-series supply/demand and pricing |
GET /api/v0/metrics/gpu/locations/ | Geographic distribution |
Query parameters
| Parameter | Applies to | Description |
|---|---|---|
verified | current, history | yes, no, or all |
hosting_type | current, history | secure_cloud, community, or all |
gpu_name | history | GPU name (e.g. RTX 4090) |
start | history | Unix timestamp for range start |
end | history | Unix timestamp for range end |
step | history | Seconds between data points (e.g. 3600 for hourly) |