The Cost section ingests billing data from all connected cloud providers and surfaces spend trends, forecasts, anomalies, and savings recommendations in one view. It’s designed for both daily cost monitoring and longer-term planning.
Supported billing sources
| Provider | Data source |
|---|
| AWS | Cost Explorer API (GetCostAndUsage, GetCostForecast) |
| GCP | BigQuery billing export |
| Azure | Cost Management API |
Billing data syncs daily by default. To trigger an immediate sync:
Or click Cost → Sync billing data in the UI.
Cost overview
The overview page shows four summary cards:
| Card | What it shows |
|---|
| This month | Estimated spend to date in the current billing period |
| Last month | Final spend for the previous month |
| Forecast | Projected spend for the rest of the current month |
| MoM change | Month-over-month percentage delta |
Below the summary cards, a line chart shows daily spend for the last 30 days broken down by provider.
Trends
The Trends tab lets you explore historical spend in detail:
- Filter by provider, service, and region
- Choose a time window: last 7, 30, or 90 days, or a custom range
- Group by provider, service, resource, or tag
- Toggle between daily, weekly, and monthly granularity
Forecasting
InfraAudit generates 30-, 60-, and 90-day cost forecasts using the billing history from each cloud provider’s native forecasting API. The forecast confidence interval is shown as a shaded band around the projected line.
Forecasts are most accurate after 3 to 4 weeks of billing history. On a freshly connected account, InfraAudit uses industry averages as a starting point.
Anomaly detection
InfraAudit flags cost anomalies — days where spend significantly exceeds the expected range based on historical patterns. An anomaly appears as a spike marker on the trend chart.
Click any spike to see:
- How far over the expected spend the day was
- Which services drove the increase
- A link to the affected resources
To route cost anomaly alerts to Slack or email, see Alerts.
Savings recommendations
The Recommendations tab in the Cost section shows resource-level savings opportunities:
| Type | Description |
|---|
| Right-sizing | Instance types overprovisioned for their actual CPU and memory usage |
| Reserved Instances | On-demand instances running long enough to benefit from 1-year or 3-year reserved pricing |
| Spot migration | Fault-tolerant workloads suitable for Spot or Preemptible instances |
| Idle resources | Instances, volumes, or load balancers with near-zero utilization for 7+ days |
| Unattached volumes | EBS volumes, GCP disks, or Azure managed disks with no attached instance |
Each recommendation shows an estimated monthly savings and the specific resource to act on. Click a recommendation to view the full analysis and apply the suggested change.
CLI
# Cost overview
infraudit cost overview
# Trend by provider and service
infraudit cost trend --provider 1 --days 30
# 30-day forecast
infraudit cost forecast --days 30
# List cost anomalies
infraudit cost anomalies
# List cost savings recommendations
infraudit recommendation list --type cost
Next steps