Skip to main content

Overview

The Forecasted Usage feature leverages machine learning to predict future usage. This helps you anticipate customer usage patterns and do revenue forecasting with confidence. The forecasting system uses a machine learning pipeline that trains multiple models on historical usage data and generates probabilistic predictions for future periods.

Forecasted usage dashboard

How forecasting works

Data-driven predictions

The ML pipeline use historical usage data, grouped by billable metric, subscription, charge, and charge filter to identify patterns and trends and train ML models. It then generates forecasts 12 months ahead at monthly granularity. As a rule of thumb, the forecasts are updated in the first 2 weeks of the month.

Forecasting methods

The system supports two main forecasting approaches:

1. Trained ML Models

Advanced machine learning models that learn from historical patterns, including:
  • LightGBM: Gradient boosting model with quantile loss for probabilistic forecasting
  • N-BEATS: Deep learning neural network specialized for time series
  • Ensemble: Combines multiple models for improved accuracy
These models generate three forecast scenarios (conservative, realistic, and optimistic) based on different probability quantiles.

2. Historical Mean

A simpler baseline method that uses historical average usage as the forecast. It is used whenever there is insufficient data to train ML models.

Probabilistic forecasting

All trained model forecasts include three scenarios:
  • Conservative: Lower-bound estimate for cautious planning
  • Realistic: Median forecast representing the most likely outcome
  • Optimistic: Upper-bound estimate for best-case scenarios
This probabilistic approach helps you understand the range of possible outcomes and plan accordingly.

Limitations

The models forecast the future usage amounts for a subset of all potential future revenue sources. The forecasting currently does not take into account new customer growth or product launches directly. Recently created and unused/deleted billable metrics and charges can be excluded from the forecasts.

Filtering options

Filter forecasted usage data by:
  • Currency
  • Customer country
  • Customer external ID
  • Customer type
  • Customer has TaxID
  • Plan code
  • Subscription external ID
  • Billable metric
PREMIUM FEATUREForecasted Usage and advanced filtering options are only available to users with a premium license. Please contact us to get access to Lago Cloud and Lago Self-Hosted Premium.