List GPU Instances
const url = 'https://example.com/v1/instances';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/instancesList available GPU instances and pricing.
Returns a list of available GPU instance types with their hourly rates. Use the instance ID when creating a finetune job to specify the GPU type.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”List of available GPU instances with pricing
Response containing available GPU instances.
object
List of available instances
A single GPU instance type.
object
Instance type ID (use this when creating finetune jobs)
Instance flavor name
Instance description
Clean GPU description
Cost in credits per hour
Hardware specifications
object
Number of virtual CPUs
Memory in GiB
Storage in GiB
Number of GPUs
GPU model name
Available regions
A region where an instance is available.
object
Region identifier
Human-readable region name
Number of available regions
Example generated
{ "data": [ { "id": "example", "name": "example", "description": "example", "gpu_description": "example", "credits_per_hour": 1, "specs": { "vcpus": 1, "memory_gib": 1, "storage_gib": 1, "gpu_count": 1, "gpu_type": "example" }, "regions": [ { "name": "example", "description": "example" } ], "region_count": 1 } ]}Invalid or missing API key
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}Validation Error
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}