Manage usage based and subscription billing with an open source system for metering, invoicing, and revenue analytics.

Lago is an open-source web app and server that provides infrastructure for metering, billing, and revenue management. It supports usage-based, subscription-based, and hybrid pricing models, allowing companies to bill based on any trackable metric. The software is deployed as a self-hosted server using Docker and Docker Compose or available via a cloud version.
Users interact with the system through a web interface or a REST API. The platform is designed for product-led companies, specifically those in the AI, cloud, and API sectors that require flexible monetization strategies. It functions as a payment-agnostic layer that integrates with various payment gateways to handle cash collection and payment processing.
The system is built with an API-first architecture and provides official client libraries for Node.js, Python, Ruby, and Go. It supports integration with major cloud marketplaces including AWS, Azure, and GCP. For high-volume environments, the self-hosted version allows for dedicated workers and external storage configurations using S3 or GCS. The architecture is designed to handle the complexities of pricing data science and event ingestion at scale, ensuring that billing remains accurate as usage grows.
Lago serves as a flexible billing engine for companies that need full control over their pricing data and revenue infrastructure. It allows organizations to maintain ownership of their financial data.
A payment infrastructure for digital products and SaaS that handles billing, sales tax, and merchant of record duties.
Manage subscription billing and payment infrastructure with real-time analytics and modular financial reporting tools.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.