Lago

Payments Open source

An open-source metering and usage-based billing engine for SaaS and AI products.

Open source Freemium

About

What is Lago?

Lago is an open-source billing platform designed for usage-based, subscription, and hybrid pricing models. It ingests usage events through an API, aggregates them into billable metrics, and generates invoices with support for prepaid credits, coupons, taxes, and multiple currencies. Lago connects to payment processors such as Stripe, making it a flexible foundation for SaaS and AI companies that charge by consumption and want to avoid building billing infrastructure in-house.

Pros & Cons

Pros

  • Purpose-built for usage-based and hybrid pricing
  • Event ingestion API with flexible billable metrics
  • Supports credits, coupons, add-ons, and invoicing
  • Works alongside payment processors such as Stripe
  • Open-source and self-hostable
  • Reduces the need for custom billing code

Cons

  • Not a merchant of record, so tax compliance stays with you
  • Self-hosting requires infrastructure management
  • Billing logic still needs careful design and testing
  • Smaller ecosystem than established billing vendors

Use Cases

Charging customers based on API or token usage Combining subscriptions with metered overages Issuing prepaid credits for AI products Replacing custom-built invoicing systems Experimenting with new pricing models
Discover more tools

Build smarter
with no-code.

Explore the full library of no-code tools — filtered by category, pricing, and open-source status.