Skip to main content
POST
Preview virtual GPU cluster price

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

Virtual GPU cluster flavor

Example:

"g1-gpu-small-1gpu-6vcpu"

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

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

name
string
required

Virtual GPU cluster name

Example:

"poplar-ubuntu"

instances_count
integer
default:1

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

Example:

1

volumes
VirtualGPUClusterVolumePricingRequestSerializer · object[]

Volumes attached to the virtual GPU cluster. Volume size must be greater than zero.

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.

Example:
discount_percent
string
required

Actual discount as a relative value.

Examples:

"10.50"

"5.00"

per_gb
VirtualPricingPerGBSerializer · object | null
required

Pricing details per category charged per GB.

Example:
per_hour
DetailedInstancePricingSerializer · object
required

Prices per category charged per hour.

Example:
per_month
DetailedInstancePricingSerializer · object
required

Prices per category charged per month.

Example:
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.

Example:

"800.00"

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.

Example:

"1.02"

total_price_per_month
number | null
required

Total price VAT inclusive per month.

Example:

"734.4"