GET
/
cloud
/
v3
/
inference
/
flavors
/
{flavor_name}
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
inference_flavor = client.cloud.inference.flavors.get(
    "inference-16vcpu-232gib-1xh100-80gb",
)
print(inference_flavor.cpu)
{
  "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.

Path Parameters

flavor_name
string
required

Inference flavor name.

Examples:

"inference-16vcpu-232gib-1xh100-80gb"

Response

200 - application/json

OK

The response is of type object.