Skip to main content
Manage models in the Model Repo, including adding, uploading, listing, and removing models.

Subcommands

Add a model

Register a new model with the Model Repo:
To upload model files from a local directory:

Add flags

string
required
Model name.
string
Model owner namespace (user or team owner ID). Use this to add models to a team account.
string
Initial model status.
string
Credential type (if required for model access).
string
Credential reference (if required for model access).
string
Directory containing model files to upload. When specified, all files in the directory are uploaded to the Model Repo.
bool
Create an upload session without uploading files. Use this to get upload URLs for manual file uploads.
string
File name for single-file upload.
string
File size in bytes for single-file upload.
string
Multipart upload part size in bytes.
string
Content type for the upload.
duration
GraphQL request timeout. Defaults to 30 minutes for model upload operations.

List models

List models in your account:
Filter by provider or name:

List flags

string
Filter by model provider.
string
Filter by model name.

Remove a model

Remove a model from the Model Repo:
You can specify the model by ID or name:
Removing a model permanently deletes it and all associated versions from the Model Repo. This action cannot be undone.

Environment variables

string
Override the GraphQL API endpoint URL. Defaults to https://api.runpod.io/graphql.

Using model version hashes

To create a Serverless endpoint that uses a model from the Model Repo, reference the model by its version hash:
Run runpodctl model list to find the version hash for your model.