# Bill for what your customers use.

Source: https://comecero.com/product/usage-billing

Send usage from your server, price it any way you like, sell prepaid credit and put it all on one invoice with the plan.

## In short

Comecero usage billing meters what your customers use, such as API calls, tokens, minutes or seats, and bills it on the subscription's renewal invoice. Prices can be per unit, per package, tiered, volume or stair-step, with an included allowance, prepaid credit that pays first and alerts at 50%, 80% and 100%.

## How does usage get to Comecero?

Your server posts events to the usage meter in batches of up to 1,000, with a usage key. Each event is counted once, even if you resend it, and usage up to 30 days late still lands on the right period. Count a total, such as calls, or the highest level reached, such as peak seats.

- Batches of up to 1,000
- Counted once
- Sum or gauge metrics

## Can customers pay for usage up front?

Yes. Sell credit packs and top-ups, or grant credit after an outage. Usage uses the plan's allowance first, then credit, and only the rest is charged.

- Credit packs and top-ups
- Grants
- Allowance, then credit, then charge

## How do I stop bill shock?

Each plan either charges for usage past the allowance or stops at a hard limit. Your app gets a webhook at 50%, 80% and 100% of the allowance, and customers see usage so far in their account. Unusually large usage bills are held for you to review.

- Charge or stop at a hard limit
- Alerts at 50%, 80% and 100%
- Large bills held for review

## Where does usage get billed?

On the subscription's renewal invoice, next to the plan and its seats. When it cannot go there, it goes on a separate usage invoice. Small amounts wait until they are worth charging.

- One invoice with the plan
- Separate usage invoice when needed
- Small amounts wait

## What it does not do

- Usage billing is turned on per account. Ask us and we switch it on.
- Comecero does not block usage inside your product. Your app enforces limits using the alerts.
- Price versions are fixed once saved. To change a price, save a new version.

## Frequently asked questions

### Which pricing models are supported?

Per unit, per package, tiered (graduated), volume and stair-step, each with an included allowance. Prices go to 6 decimals.

### What happens if my server sends an event twice?

It is counted once. Each event has an operation ID, and resending the same one is safe.

### Can I combine usage with seats and a monthly plan?

Yes. Usage is billed on the renewal invoice next to the plan and its seats.

### How do I turn usage billing on?

Ask us and we turn it on for your account. Then set up metrics and prices in the dashboard and test them in test mode.
