[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Azure meter pricing](https://spiral.ai/integrations/muse-code/azure-meter-pricing)

# How to Use Azure meter pricing in Muse Code

Returns Microsoft's retail rate records for a known billing meter, including its product, SKU, region, and billing unit. Use it to identify what a meter charges for when you already have its ID.

|  |  |
| --- | --- |
| Model | Azure meter pricing |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Azure meter pricing in Muse Code

- Use Azure meter pricing to look up 0084b086-37bf-4bee-b27f-6eb0f9ee4954 in southindia. If it returns records, add its product, SKU, billing unit, and effective date to our meter reference file.
- Use Azure meter pricing to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Azure meter pricing and tell me what changed since last week.
- Check Azure meter pricing and summarize what you find in three bullet points.
- Pull the newest data from Azure meter pricing and give me the result as a table.

## How to set up Azure meter pricing in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Azure meter pricing**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "prices-azure-com/products/get_meter",
    "input": {
      "meter_id": "<meter_id>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Azure meter pricing on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Azure meter pricing tools and prices

- [Azure Retail Prices · Get meter](https://spiral.ai/tools/alexandria/prices-azure-com/products/get_meter) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| currency_code |  | USD | Billing currency, ISO 4217. Default USD. Pattern: ^[A-Z]{3}$. |
| arm_region_name |  | — | Optional ARM region slug (`eastus`) the meter belongs to. Meters are regional, and naming the region makes the lookup an indexed query (~0.2 s) instead of a catalog scan (~4 s, throttled with HTTP 429 under load). Pattern: ^[a-z0-9]{2,40}$. |
| include_savings_plan |  | — | Request api-version 2023-01-01-preview to get `savings_plan` on eligible rows. |

## What can you do with Azure meter pricing in Muse Code?

Add an Azure retail baseline to an infrastructure review using the SKUs and regions in the project's deployment files. The agent can attach meter names, billing units, tier thresholds, and effective dates to make each estimate reviewable.

### Build a regional budget baseline

Collect retail records for a planned Azure deployment in East US and West Europe. Compare matching products, billing units, and consumption tiers, using discovered SKU names or saved meter IDs to narrow the review.

### Explain a billing meter

Turn a meter ID into a readable explanation of its Azure product, SKU, region, and usage unit. Use that explanation to review a cost export against a public retail baseline.

### Check an estimate's billing units

Review the Azure rate records behind an estimate and identify calculations that mix hourly units with other usage measures or overlook a consumption threshold.

### Watch a deployment's retail baseline

Save repeated observations of the Azure SKUs or meters used in a deployment. Report changes in returned rates, units, and effective dates against the previous saved observation.

### Document an architecture decision

Attach the exact Azure product, SKU, meter, region, billing unit, and effective date to a retail comparison. This makes the assumptions behind a resource choice reviewable.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Azure meter pricing in other agents

- [Amp](https://spiral.ai/integrations/amp/azure-meter-pricing)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/azure-meter-pricing)
- [Claude](https://spiral.ai/integrations/claude-desktop/azure-meter-pricing)
- [Claude Code](https://spiral.ai/integrations/claude-code/azure-meter-pricing)
- [Cline](https://spiral.ai/integrations/cline/azure-meter-pricing)
- [Codex](https://spiral.ai/integrations/codex/azure-meter-pricing)
- [Cursor](https://spiral.ai/integrations/cursor/azure-meter-pricing)
- [Devin](https://spiral.ai/integrations/devin/azure-meter-pricing)
- [dots](https://spiral.ai/integrations/dots/azure-meter-pricing)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/azure-meter-pricing)
- [Gemini](https://spiral.ai/integrations/gemini/azure-meter-pricing)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/azure-meter-pricing)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/azure-meter-pricing)
- [goose](https://spiral.ai/integrations/goose/azure-meter-pricing)
- [Grok](https://spiral.ai/integrations/grok/azure-meter-pricing)
- [Grok Build](https://spiral.ai/integrations/grok-build/azure-meter-pricing)
- [Hermes](https://spiral.ai/integrations/hermes/azure-meter-pricing)
- [Instinct](https://spiral.ai/integrations/instinct/azure-meter-pricing)
- [Manus](https://spiral.ai/integrations/manus/azure-meter-pricing)
- [Muse](https://spiral.ai/integrations/muse/azure-meter-pricing)
- [n8n](https://spiral.ai/integrations/n8n/azure-meter-pricing)
- [Notion](https://spiral.ai/integrations/notion/azure-meter-pricing)
- [OpenClaw](https://spiral.ai/integrations/openclaw/azure-meter-pricing)
- [opencode](https://spiral.ai/integrations/opencode/azure-meter-pricing)
- [Perplexity](https://spiral.ai/integrations/perplexity/azure-meter-pricing)
- [Raycast](https://spiral.ai/integrations/raycast/azure-meter-pricing)
- [VS Code](https://spiral.ai/integrations/vscode/azure-meter-pricing)
- [Windsurf](https://spiral.ai/integrations/windsurf/azure-meter-pricing)
- [Zapier](https://spiral.ai/integrations/zapier/azure-meter-pricing)

## More Muse Code guides

- [Azure SKU pricing](https://spiral.ai/integrations/muse-code/azure-sku-pricing)
- [Azure retail price search](https://spiral.ai/integrations/muse-code/azure-retail-price-search)
- [Azerty product search](https://spiral.ai/integrations/muse-code/azerty-product-search)
- [Best Buy customer reviews](https://spiral.ai/integrations/muse-code/best-buy-customer-reviews)
- [Azerty product details](https://spiral.ai/integrations/muse-code/azerty-product-details)
- [Best Buy nearby stores](https://spiral.ai/integrations/muse-code/best-buy-nearby-stores)

## Questions about Azure meter pricing in Muse Code

**Can Muse Code use Azure meter pricing?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Azure meter pricing like any built-in tool.

**How much does Azure meter pricing cost in Muse Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an Alexandria account to use Azure meter pricing in Muse Code?**

No. Spiral runs Azure meter pricing on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Azure meter pricing in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Azure meter pricing runs?**

Azure meter pricing runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Does this catalog include Azure Government and Azure China?**

Microsoft limits this Retail Prices API to Azure Commercial Cloud. Do not use its regional records as evidence of rates in Azure Government or Azure China.

**Are these the rates my organization actually pays?**

These are public retail rates. Microsoft identifies the Price Sheet API as the source for negotiated Enterprise customer pricing.

**Can one source response contain every matching record?**

Microsoft caps an upstream response at 1,000 records and supplies a next-page link. A broad catalog comparison can therefore require multiple source pages.

**What does the effective date tell me about freshness?**

The optional effective start date tells you when that rate takes effect. It is not a timestamp for the catalog's latest refresh.

**Why might a converted rate disagree with my invoice?**

Microsoft says the API's currency conversions produce estimates using the current conversion rate. Those results can differ from the conversion used for your invoice.

