Lago has been able to follow the pace of our releases and has allowed us to focus on what we do best.

Usage Metering
Send usage events to Lago Cloud, set flexible prices for each customer, and generate invoices in one place. Premium real-time wallet balances show credits left as customers use your product.
Your application sends an event. Lago validates and aggregates it into billable usage, then applies the customer's plan. Follow the event through ingestion.
AI gateways & LLMs
API & streaming
Ready for billing
Send events from your application with the API or a Lago SDK.
Aggregate events into billable metrics, from API calls to compute hours.
Combine usage charges, subscriptions, and prepaid credits in your plans.
Apply each customer’s plan to their usage and generate their invoice.
Bring usage from HTTP APIs, event streams, and LLM gateways into Lago. Connect sources such as Kafka, Kinesis, and your AI stack to ingest usage at scale and turn it into billable metrics.

Lago aggregates each customer’s events, applies the plan’s rates, and creates invoice lines from measured usage.

Use REST batch or Kafka/Redpanda for different event volumes. Validate throughput and invoice accuracy with your workload.

Both non-engineers and engineers can update usage charges via API or Lago’s no-code UI.

Everything you need to bill for usage.


Billing is mission-critical. Lago is engineered for the realities of high-volume enterprises.
See how ambitious teams build and scale their billing with Lago.
Lago has been able to follow the pace of our releases and has allowed us to focus on what we do best.

Yes. Lago’s ongoing wallet balance typically refreshes in under a second after a new event is included in usage. It reflects remaining prepaid credits after current usage, including taxes.
Use this live balance in customer dashboards and configure balance alerts and automatic top-ups.
Yes. Customize subscription fees, usage rates, minimum commitments and billing thresholds for each customer’s subscription while keeping a shared plan structure.
Lago applies those negotiated terms when calculating charges and generating invoices.
No. Lago Cloud is a fully managed billing platform. Lago handles hosting, scaling, upgrades and monitoring. Your team connects customer and usage data, configures pricing and connects your payment and finance tools.
Self-hosting is also available if you prefer to operate Lago in your own environment.
Your application sends usage events, such as API calls, tokens or compute time. Lago matches them to customer subscriptions and billable metrics, deduplicates retries, aggregates consumption and applies your pricing.
That usage feeds invoices and real-time wallet balances.
Yes. Lago supports count, count unique, latest, maximum, sum and weighted sum.
Use these to count API calls, total token consumption, measure peak storage, track active seats or calculate resource quantities weighted by the time they were used. Usage measurement documentation
Lago’s documented benchmarks reached 1–3 million events per second using Kafka or Redpanda with ClickHouse Cloud. Its REST batch API reached approximately 10,000 events per second in the tested setup.
Lago Cloud operates the metering infrastructure for you. Performance documentation
Yes. Lago uses each event’s timestamp to assign usage to its billing period. Set an invoice grace period to include late usage before finalization. For recurring billable metrics, late events received after finalization affect the next billing cycle.
Yes. Lago deduplicates repeated usage events. Resend the original payload with the same transaction ID, subscription ID, metric code and explicit timestamp so retries count the usage once. Event ingestion documentation
Yes. A Lago plan can combine a fixed subscription fee with usage charges, included allowances and overages. For example, charge a monthly platform fee plus the API calls a customer uses beyond their allowance.
Metering measures what a customer consumes, such as API calls, tokens or compute hours. Billing applies the customer’s prices and contract terms to that consumption. Lago handles both, from usage events to invoices.
Create a billable metric, a plan, a customer and a subscription in a test environment. Send a usage event, check the measured quantity and preview the resulting invoice. This lets you validate your pricing before connecting production traffic.
Yes. Include details such as model or region in your usage events, then configure charge filters to apply the corresponding rates. Use subscription overrides to set negotiated prices for individual customers.