Skip to main content

Recurring billable metrics

Only the sum_agg, unique_count_agg and weighted_sum_agg aggregation types can be recurring. A count_agg, max_agg or latest_agg billable metric is always metered.
When you set recurring: true or choose the “recurring” option in the user interface, the billing aggregation for your billable metric will persist across billing periods. This means that the accumulated result will carry over and be used to charge the customer in subsequent periods.

Metered billable metrics

Conversely, if you set recurring: false or select the “metered” option in the user interface, the billing aggregation for your billable metric will reset to zero at the end of each billing period. This ensures that the customer’s charges reflect only the usage within that specific period.