Metered Billing
Billing built like payments infrastructure.
Every request clears through pre-deduction, settlement, and refund — with atomic balances, idempotency, and continuous reconciliation.
console.openmodex.com
OOpenModex
Overview
API Keys
Models
Routing
Provider Keys
Tools
Usage
Billing
Logs
Request lifecycle · req_9f2kaExport
14:02:31.004pre_deduct$0.0420 reserved (est × 1.5 safety)
14:02:31.877stream_complete1,204 output tokens
14:02:31.881settle$0.0261 final cost
14:02:31.882refund$0.0159 returned to balance
14:07:00.000reconciledKafka → warehouse · invoice line created
Pre-deduct, settle, refund
Estimated cost is reserved before the request leaves, settled on completion, difference refunded atomically.
Idempotent by design
Idempotency-Key support with 24h deduplication. Retries never double-charge.
Continuously reconciled
Billing events stream through Kafka into a warehouse that checks every token against every invoice.
Fiat and crypto top-ups
Cards via Stripe, crypto where cards don't reach. PDF invoices for both.
<0.01%
reconciliation drift
3
event types per request lifecycle
24h
idempotency window
Get up and running in minutes
Free tier included. No card required. Your first key is one click away.
Start for free