getlago/lago

Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics

View on GitHub ↗Jump to charts ↓Open shareable report →

getlago/lago has 10k+ stars and 750+ forks on GitHub, is written in Go, and was last pushed on Oct 17, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 42 minutes ago
Added to GitGenius on April 30th, 2024
Created on February 28th, 2022
Open Issues & Pull Requests: 33 (+0)
GitHub issues: Enabled
Number of forks: 771
Total Stargazers: 10,689 (+0)
Total Subscribers: 53 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 20.8 hours
Mean response time: 53.2 days
90th percentile: 112.0 days
Tracked items: 77

Maintainer activity

3 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 18
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 279 days
Stale 30+ days: 13
Stale 90+ days: 12

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 2

Top labels

  • stale (18)
  • issue: enhancement (16)
  • issue: help wanted (11)
  • Github (10)
  • issue: feature request (9)
  • issue: bug (8)
  • Infrastructure (6)
  • issue: need information (4)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Lago is an open-source metering and usage-based billing API designed for product-led companies that need to track consumption and generate invoices based on real-time usage data. Written primarily in Go, the platform provides a complete billing infrastructure that handles consumption tracking, subscription management, pricing iterations, payment orchestration, and revenue analytics. The repository is classified across multiple domains including scalable systems, real-time analytics, business intelligence, data processing, and API management, reflecting its role as a comprehensive billing platform.

The core functionality centers on real-time event ingestion and aggregation for any pricing dimension, allowing companies to bill for virtually any measurable metric. Lago supports multiple pricing models including usage-based, subscription-based, and hybrid approaches. The platform is payment-agnostic, integrating with major payment gateways like Stripe, Adyen, and GoCardless. Every feature is accessible through a REST API, making it suitable for programmatic integration into existing systems. The platform includes automated invoice generation, entitlements management for feature access control tied to billing plans, cash collection with dunning and retry logic, and revenue analytics providing visibility into MRR and usage trends.

Deployment flexibility is a key design principle. Users can self-host Lago using Docker and Docker Compose for complete data control, or use Lago Cloud for faster setup without infrastructure management. The self-hosted option supports advanced configurations including S3 and GCS storage, SMTP setup, SSL, and dedicated workers for high-volume scenarios. The platform is SOC 2 Type II certified and uses ClickHouse for data processing, as indicated by the repository topics.

The codebase overlaps with contributors from other significant projects including Vitess, LiteLLM, and ComfyUI, suggesting cross-pollination with other infrastructure and data processing communities.

Lago provides SDKs for multiple languages including Node.js, Python, Ruby, and Go, along with a complete OpenAPI specification. The platform includes white-label capabilities through Lago Embedded for platforms and marketplaces, AI-powered billing intelligence, and integrations with enterprise systems like NetSuite, Xero, Salesforce, HubSpot, and Avalara. The repository is distributed under the AGPLv3 license and is backed by Y Combinator. The project maintains comprehensive documentation covering getting started, API reference, billing templates reproducing pricing models from companies like Algolia and OpenAI, development environment setup, architecture details, and monitoring with Prometheus metrics.