Skip to main content
CostGraph combines provider costs with infrastructure usage so you can see what drives spend, attribute it to teams or customers, and investigate changes. The data you connect determines how much detail you can see. The following diagram shows how source data becomes cost context you can act on. CostGraph collects cost and usage data, matches it to resources, attributes spend, and supports investigation and action.

Connect cost and usage data

Start with the source that answers your question. You can combine sources as you need more detail. A provider bill can show what a node costs. The operator adds the workload usage needed to explain how that node’s capacity is used. Network tracing and cloud network access add connections between resources.

Match costs to resources

CostGraph uses resource identity to connect billing and inventory data. For Kubernetes, it allocates CPU and memory costs using the larger of usage and requests, and GPU costs using the GPUs containers request. It also tracks idle capacity, including GPUs no container requests, and storage costs. In Context, you can follow a resource’s relationships and inspect its cost breakdown. The view distinguishes billed costs from allocated costs and identifies estimated data. See Context for how to read the graph.

Billed costs and price estimates

Provider integrations can supply actual charges or estimates, depending on the data the provider exposes. The Pricing API supplies infrastructure and model rates for pricing usage. An estimate can differ from an invoice that includes discounts, credits, or taxes. For hardware you own, register a rate and assign its pricing ID to the resource. See Pricing IDs.

Attribute spend

Use resource metadata and virtual tags to group costs by team, environment, project, or customer. A virtual tag evaluates rules against your cost data without changing tags in your cloud account. For example, a team rule can group the workloads and provider charges that belong to your platform team. Group spend by that tag to review the team’s costs. See Virtual tags to define and preview the rules.

Investigate and act

Insights surfaces cost changes and savings opportunities. Recommendations draw on observed resource usage and supported cloud provider advisors. The available recommendations depend on the sources you connect. Graph AI lets you investigate this data through conversation. Workflows let you define an outcome, choose the tools and changes the agent can use, and follow its execution. Goals default to asking before each change. You can configure approval settings within the goal’s limits.

Next steps

Choose the next task based on what you want to understand or change.

Kubernetes clusters

Inspect workload costs, idle capacity, and rightsizing recommendations.

Insights

Investigate cost changes and savings opportunities.

Graph AI

Ask questions about your connected cost and usage data.

Workflows

Define an outcome and control the changes an agent can make.