# mivano/azure-cost-cli

CLI tool to perform cost analysis on your Azure subscription

Repository: https://github.com/mivano/azure-cost-cli
Canonical: https://ross.abutalabs.com/products/azure-cost-cli
Language: C#
License: Apache-2.0
License Family: permissive
Topics: azure, cli, cost, command-line, cost-management, dotnet-tool, finops, governance
Last push: 2026-08-17T08:05:43+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 88
- inputs: {"age_days": 1240, "days_push": 16, "days_rel": 17, "gap_med": 29, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1122, forks 152 (observed 2026-08-28T04:03:40.110310+00:00)

## What it is
A .NET global command-line tool that queries the Azure Cost Management API to report subscription costs. It outputs accumulated, daily, and per-resource costs plus budgets and anomaly detection to console, text, CSV, markdown, or JSON.

## Use cases
- get the cost of my azure subscription from the command line
- export azure costs to csv or  for reporting
- break down azure costs by resource or meter category
- detect cost anomalies and trends in my azure subscription
- list azure budgets from a script
- compare azure costs between two periods in ci

## When to choose
- you want scriptable azure cost reporting without the portal
- you need machine-readable cost output (/csv) for automation or CI workflows
- you prefer a lightweight dotnet global tool over writing Cost Management API calls

## When to avoid
- your subscription type is unsupported by the Azure Cost Management API (e.g., sponsored subscriptions)
- you need full interactive dashboards or visualization rather than CLI output
- you are not on .NET 8/10 and cannot install the runtime

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, analytics
- domain: cloud-computing, analytics, developer-tools
- platform: cli, cross-platform, dotnet
- tags: azure, cost-management, finops, cost-analysis, budgets, anomaly-detection, devops

## Member repositories
- mivano/azure-cost-cli (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.110310+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:40:56.934082+00:00, confidence not recorded.
  - readme: https://github.com/mivano/azure-cost-cli (fetched 2026-08-28T04:03:40.110310+00:00, sha 367339919bbe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
