GET
/
enterprise
/
v1
/
io-cloud
/
vmaas
/
price
cURL
curl -X GET "https://api.io.solutions/enterprise/v1/io-cloud/vmaas/price?location_ids=us-east-1&hardware_id=101&currency=usdc&duration_hours=4&gpus_per_vm=2&replica_count=3" \
  -H "x-api-key: $IOCLOUD_API_KEY" \
  -H "Content-Type: application/json"
{
  "data": {
    "replica_count": 0,
    "gpus_per_vm": 0,
    "available_replica_count": [
      0
    ],
    "discount": 0,
    "ionet_fee": 0,
    "ionet_fee_percent": 0,
    "currency_conversion_fee": 0,
    "currency_conversion_fee_percent": 0,
    "total_cost_usdc": 0
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

location_ids
string
required

The location identifiers where the deployment is requested.

hardware_id
integer
required

The ID of the hardware to be used.

currency
enum<string>
required

Currency in which the price should be calculated. Available values: usdc, iocoin.

Available options:
usdc,
iocoin
duration_hours
string
default:1
required

The number of hours the deployment will run. Defaults to 1. Minimum is 1.

gpus_per_vm
integer
default:1
required

Number of GPUs allocated per VM. Defaults to 1. Minimum is 1.

Required range: x >= 1
replica_count
integer
required

The number of VM replicas requested.

Response

Deployment price details calculated successfully

data
object