Skip to main content
Example:
--gpu H100 is an alias for H100-SXM. --gpu MI300X is the AMD SKU (stock can be tight).

Flags

compute run --help is the live flag list.

What happens

  1. The CLI packages the target file (and what it imports from the project).
  2. The API enqueues a run if admission and credit allow it.
  3. A worker provisions a new machine, installs the image, runs the function, streams logs, then terminates the machine.
  4. You get a JSON return value, a receipt, and an empty compute machines list.

Provider vs SKU

You pick a GPU name. Compute picks the provider unless you pass --provider. You do not pick a region or an instance template.

Detached vs wait

Or do it in one shot with --wait.

Inspect

result is the function return value. receipt is billed minutes and the platform fee (see Billing).