Skip to main content
Public self-service leads with reserved H100-SXM. --gpu H100 maps to that SKU. Cheaper interruptible cards: --provider vastai --gpu RTX-4090 (same file, CUDA image). Live names: GPU list.

1. Add credit

Minimum top-up is $10. Complete Checkout in the browser, then:
The balance updates after the payment webhook, not at the moment the Checkout tab opens. See Credits.

2. Write a function

Save as simple_mlp.py:
gpu="H100-80GB" is the same SKU as H100-SXM. Arguments and the return value must be JSON.

3. See what would ship

The dry run prints the file set and manifest. Nothing is uploaded. No machine is created.

4. Run it

  • --wait streams status (and logs when present) until a terminal state.
  • Without --wait, the CLI exits after create; use compute logs <run_id> -f later.
  • --yes skips the interactive price confirmation.
The same file on a cheaper interruptible card:
The host can reclaim interruptible capacity. Compute then ends the run and confirms teardown. When it succeeds you get JSON back. Then:
compute machines should be empty after teardown. That is the product: one run, one machine, then gone.

If create is refused

A new run can be refused by the account’s active-run or spend limits, or by provider availability, even with a positive balance. Keep the request id from the error body and file a durable report with compute report "Run create was refused" --details "request id: …". Support explains what to include and how to follow the reply.