Usage-based charges
Set up usage-based (metered) charges in Bunny: usage calculation types, minimum quantities and rounding, reporting usage records, bill run timing and testing with draft invoices.
Usage-based, or metered, charges are based on a customer’s consumption of a service and are not fixed in advance. While recurring charges have the advantage of predictability, usage-based are better suited to service where the consumption is not known in advance, such as text messages sent, API calls made, LLM requests etc.
You can mix both recurring and usage-based charges on a price list. For example, it can be a way to model committed+overage pricing models.
Usage calculation typeLink to Usage calculation type section
Bunny can aggregate usage records in four different ways.
- Average - The quantity will be the average of all the records recorded in the period.
- Sum - The quantity will be the sum of all the quantities of the usage records in the period.
- Last - The quantity will be taken from the record with the latest usage date in the period.
- Max - The quantity will be taken from the record with the highest quantity in the period.

A usage charge with a minimum quantity and a round up interval
The screenshot above shows tiered pricing. Bands pricing can also be useful for usage-based charges, because its numbers are easier for customers to understand.
Minimum quantity and round up intervalLink to Minimum quantity and round up interval section
Usage charges with tiered or volume pricing have two more settings that change the quantity Bunny bills:
- Round up interval: rounds the quantity up to the next multiple of this number, such as 10, 100 or 1,000. Use it to bill usage in blocks, for example per 100 tickets.
- Minimum quantity: if the usage is below this number, the customer is billed for the minimum instead. Use it for a minimum commitment. The minimum is billed even in a period with no usage at all.
Bunny first adds up the period’s usage records with the usage calculation type, then rounds the result up, and then applies the minimum. For example, with a round up interval of 100 and a minimum quantity of 1,000:
| Usage in the period | Rounded up | Billed quantity |
|---|---|---|
| 1,234 | 1,300 | 1,300 |
| 640 | 700 | 1,000 |
| No usage | – | 1,000 |
Leave either field empty to bill the usage as it is.
On a recurring charge, Minimum quantity means something else: the lowest quantity a customer can choose.
Usage creditsLink to Usage credits section
A usage-based charge can also be paid for with prepaid credits. Set it to Drawn from credits, and each usage record draws down the subscription’s credit balance as it arrives, with only what credits don’t cover billed as overage. See Usage credits.
Reporting usage to BunnyLink to Reporting usage to Bunny section
There are two way to report usage records into Bunny. Either you can enter them manually via the usage table or you can upload them programmatically using Bunny’s API or SDK.
Note that it is the platform’s responsibility to ensure that usage records are uploaded in time for the bill run and that no duplicates are uploaded.
Invoice generationLink to Invoice generation section
An entity’s bill run executes after 8:15 in the morning in the entity’s timezone. This gives you approximately 8 hours to ensure that all usage records for the period will be included in the bill run’s invoices.
Using draft invoices to testLink to Using draft invoices to test section
Since an account’s usage is not fully known until the end of the account’s billing period, it can be hard to visualize how the invoice will look. You can always use the invoice preview on the account for to generate a sample invoice.
You can also use the draft invoices setting on the account to prevent new invoices from being emailed automatically. This allows you to dial in the usage reporting gradually as you get up and running with Bunny. If the process that uploads usage records from your platform to Bunny missed some records, you can regenerate the invoice, verify the correctness of it and then release it to the customer.