get_prices_batch
Compare prices for multiple cloud instance types in a single region with one concurrent call. Supports AWS, GCP, Azure with various operating systems and pricing terms.
Instructions
Get prices for multiple compute instance types in a single region in one call.
Fetches all prices concurrently. Useful for comparing a shortlist of candidate instance types (e.g. m5.xlarge vs c5.xlarge vs r5.xlarge) without separate calls.
Args: provider: Cloud provider — "aws", "gcp", or "azure" instance_types: List of instance types, e.g. ["m5.xlarge", "c5.xlarge", "r5.large"] region: Region code, e.g. "us-east-1" or "us-central1" os: Operating system — "Linux" (default) or "Windows" term: Pricing term — "on_demand" (default), "spot", "reserved_1yr", "cud_1yr"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Linux | |
| term | No | on_demand | |
| region | Yes | ||
| provider | Yes | ||
| instance_types | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||