**Koku** is Red Hat's open source cloud cost management platform that provides cost visibility, allocation, and optimisation across hybrid cloud environments — helping operators understand where cloud spend is going and how to reduce it. It is the cost analytics layer above the raw billing data that [[CloudKitty]] generates.
---
### First Principle: Cost visibility without action is just reporting. You need allocation, analysis, and recommendations.
[[CloudKitty]] rates resource usage. Koku answers the harder business questions: which team is spending the most, how does this month compare to last, which resources are idle, and where should you right-size or turn things off.
---
### Key Considerations
- **Multi-Source**: Koku ingests cost data from [[OpenStack]] + [[CloudKitty]], AWS Cost and Usage Reports, GCP billing exports, and Azure Cost Management — providing a unified cost view across hybrid environments.
- **Cost Allocation**: Koku applies tags, labels, and custom allocation rules to attribute costs to business units, projects, teams, or products.
- **Optimisation Recommendations**: Koku identifies idle resources, right-sizing opportunities, and reserved instance savings recommendations based on historical usage patterns.
- **OpenShift Cost Management**: Koku integrates deeply with [[OKD]]/OpenShift — attributing [[Kubernetes]] pod costs to namespaces and projects based on CPU/memory requests and actual usage.
- **API and UI**: Koku ships a React-based UI and a REST API for programmatic cost queries.
- **Gaps**: Koku provides cost analysis, not invoicing. You still need a separate system to generate and send invoices to tenants.
---
### How It Fits
```
[[CloudKitty]] (OpenStack usage ratings)
+ AWS/GCP/Azure cost exports
→ Koku (unified cost data, allocation, recommendations)
→ Finance teams / platform engineering (cost governance)
```
[[CloudKitty]] | [[OpenStack]] | [[OKD]] | [[Prometheus]] | [[Open Source Hyperscaler MoC]]