Open-source metering and usage-based billing API

9.1kstars
518forks
Last commit: 2d ago
Repo age: 4y old
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 Services

Ghost

Ghost

Publishing platform with newsletters and paid memberships

51.6k
11.3k
Last commit: 1d ago

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

Alternative to:
Ghost(Pro)
Ghost(Pro)
+13
Odoo

Odoo

Modular open-source business apps suite (ERP, CRM, eCommerce)

48.5k
31.1k
Last commit: 1mo ago

Odoo is a modular suite of web-based business apps, providing an open-source ERP with CRM, accounting, inventory, HR, eCommerce, website, and more.

Alternative to:
Microsoft Dynamics 365
Microsoft Dynamics 365
+19
Hyperswitch

Hyperswitch

Open-source payment orchestrator and modular payments switch

39.4k
4.6k
Last commit: 1d ago

Hyperswitch is an open-source payments switch and orchestrator that connects multiple payment processors through a single API, with modules for routing, vaulting, retries...

Alternative to:
Spreedly
Spreedly
+8
Medusa

Medusa

Open-source, headless ecommerce backend built for customization.

31.7k
4k
Last commit: 1d ago

Open-source, API-first commerce backend with modular architecture for custom storefronts and marketplaces.

Alternative to:
Medusa Cloud
Medusa Cloud
+15
Invoice Ninja

Invoice Ninja

Invoicing, quotes, payments, projects, and time tracking

9.5k
2.6k
Last commit: 1mo ago

Self-hostable invoicing platform for invoices, quotes, recurring billing, online payments, expenses, projects, and time tracking with a client portal and API.

Alternative to:
FreshBooks
FreshBooks
+18
BTCPay Server

BTCPay Server

Self-hosted Bitcoin payment processor with Lightning Network support

7.3k
1.9k
Last commit: 1d ago

BTCPay Server is a free, open-source, self-hosted Bitcoin payment processor for accepting on-chain and Lightning payments, with invoicing, POS, and API automation.

Alternative to:
BitPay
BitPay
+9