curl --request POST \
--url https://api.gcore.com/cloud/v2/pricing/inference/deployments \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"containers": [
{
"region_id": 7,
"scale": {
"max": 3
}
}
],
"flavor_name": "<string>"
}'
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
Preview billing price of the inference deployment
curl --request POST \
--url https://api.gcore.com/cloud/v2/pricing/inference/deployments \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"containers": [
{
"region_id": 7,
"scale": {
"max": 3
}
}
],
"flavor_name": "<string>"
}'
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
OK
Response with prices per hour and per month
Was this page helpful?