---
title: Model
description: Register and version models.
canonical: 'https://lightning.ai/docs/cli/stable/command-details/model'
---
# Model {#model}

Register and version models.

**Usage:**

```console
lightning model [OPTIONS] COMMAND [ARGS]...
```

## Commands {#model-commands}

| Command | Description |
| --- | --- |
| [`download`](#model-download) | Download a model from a teamspace. |
| [`upload`](#model-upload) | Upload a model to a teamspace. |

## lightning model download {#model-download}

Download a model from a teamspace.

**Usage:**

```console
lightning model download [OPTIONS] NAME
```

### Arguments {#model-download-arguments}

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `NAME` | `text` | yes | Model name to download. |

### Options {#model-download-options}

| Option | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--download-dir`, `--download_dir` | `TEXT` | no | `'.'` | The directory where the Model should be downloaded. |

## lightning model upload {#model-upload}

Upload a model to a teamspace.

**Usage:**

```console
lightning model upload [OPTIONS] ORG-NAME/TEAMSPACE-NAME/MODEL-NAME PATH
```

### Arguments {#model-upload-arguments}

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `NAME` | `text` | yes | Model name to upload. |
| `PATH` | `text` | yes | No description provided. |

### Options {#model-upload-options}

| Option | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--cloud-account`, `--cloud_account` | `TEXT` | no | — | The name of the cloud account to store the Model in. |

---

**Navigation**

- Parent: [Command details](/docs/cli/2026.11.04/command-details.md)
