Skip to main content
POST
/
cloud
/
v2
/
pricing
/
{project_id}
/
{region_id}
/
gpu
/
baremetal
/
clusters
Preview bare metal GPU cluster price
curl --request POST \
  --url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/gpu/baremetal/clusters \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "flavor": "<string>",
  "interfaces": [
    {
      "type": "<string>",
      "interface_name": "<string>",
      "ip_family": "ipv4"
    }
  ],
  "name": "<string>",
  "instances_count": 1
}
'
{
  "currency_code": "USD",
  "discount_details": [
    {
      "discount": "<string>",
      "resource": "<string>"
    }
  ],
  "discount_percent": "<string>",
  "per_gb": {
    "egress_traffic_baremetal": 1.3
  },
  "per_hour": {
    "external_ip": 14.4,
    "flavor": 576,
    "floating_ip": 36
  },
  "per_month": {
    "external_ip": 14.4,
    "flavor": 576,
    "floating_ip": 36
  },
  "price_status": "error",
  "price_without_discount_per_month": 123,
  "tax_percent": 123,
  "total_price_per_hour": 123,
  "total_price_per_month": 123
}

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

project_id
integer<int64>
required

Project ID

Example:

1

region_id
integer<int64>
required

Region ID

Example:

1

Body

application/json
flavor
string
required

Bare metal GPU cluster flavor

Example:

"bm1-ai-small-v1pod-4"

interfaces
(GPUClusterExternalInterfaceSerializer · object | GPUClusterSpecificSubnetInterfaceSerializer · object | GPUClusterAnySubnetInterfaceSerializer · object)[]
required

Subnet IPs and floating IPs. Only new floating IPs are supported.

name
string
required

Bare metal GPU cluster name

Example:

"poplar-ubuntu"

instances_count
integer
default:1

A multiplier that would be used to calculate the price, multiplying the flavor and IP prices by this number. Must be greater than zero.

Example:

1

Response

200 - application/json

OK

currency_code
enum<string> | null
required

Currency code (3-letter code per ISO 4217).

Available options:
AZN,
EUR,
USD
Example:

"USD"

discount_details
ResourceDiscountSerializer · object[]
required

Discount details per resource.

discount_percent
string
required

Actual discount as a relative value.

Examples:

"10.50"

"5.00"

per_gb
DetailedInstancePricingPerGBSerializer · object
required

Pricing details per category charged per GB.

Example:
{ "egress_traffic_baremetal": 1.3 }
per_hour
DetailedBaremetalInstancePricingSerializer · object
required

Prices per category charged per hour.

Example:
{
"external_ip": 0.02,
"flavor": 0.8,
"floating_ip": 0.05
}
per_month
DetailedBaremetalInstancePricingSerializer · object
required

Prices per category charged per month.

Example:
{
"external_ip": 14.4,
"flavor": 576,
"floating_ip": 36
}
price_status
enum<string>
required

Price status for the UI.

Available options:
error,
hide,
show
Examples:

"show"

"hide"

price_without_discount_per_month
number | null
required

Total price VAT inclusive per month without discount.

tax_percent
number
required

Tax rate applied to the subtotal, represented as a percentage

Examples:

0

17

12

total_price_per_hour
number | null
required

Total price VAT inclusive per hour.

total_price_per_month
number | null
required

Total price VAT inclusive per month.