Usage billing

Bill for what your customers use.

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

Price · API calls

Sample

Each tier of usage at its own price.

  • First 10,000 included
  • Up to 100,000 at 0.002
  • Then 0.001

130,000

Billable after allowance120,000
100,000 × 0.002$200.00
20,000 × 0.001$20.00
This period$220.00

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%.

Updated

Metering

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
Read the usage meter API

send-usage.http

POST https://usage.comecero.com/v1/events
Authorization: Bearer apk_live_...

{
  "events": [{
    "operation_id": "req_7Hk2p9",
    "external_customer_id": "cust_8412",
    "metric_key": "ai_tokens",
    "quantity": "1250"
  }]
}

200 · Answer

{
  "counted": 1,
  "duplicate": 0,
  "results": [{
    "operation_id": "req_7Hk2p9",
    "status": "counted"
  }]
}

Credit

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
Sell prepaid credit

Prepaid credit · cust_8412

Sample

$20.00 left

  1. 1 NovCredit pack bought+$100.00
  2. 6 NovGranted after an outage+$10.00
  3. 30 NovUsage past the allowance−$90.00

Order used when usage is billed

  1. Allowance
  2. Credit
  3. Charged

When credit and allowance run out

Stop at hard limit

Limits and alerts

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

API calls · November

82% used

82,140 of 100,000

050%80%100%

Prepaid credit

$20.00 left

Past the allowance

Charge for it

  • usage:threshold_reached · 50%3 Nov 14:02
  • usage:threshold_reached · 80%9 Nov 08:47

Invoices

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

Northwind AI

Invoice INV-2026-1184 · Renewal 1 Dec

Sample
  • Team plan

    Monthly

    $290.00

  • Seats

    12 × $15.00

    $180.00

  • API calls

    48,200 used, 10,000 included

    $76.40

  • Prepaid credit applied

    −$20.00

Total due

$526.40

Payment linkPDF · Pay by card

Good to know

Where the edges are, so nothing surprises you later.

  • 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.

Questions

Your questions,
answered.

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.

Ready when you are

Bill for usage. Get paid for it.

Set it up in test mode with the quickstart, or talk to us about your pricing.

Your revenue review

Sample

Revenue slipping away each month

$22,700

Declined at checkout$12,400
Failed renewals$6,900
Fraud losses$2,100
Chargebacks lost$1,300

Each line comes with the fix that wins it back.