Skip to content

Guides

GPUs

Ask for a GPU model and a count; SandboxPlease runs the sandbox on the cheapest provider that offers them.

Attach GPUs

gpu takes a type such as T4, L4, A100, H100 or B200 (any by default), a count from 1 to 8, and min_vram_gb to keep only models with at least that much memory per GPU. The sandbox reads back gpu: the type, count and memory it got.

Where it runs

Only providers offering the model in that count are tried, cheapest total first, with the usual fallbacks. Some offers bring their own vCPUs and memory per GPU, which replace the sandbox size. A GPU sandbox boots the provider's own image, which has CUDA, instead of sandboxplease/base. provider.require also takes gpu, gpu_count and gpu_vram_gb to filter without attaching one.

Price before you create

GPUs bill on credits at the provider's list price per GPU-hour, on top of the size. Quote the same body first and tell the person the price:

Shell
curl -X POST "$API/v1/quote" -H "Content-Type: application/json" \
  -d '{"gpu": {"type": "H100", "count": 2}, "duration": 3600}'

Each candidate splits price_per_hour into compute, gpu and total. See Quote a sandbox.

Every offer

GET /v1/catalog lists each provider's gpus with vram_gb, max_count, price_per_gpu_hour and the bundled vCPUs and memory, and the GPUs page compares them.