---
name: Azure Cost Management
slug: azure-cost-management
category: Data
description: Azure Cost Management queries historical Azure spending, forecasts future costs, and identifies optimization opportunities to reduce waste. Use it when you need cost breakdowns, budget forecasting, orphaned resource cleanup, or rightsizing recommendations.
github: "https://github.com/microsoft/azure-skills/tree/main/skills/azure-cost"
language: Python
stars: 1390
forks: 231
install: "npx degit https://github.com/microsoft/azure-skills/tree/main/skills/azure-cost ~/.claude/skills/azure-cost"
installs_to: ~/.claude/skills/azure-cost
source_path: skills/azure-cost/SKILL.md
collection_size: 25
category_size: 668
collection_url: "https://dirskills.com/collections/microsoft/azure-skills"
added: 2026-08-19T07:27:41.842Z
last_synced: 2026-08-19T07:27:41.842Z
canonical_url: "https://dirskills.com/skills/azure-cost-management"
---

# Azure Cost Management

Azure Cost Management queries historical Azure spending, forecasts future costs, and identifies optimization opportunities to reduce waste. Use it when you need cost breakdowns, budget forecasting, orphaned resource cleanup, or rightsizing recommendations.

**Install:**

```bash
npx degit https://github.com/microsoft/azure-skills/tree/main/skills/azure-cost ~/.claude/skills/azure-cost
```

## README

# Azure Cost Management Skill

Query historical costs, forecast future spending, optimize to reduce waste.

## Routing

| User Intent | Workflow |
|-------------|----------|
| Understand current costs | [Cost Query](cost-query/workflow.md) |
| Reduce costs / find waste | [Cost Optimization](cost-optimization/workflow.md) |
| Project future costs | [Cost Forecast](cost-forecast/workflow.md) |

## Quick Reference

| Property | Value |
|----------|-------|
| **Query API** | `POST {scope}/providers/Microsoft.CostManagement/query?api-version=2023-11-01` |
| **Forecast API** | `POST {scope}/providers/Microsoft.CostManagement/forecast?api-version=2023-11-01` |
| **Required Role** | Cost Management Reader + Monitoring Reader + Reader (on target scope) |

## Scope Patterns

- Subscription: `/subscriptions/<id>`
- Resource Group: `/subscriptions/<id>/resourceGroups/<name>`
- Management Group: `/providers/Microsoft.Management/managementGroups/<id>`
- Billing Account: `/providers/Microsoft.Billing/billingAccounts/<id>`

## Service-Specific Optimization

- [Redis](cost-optimization/services/redis/azure-cache-for-redis.md)
- [Storage](cost-optimization/services/storage/azure-storage.md)

## References

- [MCP Tools, Best Practices, Safety](references/tools-and-best-practices.md)
- [SDK: Redis .NET](cost-optimization/sdk/azure-resource-manager-redis-dotnet.md)
