pricing.get
Estimate monthly and hourly costs for a single cloud resource type (e.g., EC2, RDS, GCP Cloud Run) without provisioning. Input resource type and optional specs to get cost breakdown.
Instructions
Estimate monthly and hourly USD cost for one cloud resource type (e.g. ec2_instance, rds_instance, gcp_cloud_run) without provisioning anything. Use after suggestions.generate when the user wants a component-level breakdown for a single resource; prefer region from region.detect. Provider is inferred from resourceType prefixes (gcp_*, azure_*, oracle_*) when omitted. Do not use for full-stack option comparison — that is suggestions.generate. Does not create resources or hold credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | No | GCP/Azure availability zone when required | |
| ocpus | No | Oracle OCPU count for flexible shapes | |
| shape | No | Oracle compute shape (e.g. VM.Standard.E4.Flex) | |
| region | No | Cloud region; defaults via region.detect for the provider | |
| sizeGb | No | Disk/volume size in GiB (EBS, etc.) | |
| vmSize | No | Azure VM size (e.g. Standard_B1s) | |
| provider | No | Cloud provider (auto-detected from resourceType if omitted) | |
| storageGb | No | Object/database storage size in GiB | |
| volumeType | No | Volume type (e.g. gp3, io2) | |
| machineType | No | GCP machine type (e.g. e2-medium) | |
| memoryInGbs | No | Oracle memory in GiB for flexible shapes | |
| instanceType | No | AWS instance type (e.g. t3.micro) for compute/RDS | |
| resourceType | Yes | Cloud resource type to price (prefix gcp_/azure_/oracle_ selects provider) | |
| instanceCount | No | Number of instances to price (default 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | ||
| provider | Yes | ||
| components | Yes | ||
| estimateId | Yes | ||
| description | Yes | ||
| resourceType | Yes | ||
| hourlyCostUsd | Yes | ||
| monthlyCostUsd | Yes |