Usage metering
How usage events become billing and operational signals.
How usage events become billing and operational signals.
Usage metering turns gateway traffic into billable and operational data. It is how Farther Shore knows what a subscriber used, what to bill, and when a product is getting hot.
Some products know usage before forwarding. A request-counted API can count one request immediately.
Other products only know usage after the upstream responds. AI APIs often learn actual token counts from the response.
Design product docs so subscribers understand when usage is counted and which unit appears on invoices.
| Meter | Meaning |
|---|---|
requests | One billable API request. |
input_tokens | Tokens sent into a model. |
output_tokens | Tokens generated by a model. |
dollars | Cost expressed in currency units or micros. |
credits | Prepaid balance spent by requests. |
images | Generated or processed images. |
storage_bytes | Stored data volume. |
See Meter naming for naming guidance.
Usage can power:
Usage also powers operations:
The same event stream can tell Farther Shore both what to bill and whether a product needs more gateway capacity.