Spiral gives your agent every tool with one account. Browse the tools →

Gemini · E-commerce

How to Use Azure SKU pricing in Gemini

Returns Microsoft's retail rate records for a known Azure SKU and region, with meter names, billing units, and effective dates. Use it to inspect the charges attached to a specific resource size or storage SKU.

Prompts to try with Azure SKU pricing in Gemini

Copy an example into Gemini, or ask in your own words.

Use Azure SKU pricing to compare Standard_D2s_v3 in East US and West Europe. Show the returned products, meter names, consumption types, and billing units.

Azure SKU pricingGemini
Try asking
  • Use Azure SKU pricing for Standard_F16s in West Europe. Separate records labeled Spot from other records and explain their billing units.

  • Use Azure SKU pricing to look this up and give me the result as a table.

  • Pull the latest numbers from Azure SKU pricing and tell me what changed since last week.

  • Check Azure SKU pricing and summarize what you find in three bullet points.

How to set up Azure SKU pricing in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Azure SKU pricing

    One request; the result comes back by polling or a webhook.

    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_sku_prices",
        "input": {
          "arm_sku_name": "<arm_sku_name>",
          "arm_region_name": "<arm_region_name>"
        }
      }'

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

Azure SKU pricing providers and prices

Spiral runs Azure SKU pricing through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Azure Retail Prices · Get sku prices
prices-azure-com/products/get_sku_prices

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Price typeConsumption, DevTestConsumption, or Reservation

Restrict to one price type; omit for all.

Include savings planon or off

Request api-version 2023-01-01-preview to get savings_plan on eligible rows.

Every API field of Azure Retail Prices · Get sku prices is on its tool page: open its card above.

What can you do with Azure SKU pricing in Gemini?

Turn Azure catalog records into a readable comparison of resource choices and billing units. A chat assistant can explain the products and meters behind a resource estimate and show where consumption tiers affect the comparison.

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.

Separate Spot records from standard VM records

Inspect Azure virtual machine results for Spot in the meter and SKU names. Keep those records separate when comparing resource choices for an interruptible batch workload.

Questions about Azure SKU pricing in Gemini

Can Gemini use Azure SKU pricing?

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

How much does Azure SKU pricing cost in Gemini?

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

Do I need an Alexandria account to use Azure SKU pricing in Gemini?

No. Spiral runs Azure SKU 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 SKU pricing in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Azure SKU pricing runs?

Azure SKU pricing runs in the background. Gemini 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.

Get started

Start using Azure SKU pricing in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options