Skip to main content
GET
/
cloud
/
v3
/
inference
/
flavors
/
{flavor_name}
Python
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": 123,
  "description": "<string>",
  "gpu": 123,
  "gpu_compute_capability": "<string>",
  "gpu_memory": 123,
  "gpu_model": "<string>",
  "is_gpu_shared": true,
  "memory": 123,
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

flavor_name
string
required

Inference flavor name.

Response

200 - application/json

OK

cpu
number
required

Inference flavor cpu count.

description
string
required

Inference flavor description.

gpu
integer
required

Inference flavor gpu count.

gpu_compute_capability
string
required

Inference flavor gpu compute capability.

gpu_memory
number
required

Inference flavor gpu memory in Gi.

gpu_model
string
required

Inference flavor gpu model.

is_gpu_shared
boolean
required

Inference flavor is gpu shared.

memory
number
required

Inference flavor memory in Gi.

name
string
required

Inference flavor name.