Macropay
Products
Billing
Usage-based billingSubscriptionsSeats & licensesCredits & walletsTrialsDiscounts
Payments
Payments & checkoutPayouts & coverage
Compliance
Merchant of RecordTax & VATDisputes & fraud
Intelligence
Margin & cost insightsAgents & MCP billingRevenue analytics
Solutions
By AI model
AI Inference & modelsAI agents & copilotsAPIs & usage products
By business
SaaS & subscriptionsDev tools & GitHub appsDigital goodsMarketplaces & platforms
PricingCoveragevs StripeJournalDocsStart free
BillingMeter anything. Bill it the same hour.

Usage-based billing
for real AI workloads.

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.

Sub-second ingestionAny cardinalityExactly-once dedupe
app.macropay.ai / meters / inference
Live meter · last 60s
● streaming
gpt-4o.in$1,204.18
gpt-4o.out$2,847.50
tool.call$612.00
voice.sec$398.22
render.pg$144.90
BILLED THIS MINUTE$5,206.80
Metering production AI for
Sonnet LabsVectorlyParserNorthwind AIGlyphRelay
How it works

From event
to invoice.

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.

01 / INGEST

Send any event, at any volume.

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.

  • Exactly-once with client-supplied idempotency keys
  • Backfill and late events reconciled automatically
  • OpenAI-compatible proxy meters tokens as they stream
meter.ts
// one call — we handle the restawait macropay.meter({ customer: "cus_8Xa2", event:    "gpt-4o.out", quantity: 1840,        // tokensidem:     "req_b91f…"   // dedupe});
02 / PRICE

Pricing your CFO actually drew.

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.

  • Hybrid base + usage on one subscription
  • Credits & prepaid wallets draw down automatically
  • Per-customer custom rates without code
0 – 1M tokens$0.0000 / incl.
1M – 10M$0.60 / 1K
10M – 50M$0.45 / 1K
50M+$0.30 / 1K
This month · 41.2M$18,540.00
03 / INVOICE

Tax-compliant invoices, paid out.

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.

  • Dunning, retries and smart recovery built in
  • Value receipts attach usage and outcomes
  • Real double-entry ledger, exportable anytime
invoice · INV-20461
Inference · 41.2M tokens$18,540.00
Tool calls · 12,400$620.00
VAT · DE 19%$3,640.40
Total due$22,800.40
By the numbers

Built to meter
at agent scale.

The ledger was the first thing we built — not the last. It shows.

2.4M+
Events / minute ingested
<800ms
Event → billable, p99
38
Currencies invoiced
100%
Exactly-once dedupe
Who meters with us

One primitive,
every shape of usage.

If you can emit an event for it, you can bill for it — at the unit and cadence your product actually uses.

Inference

Per-token model APIs

Bill input/output tokens per model, with margin netted against your provider cost in real time.

Agents

Per-task & per-tool

Charge for completed tasks, MCP tool calls, or successful outcomes — not just seats.

Voice & media

Per-second & per-page

Transcription seconds, generated images, rendered documents, GPU-minutes — any unit.

Infra & APIs

Per-request products

Classic metered API monetization with included tiers, overage and prepaid credits.

Hybrid SaaS

Base + usage plans

A platform fee plus consumption on one invoice, prorated to the second on plan changes.

Marketplaces

Metered + split payouts

Meter platform activity and split settlement to underlying sellers automatically.

Questions

Metering, answered.

How fast does an event become billable?
Sub-second. Events are ingested, deduplicated and aggregated in real time — p99 under 800ms from API call to a billable line on the customer's running invoice. No nightly batch job.
What stops double-billing on retries?
Every event carries an idempotency key you supply. We guarantee exactly-once accounting even if your client retries, your network hiccups, or an agent loops — duplicates are dropped, never billed.
Can I meter and still bill a flat subscription?
Yes. Hybrid plans put a base fee and metered usage on the same subscription and invoice, with proration that matches your pricing exactly. Credits and prepaid wallets draw down against usage automatically.
Do invoices include tax?
Always. Macropay is the merchant of record, so every metered invoice carries the correct VAT/GST/sales-tax line for the buyer's jurisdiction — calculated, collected, filed and remitted by us. More on MoR →
How do I send events?
Over our SDK, a plain HTTP endpoint, or the OpenAI-compatible proxy that meters tokens as it streams — drop the proxy in front of your model calls and usage is captured with zero extra code.

Meter your first
event today.

Flat 4.5% + $0.50 per transaction, all-in. Tax liability removed the day you switch.