> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# nebius ai job create

## Name

`nebius ai job create`

Creates a job.\


This command is deterministic and non-interactive. Use it for scripts, config-driven workflows, CI, and agents.\


For human first-time setup, use the guided `ai create` wizard. Static create commands report validation errors with recovery hints instead of switching into prompt mode.\


With --async, explicit --format json or yaml returns the full Operation on stdout. Its id identifies the operation; resource\_id identifies the created resource. Use `--format 'jsonpath={.resource_id}'` to extract the ID. Submission does not wait for the resource to become ready or finish.

## Synopsis

```
nebius ai job create
  --args
  --async
  --container-command
  --container-port
  --disk-size
  --dry-run
  --env
  --env-secret
  --follows-spot-price
  --image
  --inject-file
  --name
  --on-demand
  --parent-id
  --platform
  --preemptible
  --preset
  --registry-password
  --registry-secret
  --registry-username
  --restart-policy
  --shm-size
  --spot-pricing-policy-id
  --ssh-key
  --subnet-id
  --timeout
  --volume
  --working-dir
```

## Options

`--args` (string)

Override container arguments.

`--async` (bool)

Return immediately after starting the create operation.

`--container-command` (string)

Override container entrypoint command.

`--container-port` (string array)

Port to expose as HOST\[:CONTAINER]\[/http|tcp|udp] (default protocol http; repeatable). For endpoints, each HTTP port is reachable over a managed https\:// URL (gRPC works over the same URL) and each TCP port over a tls\://HOST:443 URL; UDP ports get no managed URL.

`--disk-size` (string)

Disk size (e.g., 100Gi, 500Gi, 1Ti), default is 250Gi.

`--dry-run` (bool)

Validate the request without creating a resource.

`--env` (string array)

Environment variable in KEY=VALUE format (repeatable).

`--env-secret` (string array)

Environment variable from MysteryBox in KEY=SECRET\_SELECTOR format (repeatable). SECRET\_SELECTOR can be a secret name, secret ID, version ID, or SECRET\_ID\@VERSION\_ID.

`--follows-spot-price` (bool)

The preemptible VM accepts the current spot price. Requires --preemptible.

Mutually exclusive with: `--on-demand`, `--spot-pricing-policy-id`.

`--image` (string)

Container image reference in the registry/path:tag or registry/path\@digest format.

`--inject-file` (string array)

Inject a local config file into the container at LOCAL\_PATH:CONTAINER\_PATH (repeatable). CONTAINER\_PATH must be an absolute path; the file is read-only inside the container and limited to 64 KiB.

`--name` (string)

Application name.

`--on-demand` (bool)

A regular, non-preemptible VM. Cannot be combined with --preemptible.

Mutually exclusive with: `--follows-spot-price`, `--spot-pricing-policy-id`.

`--parent-id` (string)

Parent ID (if not specified, it will be taken from the CLI profile).

`--platform` (string)

Platform of compute resources (e.g. gpu-h100-sxm, gpu-l40s-d), default is gpu-h100-sxm in eu-north1 and gpu-h200-sxm elsewhere.

`--preemptible` (bool)

Use a preemptible VM (cheaper but can be stopped by the platform at any time). Requires --follows-spot-price or --spot-pricing-policy-id.

`--preset` (string)

Preset for selected platform (e.g. 1gpu-16vcpu-200gb), default is minimum available preset for the platform.

`--registry-password` (string)

Container registry password.

`--registry-secret` (string)

MysteryBox secret selector with REGISTRY\_USERNAME and REGISTRY\_PASSWORD payload keys. Selector can be a secret name, secret ID, version ID, or SECRET\_ID\@VERSION\_ID.

`--registry-username` (string)

Container registry username.

`--restart-policy` (string)

Restart policy, default is never.

A value must be one of:

<ul>
  <li>
    `never`
  </li>

  <li>
    `on-failure`
  </li>
</ul>

`--shm-size` (string)

Size of /dev/shm (e.g., 64Mi, 128Mi, 1Gi), default - 16Gi for GPU platforms, 0 for CPU.

`--spot-pricing-policy-id` (string)

PricingPolicy ID used as the maximum agreed price for the preemptible VM. Requires --preemptible.

Mutually exclusive with: `--on-demand`, `--follows-spot-price`.

`--ssh-key` (string array)

Configure ssh\_authorized\_keys for creating VM.

`--subnet-id` (string)

Subnet ID (default: the project's default subnet in the workload region).

`--timeout` (duration: 2h30m10s)

Job timeout in hours (min - 1h, max - 168h), default is 24h.

`--volume` (string array)

Volume mount in SOURCE:CONTAINER\_PATH\[:MODE] or s3://BUCKET:/container\_path\[:MODE\[:PROFILE]] format. MODE: rw, ro (default: rw). PROFILE: AWS credentials profile (default: 'default'). For S3 MysteryBox auth use PROFILE\@SECRET\_SELECTOR, where SECRET\_SELECTOR can be a secret name, secret ID, version ID, or SECRET\_ID\@VERSION\_ID (repeatable).

`--working-dir` (string)

Working directory (absolute path).

## Global Options

`-h, --help` (bool)

Show this message.

`-p, --profile` (string)

Set a profile for interacting with the cloud.

`--format` (string)

Output format. Supported values: yaml|json|jsonpath|table|text.

`-f, --file` (string)

Input file. For 'update' commands automatically set --full=true.

`-c, --config` (string)

Provide path to config file.

`--debug` (bool)

Write debug logs to stderr. Commands save debug logs in the config directory under logs/, except help and shell completion.

`-I, --impersonate-service-account-id` (string)

Impersonate into the service account and use its token for a command.

`--color` (bool)

Enable colored output.

`--no-browser` (bool)

Do not open browser automatically on auth.

`--insecure` (bool)

Disable transport security.

`--auth-timeout` (duration: 2h30m10s)

Set the timeout for the request including authentication process, default is 15m0s.

`--per-retry-timeout` (duration: 2h30m10s)

Set the timeout for each retry attempt, default is 20s.

`--retries` (uint)

Set the number of retry attempts, 1 is disable retries, default is 3.

`--no-check-update` (bool)

Suppress check for updates.

`--no-progress` (bool)

Suppress progress indicators and spinners.

*Auto generated on 12-Nov-2026*
