Skip to main content
Lago calculates subscription and usage charges, generates invoices, and connects billing to payment providers and finance tools. Lago Cloud is the hosted option: Lago runs and updates the billing service while your team configures its pricing and connects customer and usage data. You can also self-host Lago when your team needs to operate the deployment.

Five-step billing workflow

1. Usage ingestion

Events provide information about your customers’ consumption, with the highest level of granularity. Any product feature for which you want to charge your customers should correspond to a specific event. An event can be triggered by an action or can be sent periodically. Lago is able to ingest events at scale while preventing duplicates.

2. Metrics aggregation

The aggregation process consists of converting events into billable metrics. There are 6 aggregation types:

3. Pricing and packaging

Creating plans allows you to define how much your customers should pay for using your product. You can then combine plans and billable metrics to implement any billing model (i.e. subscription-based, usage-based, or hybrid). Billable metrics may be priced differently depending on the associated plan.

4. Invoicing

Lago automatically generates invoices for each customer according to the plan model: the subscription fee can be billed at the beginning or at the end of the billing period while usage-based charges are always calculated at the end of the billing period. Invoices include fees, taxes and customer information.

5. Payments

When an invoice is emitted and finalized, it’s ready for payment collection. Connect payment providers through native integrations or trigger payments on any PSPs using the invoice payload created by Lago.