Guide
Usage-based billing: meters, free tiers, alerts and caps
Charging for what customers use fits products where value grows with use. It also adds work: you have to count accurately, explain the bill, and stop a surprise before it reaches an invoice.
7 min read · Last checked
Key points
- Decide the unit first. A good unit is something customers understand and you can count exactly.
- Pick how usage combines over a period: total, peak or last reading. The wrong one overbills or underbills.
- Show customers their usage so far, and warn them before they pass what is included.
- Alerts warn. Only a spend cap changes what is charged.
Start with the unit
A meter counts one thing: API calls, seats, gigabytes, minutes. Choose a unit the customer can predict from how they use your product. If they cannot guess the bill, they will not trust it.
Stripe’s documentation describes the same model for its own metering: usage events are recorded against a meter, and the bill is calculated from the totals. The principle carries across billing systems.
Choose how usage combines
A meter needs a rule for turning many readings into one number for the period. TenaBill offers three:
- Sum: the total of all usage in the period. Right for calls, messages and gigabytes transferred.
- Max: the peak value seen. Right for things like the most seats in use at once.
- Last value: a snapshot at the end of the period. Right for a count that you report as it stands, such as stored gigabytes.
Free units and price per unit
Each meter can include a number of free units per billing period, then charge a price per unit beyond them. A price of zero means usage is included in the plan price and not billed separately. A meter that is not billable still counts usage for analytics and quota checks, without creating a charge.
Billing happens after the fact
TenaBill prices usage when the billing period closes. By default it records what you report and never rejects or cuts off usage in the middle of a period. That suits invoiced usage, which is the common case. If you need service to stop the moment a customer reaches a limit, as in a prepaid product, you enforce that limit in your own system before or alongside reporting usage.
For time-based metering, report the elapsed duration yourself as the quantity, for example seconds per call. TenaBill does not track calls or sessions, and will not notice a call that never reports an end.
Show usage so far
The least expensive way to prevent a bill dispute is to show the bill before it is final. TenaBill shows, for each meter, usage reported so far in the current period, the charge so far and the charge expected by the end of the period. Customers see the same figures in their portal under View usage. The expected charge assumes the rest of the period looks like the part already used, so it says “Too early to tell” in the first days. It is an estimate; the invoice is what is charged, and taxes, discounts and credits are not included.
Warn before the free units run out
Usage alerts are on by default. They fire at percentages of a meter’s free units, 50, 80 and 100 unless you change them, and you can choose up to five. Each percentage is sent once for each subscription, meter and period, and if usage jumps past several at once only the highest is sent. You can also email the customer. Your own systems receive a usage.threshold_reached webhook either way.
Alerts do not change what is billed.
Cap spend when you need a ceiling
A spend cap limits usage-priced charges on a subscription for a billing period. A soft cap raises a signal when reached. A hard cap either blocks new usage or keeps recording it without billing, depending on the behaviour you choose, and both send a usage.cap_reached webhook. Use a cap when a customer, or you, need a firm limit on what one subscription can be charged.
What to know before you rely on this
- Usage is billed after the period closes. There is no real-time enforcement of an allowance unless you add it in your own system.
- TenaBill does not track call or session duration. You report the quantity.
- Estimates in the portal do not include taxes, discounts or credits.
- Spend caps are set through the API today. They are not yet in the console.
Questions people ask
Can I mix a flat subscription with usage charges?
Yes. Attach a meter to an offering’s pricing, and usage beyond the free units appears on the customer’s invoice next to the subscription.
Can I change a meter’s key or aggregation later?
No. They are fixed when the meter is created. Create a new meter if you need a different one.
What stops a customer running up a very large bill?
A spend cap on the subscription. Alerts only tell you and the customer; they do not limit the charge.