Skip to main content

Overview of charges

Usage-based charges allow you to add pay-as-you-go pricing to a plan. Each charge is linked to an existing billable metric and calculated from the events collected during the billing period. Common examples include API calls, active users, transactions, or compute time. Pricing follows the charge configuration (tiers, aggregation, proration, etc.), ensuring invoices reflect real usage rather than a fixed amount.

Charge models and billing behavior

Charges support a set of pricing options compared to the fixed charges. They can use: They can be configured to:

Currency

All usage-based charges use the same currency as the plan, ensuring consistency across invoices.

Trial period

The trial period applies only to the plan’s base amount and does not cover usage-based charges. Usage events recorded during the trial are always considered and billed.

Decimals precision

Charges can be defined with up to 15 decimal places (for example: $0.000123456789123). Charges are invoiced in amount_cents, so Lago automatically rounds values when generating invoices (for example, USD 1102 amount_cents = $11.02).

Delete a charge

You can delete a charge even if the plan is associated to active subscriptions. Once deleted and saved:
  • The charge is immediately removed from all linked subscriptions
  • It no longer appears in customer current usage; and
  • It is removed from all draft invoices.
However, the charge will still appear on invoices finalized before the deletion.
Deleting a charge does not delete the underlying events.
If the charge is later re-added, previously collected events may be included in billing, depending on the billing period limits.

Invoice display name

You can customize, during plan creation or edition, how a charge appears on invoices by setting an invoice display name. This name overrides the default charge name and is shown everywhere invoices are displayed.