> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# vastai metrics gpu

\[Host] Get current GPU market metrics

## Usage

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

## Options

<ParamField path="--verified" type="string" default="all">
  Filter GPUs by verification status
  Allowed values: true, false, all
</ParamField>

<ParamField path="--datacenter" type="string" default="all">
  Filter GPUs by datacenter hosting type
  Allowed values: true, false, all
</ParamField>

<ParamField path="--num-gpus" type="string" default="all">
  Filter by machine GPU-count bucket (1x, 2x, 4x, 8x)
  Allowed values: all, 1, 2, 4, 8
</ParamField>

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

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

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