Open-source metering and usage-based billing API

10.4k stars 728 forks last commit first released AGPL-3.0

Actively maintained

Last commit 26 Aug 2026.

Lago screenshot

Lago is an open-source billing infrastructure platform focused on event-based usage metering and hybrid pricing (subscriptions plus consumption). It provides an API-first approach with a visual interface to help teams model pricing, track usage, and generate invoices.

Key Features

  • Event-based usage metering and ingestion for consumption tracking
  • Support for subscription, usage-based, and hybrid pricing models
  • Plan and pricing configuration, including pricing iterations
  • Invoicing with automatic charge calculation based on configured plans
  • Coupons, add-ons (one-time charges), and prepaid credits
  • Billing data visibility and revenue analytics to support finance and operations workflows

Use Cases

  • Building product-led SaaS billing with usage-based components
  • Centralizing billing logic while integrating with existing payment and business systems
  • Processing high-volume billing events to generate accurate invoices

Lago is well-suited for organizations that want a programmable billing system with transparent billing logic and extensible integrations, while keeping billing data under their control.

Categories:

Tags:

Tech Stack:

Share:

Similar to Lago

Kill Bill logo

Kill Bill

Open-source programmable billing and payments platform for subscriptions

5.7k
956
Last commit

Open-source, modular billing and payments platform for subscriptions with real-time analytics, APIs, and plugin extensibility.

Apache-2.0Actively maintained
Alternative to:
Zuora logo
Zuora
+14
Ghost logo

Ghost

Publishing platform with newsletters and paid memberships

55.1k
11.9k
Last commit

Ghost is an open-source publishing platform for blogs and websites with built-in newsletters, membership management, and paid subscriptions.

MITActively maintained
Alternative to:
Ghost(Pro) logo
Ghost(Pro)
+13
Wallos logo

Wallos

Open-source self-hosted personal subscription and expense tracker

8.4k
419
Last commit

Wallos is a self-hostable web app for tracking recurring subscriptions, multi-currency expenses, notifications and simple analytics for household finances.

GPL-3.0Actively maintained
Alternative to:
TrackMySubs logo
TrackMySubs
+19

SubTrackr

Self-hosted subscription tracker with billing analytics and reminders

461
24
Last commit

Track subscriptions, visualize spending, get renewal reminders and export data. Built with Go, HTMX, SQLite and Docker for easy self-hosted deployment.

AGPL-3.0Actively maintained
Alternative to:
Rocket Money logo
Rocket Money
+3
FOSSBilling logo

FOSSBilling

Open-source billing and client management for hosting providers

1.7k
343
Last commit

Self-hosted open-source billing, invoicing, payments, and client management platform for hosting and online service businesses.

Apache-2.0Actively maintained
Alternative to:
WHMCS logo
WHMCS
+12
Bitcart logo

Bitcart

Non-custodial, self-hosted cryptocurrency payment processor

982
172
Last commit

Self-hosted, open-source, non-custodial crypto payment processor supporting major coins, smart chains, and stablecoins with merchant APIs and an admin panel.

MITActively maintained
Alternative to:
Coinbase Commerce logo
Coinbase Commerce
+9