LIVE · METER → PRICE → POST · NO SIGN-UP

The billing loop,
running in front of you.

Meter events on the left. billing-kit prices them to a fraction of a cent through an exact Money type, and posts a balanced, double-entry charge to the ledger below. Nothing here does Number(minor)/100 — that is the whole point.

Meter usage

Drag or step — it prices as you go
Input tokens
1,200,000 tokens$0.00
Output tokens
340,000 tokens$0.00
Compute minutes
45 min$0.00

This period

Priced total$0.00
Pending postingcharge
customer_balance$0.00
revenue_accrued-$0.00
Σ legs$0.00

Posted ledger

No transactions yet. Meter some usage above and hit Settle period — each settlement appends a balanced, append-only transaction here.

how it works

Each metric carries a Rate in minor units per unit. Your usage becomes a Quantity, and price(quantity, rate) rounds once, half-to-even, keeping the exact pre-rounding value (the exact ¢ chip). Settling builds an accrualPosting: customer_balance +X / revenue_accrued −X, asserted to net to zero before it is ever recorded.