GET
/
cloud
/
v3
/
inference
/
flavors
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
page = client.cloud.inference.flavors.list()
page = page.results[0]
print(page.cpu)
{
  "count": 1,
  "results": [
    {
      "cpu": 2,
      "description": "1xL40S / 16 vCPU / 232GiB RAM",
      "gpu": 1,
      "gpu_compute_capability": "8.6",
      "gpu_memory": 80,
      "gpu_model": "H100",
      "is_gpu_shared": false,
      "memory": 4,
      "name": "inference-16vcpu-232gib-1xh100-80gb"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

limit
integer
default:1000

Optional. Limit the number of returned items

Required range: 0 < x <= 1000
Examples:

1000

offset
integer
default:0

Optional. Offset value is used to exclude the first set of records from the result

Required range: x >= 0
Examples:

0

Response

200 - application/json

OK

The response is of type object.