A Meter is a configurable resource that defines the logic for transforming raw usage events into billable quantities for each billing period.
To configure a meter, you specify which usage event to monitor and how to aggregate the usage values collected over the billing period into a final billable quantity for invoicing
- Usage event name: The name of the usage event this meter monitors. The meter will ignore any incoming events that do not match this name.
- Aggregation method: The mathematical operation applied to the aggregation property to calculate the total billable quantity (in a billing period) for each customer.
- SUM - Adds all values received
- COUNT - Counts the total number of usage events received
- UNIQUE COUNT - Counts the number of distinct values received
- MAX - Records the highest single value received
- LAST - Uses the most recent value received
- Aggregation property: The specific field within the usage event payload that contains the value to be aggregated. e.g. 100 (tokens). Note: This field is required for all aggregation methods except COUNT. Values must be >=0 else the event will be rejected.
Create a meter

Steps:
- Go to the Usage Metering app, select the Meters tab and click + Create meter
- Fill in the meter's basic information and usage aggregation logic
- Click Create Meter
- Once created, the meter will appear in your Meters table (found in the Meters table of the usage metering app)
Edit a meter
To maintain billing auditability, a meter's core aggregation logic cannot be modified once it is created. You may only edit descriptive fields (e.g. name, description, metadata)
Steps:
- Open the meter details page, select Edit from the Manage dropdown.
- Update your meter information and click Save changes.
Archive a meter
Archiving deprecates a meter, making it unavailable for linking to any new usage-based prices.
You can only archive meters under these scenarios:
- Meter has no linked prices
- Meter has linked prices, but all are archived
Archiving a meter does not affect finalised invoices or existing subscriptions containing its linked prices.
Steps:
- On the meter details page, select Archive from the Manage dropdown
- Click the Archive meter on the confirmation dialogue that appears.
Restore a meter
Restoring a meter reverses the archival, making the meter active again. Once restored, the meter can be linked to new prices.