Skip to main content
AI-billing captures usage inside your app, resolves cost, and sends events to your chosen destination. Configure credentials, customer identity, and meters in your app and billing service. Start with the quickstart and Node.js integration. Use Customer Tagging from authenticated server state so each event maps to the right customer.

Polar

Send events with costs in base currency units and map customer external IDs.

Stripe

Configure a destination, meter units, and Stripe customer mapping.

Lago

Send usage to a billable metric with a matching customer identifier.

OpenMeter

Send CloudEvents and configure the matching meter and customer subject.

Pricing source

Use provider-reported costs, a static price map, or a compatible price resolver. The Pricing API supplies public catalog rates and request cost calculations. A static map needs explicit updates when rates change. You can also call the Pricing API directly from another stack and send the calculated amount to your billing service yourself. Recording provider cost and choosing what to charge a customer are separate decisions.
Last modified on October 29, 2026