Compute Workspace
GPU Offers & Instances
Browse GPU capacity, launch instances from an offer, and manage their lifecycle.
Browse offers
GET
/v1/compute/offers?provider=lambdaLists available GPU offers, each with GPU type, region, and price per hour.
Lambda is the supported provider today.
Launch instances
POST
/v1/compute/instances| Parameter | Type | Description |
|---|---|---|
offer_idrequired | string | The offer to launch from. |
count | integer | Number of instances to launch. |
start_script | string | Script executed on instance boot (e.g. start the HybrIE runtime). |
curl
curl -X POST http://localhost:8080/v1/compute/instances \
-H "Content-Type: application/json" \
-d '{
"offer_id": "<offer-id>",
"count": 1,
"start_script": "#!/bin/bash\n./hybrie serve"
}'Inspect and terminate
GET
/v1/compute/instancesGET
/v1/compute/instances/:idDELETE
/v1/compute/instances/:idList running instances, fetch one by id, or terminate it.
From the CLI
bash
stimulir compute offers
stimulir compute up <offer-id> --count 2
stimulir compute list
stimulir compute status <instance-id>
stimulir compute down <instance-id>