Fetches real-time Azure retail pricing using the Azure Retail Prices API (prices.azure.com) and estimates Copilot Studio agent credit consumption. Use when the user asks about the cost of any Azure service, wants to compare SKU prices, needs pricing data for a cost estimate, mentions Azure pricing, Azure costs, Azure billing, or asks about Copilot Studio pricing, Copilot Credits, or agent usage estimation. Covers compute, storage, networking, databases, AI, Copilot Studio, and all other Azure service families.
Use this skill to retrieve real-time Azure retail pricing data from the public Azure Retail Prices API. No authentication is required.
GET https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview
Append $filter as a query parameter using OData filter syntax. Always use api-version=2023-01-01-preview to ensure savings plan data is included.
If anything is unclear about the user's request, ask clarifying questions to identify the correct filter fields and values before calling the API.
armRegionName values in lowercase with no spaces (e.g. "East US" → eastus, "West Europe" → westeurope, "Southeast Asia" → southeastasia). See references/REGIONS.md for a complete list.Items array from the JSON response. Each item contains price and metadata.NextPageLink if you need more than the first 1000 results (rarely needed).| Field | Type | Example |
|---|---|---|
serviceName | string (exact, case-sensitive) | 'Functions', 'Virtual Machines', 'Storage' |
serviceFamily | string (exact, case-sensitive) | 'Compute', 'Storage', 'Databases', 'AI + Machine Learning' |
armRegionName | string (exact, lowercase) | 'eastus', 'westeurope', 'southeastasia' |
armSkuName | string (exact) | 'Standard_D4s_v5', 'Standard_LRS' |
skuName | string (contains supported) | 'D4s v5' |
priceType | string | 'Consumption', 'Reservation', 'DevTestConsumption' |
meterName | string (contains supported) | 'Spot' |
Use eq for equality, and to combine, and contains(field, 'value') for partial matches.
# All consumption prices for Functions in East US
serviceName eq 'Functions' and armRegionName eq 'eastus' and priceType eq 'Consumption'
# D4s v5 VMs in West Europe (consumption only)
armSkuName eq 'Standard_D4s_v5' and armRegionName eq 'westeurope' and priceType eq 'Consumption'
# All storage prices in a region
serviceName eq 'Storage' and armRegionName eq 'eastus'
# Spot pricing for a specific SKU
armSkuName eq 'Standard_D4s_v5' and contains(meterName, 'Spot') and armRegionName eq 'eastus'
# 1-year reservation pricing
serviceName eq 'Virtual Machines' and priceType eq 'Reservation' and armRegionName eq 'eastus'
# Azure AI / OpenAI pricing (now under Foundry Models)
serviceName eq 'Foundry Models' and armRegionName eq 'eastus' and priceType eq 'Consumption'
# Azure Cosmos DB pricing
serviceName eq 'Azure Cosmos DB' and armRegionName eq 'eastus' and priceType eq 'Consumption'