Command Reference
Deployments
Create, inspect, watch, and archive model deployments from the terminal.
Model deployments serve a fine-tuned or catalog model within a project, backed by allocated GPU instances. Use inf deployment to create a deployment, inspect its effective config and instances, and manage its lifecycle — all without opening the dashboard.
Alias: inf deployments
Quickstart
# See what a model may be deployed on (GPU families and counts)
inf deployment allowed-instance-types --model-id <model-id>
# Create a deployment and watch the rollout converge
inf deployment create \
--name my-deployment \
--model-id <model-id> \
--public-model-identifier <team>/<model-slug>
inf deployment watch <deployment-id>
# Inspect the deployment and the engine config it serves with
inf deployment get <deployment-id>
inf deployment config <deployment-id>
# Stop serving (reversible) or archive to free a slot
inf deployment stop <deployment-id> --yes
inf deployment start <deployment-id>inf deployment list
List deployments for a team with their status, lifecycle, and served model alias.
inf deployment listAlias: inf deployment ls
Options
| Flag | Required | Description | Default |
|---|---|---|---|
--team <id> | No | Team ID | INF_TEAM_ID / active team |
--project <id> | No | Filter results to a single project ID | — |
-l, --limit <n> | No | Max results to return (positive integer) | 50 |
Shows the deployment ID (8-char prefix), name, status, lifecycle state, public model identifier, and creation date.
inf deployment get
Show a single deployment's full details — status, lifecycle, model alias, and timestamps. Omit the id to pick interactively.
inf deployment get <id>Arguments
| Argument | Required | Description |
|---|---|---|
id | No | Deployment ID; omit to pick interactively |
Options
| Flag | Required | Description |
|---|---|---|
--team <id> | No | Team ID |
inf deployment config
Show the effective engine configuration a deployment serves with: the resolved flags, environment variables, and which layer set each.
inf deployment config <id>Arguments
| Argument | Required | Description |
|---|---|---|
id | No | Deployment ID; omit to pick interactively |
Options
| Flag | Required | Description |
|---|---|---|
--team <id> | No | Team ID |
inf deployment instances
List a deployment's running and terminated instances with their status, version, and stop reason.
inf deployment instances <id>Alias: inf deployment inst
Arguments
| Argument | Required | Description |
|---|---|---|
id | No | Deployment ID; omit to pick interactively |
Options
| Flag | Required | Description | Default |
|---|---|---|---|
--team <id> | No | Team ID | Active team |
-l, --limit <n> | No | Max results to return (positive integer) | 100 |
inf deployment watch
Poll a deployment until its rollout converges — status Active and the target version Running.
inf deployment watch <id>Arguments
| Argument | Required | Description |
|---|---|---|
id | No | Deployment ID; omit to pick interactively |
Options
| Flag | Required | Description | Default |
|---|---|---|---|
--team <id> | No | Team ID | Active team |
--target-version <id> | No | Require this version to be the live, Running one | Current desired version |
--timeout <sec> | No | Max seconds to watch before giving up | 1800 |
--interval <sec> | No | Seconds between polls | 10 |
Exits 0 on convergence; fails if the timeout elapses.
inf deployment stop / start
stop archives a deployment so it stops serving (alias of archive). start restarts a previously archived deployment so it resumes serving. Both are reversible.
inf deployment stop <id> --yes
inf deployment start <id>Options
| Flag | Required | Description | Default |
|---|---|---|---|
--team <id> | No | Team ID | Active team |
-y, --yes | Yes in non-TTY environments (stop only) | Skip the confirmation prompt | Off |
stop prompts for confirmation in an interactive terminal; in non-TTY environments (CI, scripts) it refuses to run without -y.
inf deployment archive
Archive a deployment so it stops serving and frees a slot against the team cap. Reversible with start.
inf deployment archive <id> --yesArguments
| Argument | Required | Description |
|---|---|---|
id | No | Deployment ID; omit to pick interactively |
Options
| Flag | Required | Description | Default |
|---|---|---|---|
--team <id> | No | Team ID | Active team |
-y, --yes | Yes in non-TTY environments | Skip the confirmation prompt | Off |
inf deployment create
Create a deployment with its full config version.
inf deployment create \
--name <name> \
--model-id <model-id> \
--public-model-identifier <team>/<model-slug>Options
| Flag | Required | Description | Default |
|---|---|---|---|
--name <name> | Yes | Deployment name | — |
--model-id <id> | Yes | Model to deploy | — |
--public-model-identifier <id> | Yes | Public model slug, e.g. <team>/<model> | — |
--project-id <id> | No | Project to create the deployment in | Active project |
--team-id <id> | No | Team to create the deployment in | Active team |
--desired-instance-count <n> | No | Instance count to scale to | — |
--instance-requirements <obj> | No | GPU instance requirements (see allowed-instance-types) | — |
--is-serverless-deployment <bool> | No | Deploy as a serverless model | false |
--model-config-flag-overrides <obj> | No | Engine flag overrides | — |
--model-config-version-override <n> | No | Pin a specific model-config version | — |
--billing-exempt <bool> | No | Exempt the deployment from billing | false |
Prints the new deployment ID. Run inf deployment watch <deployment-id> to track its rollout.
Examples
# Deploy on 1 GPU instance and watch the rollout converge
inf deployment create \
--name support-model \
--model-id <model-id> \
--public-model-identifier acme/support-v1 \
--desired-instance-count 1
inf deployment watch <deployment-id>
# Override an engine flag to lower max tokens served
inf deployment create \
--name support-model \
--model-id <model-id> \
--public-model-identifier acme/support-v1 \
--model-config-flag-overrides '{"max_tokens": 4096}'Generated REST verbs
inf deployment also exposes the full deployment API surface as generated commands — versions, update, engine-config, engine-configs, inferences, inference-filter-options, public-identifier-available, training-job-for-model, open-source-models, and allowed-instance-types. Run inf deployment --help to list them and their flags.