> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-docs-screenshot-updates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# vastai metrics gpu

> Host command

Show current GPU market metrics (supply, demand, pricing)

<Note>This is a **host** command, used for managing machines you are renting out on Vast.ai.</Note>

## Usage

```bash theme={null}
vastai metrics gpu [OPTIONS]
```

## Options

<ParamField path="--verified" type="string">
  Filter by verification status (`true`, `false`, or `all`). Defaults to `all`.
</ParamField>

<ParamField path="--datacenter" type="string">
  Filter by datacenter hosting type (`true`, `false`, or `all`). Defaults to `all`.
</ParamField>

## 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

```bash theme={null}
# 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:

| 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`) |
