Get VM cost estimate
get_cost_estimate_vmPreview hourly and monthly costs for a VM configuration without creating resources, so you can compare pricing before provisioning.
Instructions
Preview the price of a VM configuration without creating anything. Takes the same arguments as create_vm and returns hourly/monthly cost breakdowns — use this before create_vm when cost matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | VM name. | |
| tags | No | Tags to attach to the VM. | |
| image | Yes | Image label, e.g. "ubuntu-24.04-050826" (from list_images). | |
| region | Yes | Region label, e.g. "us-west-0" (from list_regions). | |
| network | No | UUID of an existing network to attach the VM to (from networking list tools). Omit to have an isolated network created for the VM automatically. An auto-created network is removed with the VM once its last VM is deleted; a network you supply is left untouched. | |
| vmSpecs | Yes | VM size. Must be within the chosen package's limits (see list_vm_packages for min/max). | |
| keypairs | No | Names of SSH key pairs to install for the default login user cloud (from list_ssh_keys). Connect with ssh cloud@<public-ip>. | |
| userdata | No | Base64-encoded cloud-init userdata script to run on first boot. | |
| vmPackage | Yes | VM package label, e.g. "standard-custom" (from list_vm_packages). | |
| networkAccess | No | Optional post-create network access configuration (egress + inbound rules on the network's public IP). | |
| subscriptionPeriod | Yes | Billing period: "hourly" (pay per hour) or "monthly". |