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

# vastai create subaccount

Create a subaccount

## Usage

```bash theme={null}
vastai create subaccount --email EMAIL --username USERNAME --password PASSWORD --type TYPE
```

## Options

<ParamField path="--email" type="string">
  email address to use for login
</ParamField>

<ParamField path="--username" type="string">
  username to use for login
</ParamField>

<ParamField path="--password" type="string">
  password to use for login
</ParamField>

<ParamField path="--type" type="string">
  host/client
</ParamField>

## Description

Creates a new account that is considered a child of your current account as defined via the API key.

vastai create subaccount `--email` [bob@gmail.com](mailto:bob@gmail.com) `--username` bob `--password` password `--type` host

vastai create subaccount `--email` [vast@gmail.com](mailto:vast@gmail.com) `--username` vast `--password` password `--type` host

## Examples

```bash theme={null}
vastai create subaccount
```

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