> ## Documentation Index
> Fetch the complete documentation index at: https://docs.costgraph.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Recommendations

> Where CostGraph's savings recommendations come from, where to find them, and how to act on them

CostGraph recommends changes that lower your spend: rightsizing a VM or a
container, removing an idle resource, moving to a cheaper placement, or buying
a commitment. Recommendations come from what CostGraph measures and from your
cloud providers' own advisors. They all appear in
[Insights](https://docs.costgraph.ai/costgraph/insights.md), priced from your bill.

## Sources

The following table lists where recommendations come from.

| Source | Recommends | Details |
| - | - | - |
| CostGraph Agent | Downsize, upsize, or terminate a VM, or move it to a cheaper cloud | [Agent recommendations](https://docs.costgraph.ai/costgraph/agent/recommendations.md) |
| CostGraph Operator | Raise or lower container requests and limits, remove idle workloads, and change node and disk types | [Kubernetes clusters](https://docs.costgraph.ai/costgraph/compute/kubernetes.md#workloads) |
| AWS Cost Optimization Hub | Rightsizing, Graviton, stop and delete, Savings Plans, and Reserved Instances | [AWS](https://docs.costgraph.ai/costgraph/integrations/aws.md#savings-recommendations) |
| Google Cloud Recommender | Idle resources, machine types, and committed use discounts | [Google Cloud](https://docs.costgraph.ai/costgraph/integrations/gcp.md#savings-recommendations) |
| Azure Advisor | Rightsizing, reservations, and savings plans | [Azure](https://docs.costgraph.ai/costgraph/integrations/azure.md#savings-recommendations) |
| Oracle Cloud Advisor | Idle compute, unattached volumes, and resizes | [Oracle Cloud](https://docs.costgraph.ai/costgraph/integrations/oci.md#savings-recommendations) |

CostGraph fetches cloud provider recommendations once a day. Where CostGraph
already flags the same resource, you see one item that says whether the
provider agrees.

Insights also carry savings that CostGraph finds across your spend. Examples
are a cluster that fits on fewer nodes, a cheaper AI model, or steady spend
with no commitment. See [Insight types](https://docs.costgraph.ai/costgraph/insights.md#savings-opportunities).

## Find recommendations

* **Insights** lists every open recommendation with its monthly cost impact.
  Filter by **Category** or **Provider**.
* **Virtual Machines** and **Kubernetes Clusters** show each resource's
  recommendation next to its cost. See
  [Virtual machines](https://docs.costgraph.ai/costgraph/compute/virtual-machines.md#apply-a-recommendation).
* **Cost > Commitments** shows how much of your usage commitments cover. See
  [Commitments](https://docs.costgraph.ai/costgraph/commitments.md).

Purchase recommendations, and recommendations CostGraph can't price yet, show
the monthly spend they affect rather than a saving. They don't add to the
savings total.

## Act on a recommendation

* **Apply it yourself.** A VM recommendation gives you the change as Terraform,
  a CLI command, or instructions for an AI agent.
* **Create a ticket.** With [Jira](https://docs.costgraph.ai/costgraph/integrations/jira.md),
  [Linear](https://docs.costgraph.ai/costgraph/integrations/linear.md), or
  [GitHub Issues](https://docs.costgraph.ai/costgraph/integrations/github-issues.md) connected, turn a
  recommendation into an issue with its cost detail.
* **Hand it to a workflow.** A [workflow](https://docs.costgraph.ai/costgraph/workflows/overview.md)
  proposes the change and waits for your approval.
* **Mute it.** If the recommendation doesn't apply, mute it in Insights.

## API

Read VM recommendations with
`GET /api/v1/tenant/compute/recommendations` in the
[CostGraph API](https://docs.costgraph.ai/api-reference/costgraph/introduction.md), and their total savings
with `GET /api/v1/tenant/compute/recommendations/summary`. Graph AI and the
[MCP server](https://docs.costgraph.ai/costgraph/mcp/usage.md) read recommendations too.

To get recommendations for a machine shape and its usage without connecting
anything, use the [Pricing API](https://docs.costgraph.ai/api-reference/introduction.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.