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

\[Host] Get GPU location metrics

## Usage

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

## Options

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

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

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

<ParamField path="--gpu" type="string">
  Filter by GPU name (comma-separated list). Underscores are accepted in place of spaces.
</ParamField>

## Description

Show geographic locations of GPUs on the platform. Filtering is applied
client-side — the endpoint returns one shared dataset and the CLI narrows
the rows locally. Requires host or admin access.

## Examples

```bash theme={null}
vastai metrics gpu-locations
    vastai metrics gpu-locations --verified true --datacenter true
    vastai metrics gpu-locations --gpu "RTX 4090,H100_SXM"
    vastai metrics gpu-locations --rented false --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`) |
