Compare Azure and AWS
compare_azure_awsAzure vs AWS for one VM requirement: the cheapest Azure VM size and the cheapest AWS EC2 instance type with at least the given vCPUs and memory in a pair of nearby regions, monthly USD list prices side by side (pay as you go / On-Demand and 3-year reserved), which cloud is cheaper and by how much. Intel/AMD only unless include_arm is true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vcpus": "<vcpus>",
"memory_gib": "<memory_gib>"
},
"name": "compare_azure_aws"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system for pay-as-you-go prices. Default linux. | |
| vcpus | Yes | Minimum vCPUs. | |
| region | No | AWS region code, its paired Azure region or the city. Default us-east-1 (Azure eastus). Pairs: us-east-1 = eastus (US East (N. Virginia)); us-east-2 = centralus (US Central (Ohio / Iowa)); us-west-1 = westus3 (US West (N. California / Arizona)); us-west-2 = westus2 (US West (Oregon / Washington)); ca-central-1 = canadacentral (Canada); sa-east-1 = brazilsouth (Brazil (São Paulo)); eu-west-1 = northeurope (Ireland); eu-west-2 = uksouth (London); eu-west-3 = francecentral (Paris); eu-central-1 = germanywestcentral (Frankfurt); eu-central-2 = switzerlandnorth (Zurich); eu-north-1 = swedencentral (Sweden); eu-south-1 = italynorth (Milan); ap-south-1 = centralindia (India); ap-southeast-1 = southeastasia (Singapore); ap-southeast-2 = australiaeast (Sydney); ap-northeast-1 = japaneast (Tokyo); ap-northeast-2 = koreacentral (Seoul); ap-east-1 = eastasia (Hong Kong); me-central-1 = uaenorth (UAE). | |
| memory_gib | Yes | Minimum memory in GiB. | |
| include_arm | No | Also consider Arm sizes (AWS Graviton, Azure Cobalt/Ampere). Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aws | No | ||
| page | No | ||
| azure | No | ||
| cheaper | No | ||
| verdict | Yes | ||
| dataSource | Yes | pricesAsOf (ISO date), currency, source, dataset, stale (true if the weekly refresh is late). | |
| savingMonthly | No | ||
| savingPercent | No |