Estimate VM Create Cost
$ nirvana compute:vms:cost create
POST/v1/compute/vms/cost
Return a priced cost quote for the proposed VM.
Parameters
Estimate VM Create Cost
nirvana compute:vms:cost create \
--api-key 'My API Key' \
--boot-volume '{size: 100, type: abs}' \
--instance-type n1-standard-8 \
--name my-vm \
--os-image-name ubuntu-noble-2026-05-18 \
--project-id 123e4567-e89b-12d3-a456-426614174000 \
--public-ip-enabled \
--region us-sva-2 \
--ssh-key '{public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2}' \
--subnet-id 123e4567-e89b-12d3-a456-426614174000{
"currency": "USD",
"monthly_total": "-69125",
"priced_at": "2025-01-01T00:00:00Z",
"usage_dimensions": [
{
"dimension": "compute_vcpu",
"dimension_display_name": "vCPU (hours)",
"monthly_amount": "-69125",
"quantity": 4,
"unit_price": "-69125"
}
]
}Returns Examples
{
"currency": "USD",
"monthly_total": "-69125",
"priced_at": "2025-01-01T00:00:00Z",
"usage_dimensions": [
{
"dimension": "compute_vcpu",
"dimension_display_name": "vCPU (hours)",
"monthly_amount": "-69125",
"quantity": 4,
"unit_price": "-69125"
}
]
}