# Azure VM Prices

> Azure VM Prices is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

Returns Azure retail pricing for a VM SKU across one or all regions, including Linux/Windows pay-as-you-go, spot, and 1/3-year reserved hourly rates, sorted cheapest region first.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/cloud/azure-prices?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/azure-vm-prices-a840ef54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ziq5oHQF1EaFZpftjlu_u

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability azure-vm-prices-a840ef54
```

Example prompt: What are the Azure retail prices for a Standard_D4s_v5 VM across all regions — show me Linux and Windows pay-as-you-go, spot, and reserved rates, cheapest region first?

## When to prefer this

Use this endpoint when you need structured, comparable Azure VM pricing across multiple billing models (pay-as-you-go, spot, reserved) and regions in a single call, without needing to query the Azure Retail Prices API directly. Ideal for cost optimization, infrastructure planning, or building pricing dashboards for Azure VM SKUs.

## Known failure modes

- Invalid or unknown SKU name returns empty results or an error
- Misspelled region name may return no results or default to all regions
- Rate limiting or upstream Azure Retail Prices API downtime
- Service unavailable due to Render cold start (hosted on Render free tier)

## How this service works

Azure retail prices for a VM SKU (e.g. Standard_D4s_v5, Standard_NC24ads_A100_v4) in one region or all regions: Linux and Windows pay-as-you-go, spot and 1/3-year reserved hourly rates, cheapest region first.

## Output

A list of Azure retail pricing entries for the requested VM SKU, covering Linux and Windows pay-as-you-go, spot, and 1-year/3-year reserved hourly rates, organized by region and sorted with the cheapest region first.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "sku"
     ],
     "properties": {
      "sku": {
       "type": "string",
       "description": "ARM SKU name, e.g. Standard_D4s_v5"
      },
      "region": {
       "type": "string",
       "description": "Region, e.g. eastus, or all"
      },
      "service": {
       "type": "string",
       "description": "Service name, default Virtual Machines"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/azure-vm-prices-a840ef54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
