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

Lago screenshot 1

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.

Key features

  • Real-time event ingestion and aggregation for usage metering
  • Automated invoice generation for hybrid and subscription plans
  • Feature access management via entitlements tied to billing plans
  • Payment orchestration including dunning and retries
  • Revenue analytics for tracking MRR and usage trends
  • White-label billing for platforms through Lago Embedded
  • AI-powered billing intelligence and MCP server for AI agents
  • Integrations with NetSuite, Xero, Salesforce, and HubSpot

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.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity16 days ago
Repository Age4 years
LicenseAGPL-3.0
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.