Billing data ingest
Each cloud provider exposes billing data through a different API. InfraAudit handles each one:| Provider | Source | Granularity |
|---|---|---|
| AWS | Cost Explorer (GetCostAndUsage) | Daily |
| GCP | BigQuery billing export table | Daily |
| Azure | Cost Management API | Daily |
AWS billing notes
AWS billing notes
Cost Explorer data has a 24-hour lag. Data for day D is available by approximately 08:00 UTC on day D+1. Applying Cost Allocation Tags in AWS enables resource-level attribution — InfraAudit can break down costs by tag when they’re available.
GCP billing notes
GCP billing notes
BigQuery billing export must be configured before InfraAudit can ingest GCP cost data. Once configured, data typically appears within 2–4 hours of the billing period. See GCP integration setup for instructions.
Azure billing notes
Azure billing notes
Azure Cost Management data is generally available within 24 hours. Billing data is synced daily automatically once you connect an Azure subscription.
Forecasting methodology
InfraAudit uses two forecasting approaches:Provider-native forecasts
For AWS and Azure, InfraAudit sources the forecast from the provider’s own forecasting API:- AWS —
GetCostForecastwith a 90-day horizon and daily granularity - Azure — Cost Management forecast API
InfraAudit trend model
For GCP (which doesn’t offer a native forecasting API) and as a secondary validation for AWS and Azure, InfraAudit runs a linear trend model over the last 30 days of billing data:- Compute a 7-day rolling average to smooth day-of-week effects.
- Fit a linear regression to the last 30 days.
- Project forward using the regression slope.
What the forecast shows
In the Cost section of the dashboard, you’ll see:- This month to date — actual spend through yesterday
- Remaining days — forecast spend for the rest of the current month
- End-of-month estimate — actual spend plus forecasted remainder
- 30/60/90-day outlook — three forecast horizons with confidence bands
Improving forecast accuracy
- More billing history means better forecasts. Accuracy improves noticeably after 8+ weeks of connected data.
- For AWS, enabling Cost Allocation Tags and tagging your resources improves resource-level attribution and forecast breakdown by service or team.
- For GCP, configuring BigQuery billing export as early as possible maximizes the historical data available to the trend model.