OpenCost is an open-source-based CNCF project that provides "real-time cost monitoring of Multi-Cluster & Cloud for Kubernetes.
Key Features of OpenCost
- Real-time cost allocation by cluster, node, namespace, pod, service, and more
- Multi-cloud cost monitoring for AWS, Azure, and GCP
- Dynamic Kubernetes asset pricing via cloud billing API integrations
- Supports on-prem Kubernetes clusters with custom pricing models
- In-cluster resource allocation (CPU, GPU, memory, persistent volumes)
- Prometheus integration for cost data export
- Carbon cost tracking for cloud resources
- Support for external costs (e.g., Datadog) through OpenCost Plugins
- Fully open-source under an Apache 2.0 license
OpenCost
addresses this need as an open-source tool designed to make Kubernetes cost management more accessible and standardized. It’s currently being used by all hyperscalers with native API directly getting their publicly available Price Lists.