For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get pool instance types

Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count.

Get pool instance types

get

Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count.

Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned.

Use this endpoint to choose the pool_instance_id for a new GPU instance.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
poolIdintegerRequired

GPU pool ID

Example: 12
Responses
200

Success response

application/json
idintegerOptional

GPU pool instance type ID

Example: 232
namestringOptionalExample: small
descriptionstring · nullableOptionalExample: Instance description
cpu_coresintegerOptional

Number of CPU cores

Example: 16
ramintegerOptional

Total RAM in bytes

Example: 137438953472
storageintegerOptional

Total storage in bytes

Example: 549755813888
price_per_hourintegerOptional

Hourly price in cents (USD)

Example: 35
get/api/gpu/v1/pools/{poolId}/instances
GET /api/gpu/v1/pools/{poolId}/instances HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "id": 232,
    "name": "small",
    "description": "Instance description",
    "cpu_cores": 16,
    "ram": 137438953472,
    "storage": 549755813888,
    "price_per_hour": 35
  }
]

Last updated

Was this helpful?