# Usage-Based Billing Starts With Deciding What to Count

Source: https://lowob.com/research/usage-based-billing-meter-design/
Publisher: lowob (https://lowob.com/)
Author: Chris Wells
Published: 2026-11-29
Function: Revenue
Research checked: 2026-11-29

> Summary: Define the billable event before choosing billing software. Deduplicate retries, keep an event ledger and run a shadow invoice. A worked overage example.

<section id="answer">

**Usage-based billing starts by defining one billable event the customer, finance and engineering all recognize, such as a completed document.** Deduplicate retries, keep a usage ledger, show customers the same usage they're billed for, and run a shadow invoice before charging anyone.

</section>

**IN SHORT:** At $0.04 per document over a 1,000 allowance, 1,120 completions mean $4.80 of overage; counting 75 retries makes it $7.80. Small sums become sales problems when procurement can't reproduce the invoice.

## Key facts

| | |
| --- | --- |
| Billable event | One the customer recognizes, e.g. a completed document |
| Example overage | $4.80 for 1,120 completions on a 1,000 allowance |
| With retries counted | $7.80 |
| Layers | Product, meter, billing, customer view |
| Test | Shadow invoices for basic, heavy and custom accounts |


![Diagram: Product (emit completed event); Meter (deduplicate and total); Invoice (reconcile overage)](https://lowob.com/assets/research/batch-3/usage-based-billing-meter-design.svg)

## How should you design usage-based billing?

The customer uploads a document. It times out twice and finally processes. The infrastructure sees three attempts. The customer sees one result. If you're charging for completed documents, there should be one billable event everyone can recognize.

At $0.04 per additional document on a 1,000-document allowance, 1,120 completions produce $4.80 in overage. Count another 75 retries and the bill becomes $7.80. The dollar difference is small here. It becomes a sales problem the first time procurement asks you to reproduce the invoice and nobody can.

| Layer | Decision to make | How to prove it |
|---|---|---|
| Product | Precisely when a document counts | Test retries, failures and duplicate uploads |
| Meter | Who owns aggregation and corrections | Replay the same event and check one charge |
| Billing | How caps, tiers and invoice cutoff work | Rebuild a statement from the event ledger |
| Customer view | What usage the customer sees and when | Compare their view with the invoice |

Stripe now owns Metronome and recommends it for new usage-based billing integrations, while its basic meters stay supported for existing ones. Either way, we'd choose the tool by whether it can explain custom contracts, aggregation rules and corrections cleanly to the customer and to finance. Decide separately what happens to product access when someone corrects past usage.

Metronome says OpenAI moved from homegrown billing to automated tooling with usage visible to customers. The useful question is the same for a much smaller business. Can the customer, finance and the person who emitted the event all identify what was charged?

Run a shadow invoice for a basic account, a heavy user and one custom deal. Include late events and retries. Give someone outside engineering the signed terms and event export and have them reproduce the total.

## Where usage billing goes wrong

- **Retries and timeouts billed** as separate usage.
- **Late events** landing after the invoice cutoff.
- **Corrections** that change the bill but not product access, or the reverse.
- **Customer dashboards** that show different numbers from the invoice.

## What we'd do

1. Write exactly when a unit counts, and test retries, failures and duplicate uploads.
2. Decide who owns aggregation and corrections.
3. Set how caps, tiers and invoice cutoff work, and rebuild a statement from the ledger.
4. Show customers the same usage the invoice uses.
5. Run shadow invoices and have someone outside engineering reproduce one.

## Common questions

**What is a billable event?**
The specific action you charge for, defined so the customer, finance and engineering would all count it the same way.

**Do I need dedicated usage billing software?**
Billing systems like Stripe offer usage metering, and Stripe now recommends Metronome for new integrations. Choose by how well the tool explains contracts, aggregation and corrections.

**How do I handle retries in usage billing?**
Deduplicate them so one customer result is one charge.

**What is a shadow invoice?**
A calculated bill you don't send, used to check the numbers before going live.

## Next move

Give someone in finance your contract terms and one account's event export. Ask them to reproduce last month's bill.

Related: [What is usage-based pricing for AI?](https://lowob.com/research/what-is-usage-based-pricing-for-ai/)

## Sources

- [Metronome customer story, OpenAI](https://metronome.com/customer-stories/open-ai)
- [Stripe usage-based billing](https://stripe.com/billing/features)
- [Stripe meters](https://docs.stripe.com/billing/subscriptions/usage-based)

*Written by Chris Wells, **lowob**.*
