# opencost/opencost

Cost monitoring for Kubernetes workloads and cloud costs

Repository: https://github.com/opencost/opencost
Canonical: https://ross.abutalabs.com/products/opencost
Homepage: http://opencost.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: kubernetes, opencost, aws, azure, cncf, cost, cost-optimization, gcp, k8s, monitoring, finops, prometheus
Last push: 2026-08-26T20:09:11+00:00

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

## Adoption (not part of the score)
Stars 6698, forks 866 (observed 2026-08-28T04:09:47.830134+00:00)

## What it is
OpenCost is a CNCF incubating, vendor-neutral open source tool for real-time Kubernetes and cloud cost monitoring and allocation. It provides a cost specification plus a Go implementation that exposes pricing data via REST APIs, a web UI, and Prometheus metrics.

## Use cases
- monitor kubernetes workload costs per namespace, pod, or controller
- allocate cloud spend across teams for showback and chargeback
- track aws, azure, and gcp cloud costs in one place
- export kubernetes pricing data to prometheus
- price on-prem kubernetes clusters with custom csv rates
- track ai inference costs for vllm deployments

## When to choose
- you run kubernetes and need per-namespace or per-pod cost visibility
- you want vendor-neutral, open source finops tooling with prometheus integration
- you need multi-cloud cost allocation across aws, azure, and gcp
- you operate on-prem clusters and need custom pricing support

## When to avoid
- you need full enterprise finops features like advanced forecasting or savings recommendations
- you are not running kubernetes or cloud infrastructure
- you want a fully managed hosted cost solution without self-hosting

## Facets
- artifact type: service
- maturity: active
- function: monitoring, analytics, cloud
- domain: monitoring, cloud-computing, analytics
- platform: go, self-hosted, cloud
- tags: finops, cost-monitoring, cost-allocation, kubernetes, prometheus, chargeback, showback, multi-cloud, cncf, devops, containers, docker

## Member repositories
- opencost/opencost (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:47.830134+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-29T17:42:58.510913+00:00, confidence not recorded.
  - readme: https://github.com/opencost/opencost (fetched 2026-08-28T04:09:47.830134+00:00, sha 5f6553a84b00)
  - homepage: http://opencost.io (fetched 2026-08-29T08:39:05.243230+00:00, sha ebc7cd542160)
  - site_page: https://opencost.io/docs (fetched 2026-08-29T08:39:05.252932+00:00, sha f9cdb029a812)
- Data as of 2026-08-30T08:39:29.467469+00:00.
