Product structures
Cloud platform example
A cloud platform sells compute time, bandwidth, team seats and platform access. Its catalog can combine these structures:Select usage with filters
Compute’s filters select usage by theinstance_type property:
A filter’s name is a readable label. Its matching values decide which usage it selects. Lago does not infer CPU or memory criteria from the name. Define the key and its allowed values on the billable metric before using them in Product filters.
Choose how to measure quantity
A metered Product uses a billable metric to measure usage from events. Bandwidth is a metered Product even when it has no filters. Seat is also metered in this example, with filters forrole: "admin" and role: "read_only".
A fixed Product uses a configured quantity and does not need a billable metric. Platform fee is a fixed Product. If seat quantities are agreed in the Contract, use fixed Products such as Admin seat and Read-only seat. Product filters apply only to metered Products.
See Products to choose a type and create a Product.
Choose a structure
- Add a Product category when grouping related Products makes your catalog and invoices easier to read.
- Add a Product for each item you bill for.
- Add Product filters when groups of metered usage need different prices.
- Keep a Product standalone when it does not need a category.
Product categories
Group products on usage and invoices.
Products
Fixed and metered products.
Product filters
Price subsets of metered usage.
Rate cards
Put a price on a product or filter.