curl --request POST \
--url https://api.gcore.com/cloud/v1/pricing/{project_id}/{region_id}/ai/clusters \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"flavor": "bm1-ai-small-v1pod-4",
"instances_count": 1,
"interfaces": [
{
"floating_ip": {
"source": "new"
},
"network_id": "ddc28e44-2acb-499b-985b-831f29432e1c",
"subnet_id": "2731a56e-a5c9-44be-80c2-02c57c594573",
"type": "subnet"
}
],
"name": "poplar-ubuntu",
"volumes": [
{
"size": 10,
"source": "image",
"type_name": "ssd_hiiops"
},
{
"size": 5,
"source": "new-volume",
"type_name": "standard"
},
{
"snapshot_id": "7cca40d7-a843-4e9f-ae08-62b9a394b1ab",
"source": "snapshot"
}
]
}'
{
"currency_code": "USD",
"discount_percent": "10.50",
"per_gb": {
"egress_traffic_baremetal": 1.3
},
"per_hour": {
"external_ip": 0.02,
"flavor": 0.8,
"floating_ip": 0.05,
"volumes": {
"cold": 0.1083,
"ssd_hiiops": 0.0278,
"standard": 0.0139
}
},
"per_month": {
"external_ip": 14.4,
"flavor": 576,
"floating_ip": 36,
"volumes": {
"cold": 78,
"ssd_hiiops": 20,
"standard": 10
}
},
"price_status": "show",
"price_without_discount_per_month": 123,
"total_price_per_hour": 123,
"total_price_per_month": 123,
"vm_count": 1
}
Preview billing price of a GPU cluster
curl --request POST \
--url https://api.gcore.com/cloud/v1/pricing/{project_id}/{region_id}/ai/clusters \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"flavor": "bm1-ai-small-v1pod-4",
"instances_count": 1,
"interfaces": [
{
"floating_ip": {
"source": "new"
},
"network_id": "ddc28e44-2acb-499b-985b-831f29432e1c",
"subnet_id": "2731a56e-a5c9-44be-80c2-02c57c594573",
"type": "subnet"
}
],
"name": "poplar-ubuntu",
"volumes": [
{
"size": 10,
"source": "image",
"type_name": "ssd_hiiops"
},
{
"size": 5,
"source": "new-volume",
"type_name": "standard"
},
{
"snapshot_id": "7cca40d7-a843-4e9f-ae08-62b9a394b1ab",
"source": "snapshot"
}
]
}'
{
"currency_code": "USD",
"discount_percent": "10.50",
"per_gb": {
"egress_traffic_baremetal": 1.3
},
"per_hour": {
"external_ip": 0.02,
"flavor": 0.8,
"floating_ip": 0.05,
"volumes": {
"cold": 0.1083,
"ssd_hiiops": 0.0278,
"standard": 0.0139
}
},
"per_month": {
"external_ip": 14.4,
"flavor": 576,
"floating_ip": 36,
"volumes": {
"cold": 78,
"ssd_hiiops": 20,
"standard": 10
}
},
"price_status": "show",
"price_without_discount_per_month": 123,
"total_price_per_hour": 123,
"total_price_per_month": 123,
"vm_count": 1
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Project ID
1
Region ID
1
Pricing schema for AI cluster creation with detailed prices per category
OK
Billing response v2 preview schema for server instance.
Was this page helpful?