Deploy a GPU

Start a GPU Cloud instance. Choose a curated model, paste any Hugging Face repo id (served with vLLM, OpenAI-compatible at `/v1`), pick a template (JupyterLab, ComfyUI, Web Terminal, Ollama), or run a custom Docker image. Billing starts when the instance is allocated to you, which includes the time it takes to start up, and is metered by the second against your credit balance. Your account's current GPU limit is enforced at deploy and start time.

Authentication

AuthorizationBearer

Pass your EmpirioLabs API key as a bearer token. The Anthropic-style x-api-key header is also accepted on every endpoint.

Request

This endpoint expects an object.
gpu_slugstringRequired
The GPU type to deploy from the catalog.
modeenumOptional
How to provision the GPU.
hf_idstringOptional

A Hugging Face repo id to serve with vLLM (mode model). Set HF_TOKEN in env for gated repos.

template_slugstringOptional

A curated model or template slug (mode model or template).

imagestringOptional

A CUDA Docker image to run (mode custom).

portslist of integersOptional

Ports the workload listens on (mode custom).

envmap from strings to stringsOptional
Environment variables for the workload.
num_gpusintegerOptional1-64Defaults to 1
Number of GPUs. Your current account limit is enforced at deploy and start time.
disk_gbintegerOptional100-300Defaults to 150

Requested runtime disk in GB (100-300).

namestringOptional
Optional label for the GPU Cloud instance.

Response

Instance accepted and provisioning.
instanceobjectOptional

Errors

402
Payment Required Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error