Docs / Get started

Quickstart: launch a pod

Launch a GPU pod with PyTorch and JupyterLab, connect to it, and clean up. You need an Apipods account with at least $10 of credit.

1. Create an API key

In the console, open Settings → API keys, click Create key and choose the READ_WRITE scope. The key starts with ak_live_ and is shown only once. Export it so the CLI and SDKs pick it up:

shell
$ export APIPODS_API_KEY="ak_live_..."

Install the CLI or an SDK if you want to use them (cURL works without either). See Authentication for scopes and rotation.

$ brew install apipods/tap/apipods
$ apipods login --api-key "$APIPODS_API_KEY"

2. Launch a pod

This creates one H100 SXM with a 100 GB volume disk at /workspace, JupyterLab on port 8888 and SSH on port 22. The CLI accepts the short alias H100_SXM; the REST API needs the full gpuTypeId NVIDIA_H100_80GB_SXM.

$ apipods pods create --name quickstart --gpu H100_SXM --count 1 \
    --image apipods/pytorch:2.9.0-py3.12-cuda12.8.1 \
    --volume 100 --port 8888/http --port 22/tcp

Created pod_8f2k1x9q (quickstart) · H100 SXM x1 · eu-nl-1 · $8.78/hr
Waiting for RUNNING... done in 41s

The pod moves from CREATED to PROVISIONING to RUNNING, usually within a minute for cached images. See Pod lifecycle for every state.

3. Connect

Add your public key under Settings → SSH keys (or apipods ssh-keys add ~/.ssh/id_ed25519.pub) before the pod starts, then connect through the SSH gateway:

shell
$ ssh root@pod_8f2k1x9q.ssh.apipods.com
root@8f2k1x9q:/# nvidia-smi --query-gpu=name,memory.total --format=csv
name, memory.total [MiB]
NVIDIA H100 SXM 80GB HBM3, 81559 MiB

JupyterLab is served through the HTTPS proxy at https://8f2k1x9q-8888.proxy.apipods.net. The password is in the pod's logs, or set your own with the JUPYTER_PASSWORD environment variable. More options in Connect via SSH and Jupyter & web terminal.

4. Stop or terminate

Stopping releases the GPU and keeps the volume disk, billed at the stopped rate. Terminating deletes the pod and its disks so billing ends completely.

$ apipods pods stop pod_8f2k1x9q
$ apipods pods terminate pod_8f2k1x9q
Warning: Anything outside /workspace lives on the container disk and is wiped when the pod stops. Keep checkpoints on the volume disk or a network volume.

What this costs

An H100 SXM is $8.78/hr, billed per second while the pod is RUNNING. Ten minutes of experimentation costs $1.46 plus a fraction of a cent for disk. See Billing model.