Send the raw event — a token, a tool call, a GPU-second, a rendered page — and Macropay deduplicates, aggregates, prices, prorates and invoices it in real time. No nightly batch. No counter bolted onto a checkout.
One ledger primitive handles every meter you'll ever define. Push events over HTTP, our SDK, or an OpenAI-compatible proxy that meters as it streams.
Fire-and-forget ingestion built for bursty agent traffic. We accept millions of events a minute, deduplicate with an idempotency key, and timestamp to the millisecond.
// one call — we handle the restawait macropay.meter({ customer: "cus_8Xa2", event: "gpt-4o.out", quantity: 1840, // tokensidem: "req_b91f…" // dedupe});
Tiered, volume, package, per-unit, graduated, with included allowances and overage — composed per product, per customer, per agent. Change a price and it versions cleanly; existing contracts hold.
Because Macropay is the merchant of record, every metered invoice ships with the right VAT/GST line for the buyer's country — calculated, collected and remitted. You get one clean payout, never a tax return.
The ledger was the first thing we built — not the last. It shows.
If you can emit an event for it, you can bill for it — at the unit and cadence your product actually uses.
Bill input/output tokens per model, with margin netted against your provider cost in real time.
Charge for completed tasks, MCP tool calls, or successful outcomes — not just seats.
Transcription seconds, generated images, rendered documents, GPU-minutes — any unit.
Classic metered API monetization with included tiers, overage and prepaid credits.
A platform fee plus consumption on one invoice, prorated to the second on plan changes.
Meter platform activity and split settlement to underlying sellers automatically.
Flat 4.5% + $0.50 per transaction, all-in. Tax liability removed the day you switch.