talira

Open source metering and usage-based billing

open coreAGPL-3.0self-hostablefreeMCP

Lago is an open source (AGPL-3.0) metering and billing platform for usage-based, subscription and hybrid pricing. It ingests events and meters usage in real time, then handles plans, invoicing, prepaid credits with alerts and auto top-ups, entitlements, quotes and order forms, payment collection through connected payment providers, revenue analytics and revenue recognition, with Lago Embedded for white-label billing on platforms. Run it yourself for free, or on Lago Cloud (US or EU): Launch has no minimum (the first $100,000 of billings and 5 million events free once, then 0.7% of billings and $20 per million events), Scale starts at $12,000 a year with SSO, custom roles and audit logs, and Enterprise adds VPC or on-premises deployment. It has a REST API with OpenAPI, webhooks, a CLI, an MCP server for live billing data, and clients for JavaScript, Python, Ruby, Go, Java and PHP. Lago says it's SOC 2 Type II compliant.

Problems it solves

  • bill customers for usage of my API
  • an open source alternative to building usage-based billing myself
  • meter events and invoice customers by consumption
  • self-host my subscription and usage billing

Features

  • real-time usage metering
  • subscription, usage and hybrid plans
  • invoicing
  • prepaid credits and spend alerts
  • entitlements
  • revenue analytics and recognition
  • white-label Lago Embedded
  • API, webhooks, CLI and MCP server

Ways to run it

Lago Cloud

Hosted by Lago

Launch: first $100,000 of billings free, then 0.7%; Scale: from 0.6%, $12,000/year minimum; Enterprise: custom1

Pricing

Lago open source

You run it, AGPL-3.0

free2

Not included

  • features of the premium edition

You arrange

  • PostgreSQL
  • Redis for the job queue and the cache
  • S3-compatible storage
  • an SMTP provider for email

Self-hosting docs

Lago Premium

You run it, under a commercial licence

Price not published2

You arrange

  • PostgreSQL
  • Redis for the job queue and the cache
  • S3-compatible storage
  • an SMTP provider for email

Self-hosting docs

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has an MCP serverplan not known
Has official SDKsplan not known
Has single sign-onScale plan and up, 0.6% of processed billings, $12000/year minimum on the Scale plan1
Sends webhooksplan not known

Alternatives

The same job

These do what Lago does.

  1. Stripe Financial infrastructure to grow your revenue
  2. Orb Usage-based billing, metering and invoicing for SaaS and AI companies
  3. Metronome Usage-based billing platform: real-time metering, pricing, billing and reporting
  4. Chargebee Subscription billing, usage-based billing and revenue management

Compare Lago with the top 3