azure_calculate_cost
Estimate monthly Azure resource costs by providing service, SKU, quantity, and usage hours. Get pricing for VMs, storage, and other services.
Instructions
Calculate monthly cost for an Azure resource.
Looks up pricing and calculates the estimated monthly cost based on quantity and usage hours.
Example: # Cost for 3 D4 v5 VMs running 24/7 azure_calculate_cost( service="Virtual Machines", sku_match="D4 v5", quantity=3 )
# Cost for 1000 GB storage
azure_calculate_cost(
service="Storage",
product_match="Blob Storage",
sku_match="Hot LRS",
quantity=1000,
hours_per_month=1 # Storage is per GB, not per hour
)Args: service: Azure service name region: ARM region name (default: "westeurope") sku_match: SKU name to match product_match: Product name to match quantity: Number of units (VMs, instances, GB, etc.) hours_per_month: Hours of usage per month (default: 730 = 24/7) price_type: Price type (default: "Consumption") currency: Currency code (default: "USD")
Returns: Dictionary with pricing details and calculated costs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Azure service name | |
| region | No | ARM region name (default: "westeurope") | |
| sku_match | No | SKU name to match | |
| product_match | No | Product name to match | |
| quantity | No | Number of units (VMs, instances, GB, etc.) | |
| hours_per_month | No | Hours of usage per month (default: 730 = 24/7) | |
| price_type | No | Price type (default: "Consumption") | |
| currency | No | Currency code (default: "USD") |