#111111th of 354 in Backends, databases and hostingFor finance and business, finance and accounting

lago

Usage-based billing engine: metering, pricing, invoicing and payments API

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
10.9k
License
AGPL-3.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Go
Stars, last 29 weeks+1,365
6 May 2026: 9,557 stars13 May 2026: 9,591 stars20 May 2026: 9,634 stars27 May 2026: 9,657 stars3 Jun 2026: 9,697 stars10 Jun 2026: 9,722 stars17 Jun 2026: 9,934 stars24 Jun 2026: 10,042 stars1 Jul 2026: 10,098 stars8 Jul 2026: 10,129 stars15 Jul 2026: 10,161 stars22 Jul 2026: 10,185 stars29 Jul 2026: 10,215 stars5 Aug 2026: 10,238 stars12 Aug 2026: 10,272 stars19 Aug 2026: 10,318 stars26 Aug 2026: 10,368 stars2 Sept 2026: 10,423 stars9 Sept 2026: 10,477 stars16 Sept 2026: 10,521 stars23 Sept 2026: 10,569 stars30 Sept 2026: 10,610 stars7 Oct 2026: 10,635 stars14 Oct 2026: 10,662 stars21 Oct 2026: 10,689 stars28 Oct 2026: 10,707 stars4 Nov 2026: 10,745 stars11 Nov 2026: 10,784 stars18 Nov 2026: 10,898 stars25 Nov 2026: 10,922 stars

9,557 on 6 May 202610,922 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Lago ingests usage events from your app, turns them into billable metrics, applies pricing, credits and entitlements, then generates invoices and syncs payments through providers such as Stripe, Adyen and GoCardless. It is API-first with SDKs for Node.js, Python, Ruby and Go, plus a web UI and webhooks. The CLI, MCP server and LLM-usage Agent SDKs are separate MIT repos. Self-host with Docker Compose or Helm, or use paid Lago Cloud.

Who it is for: Teams adding usage-based billing to AI or API products

Strengths

  • Events deduplicated by transaction_id, so retried usage events are not billed twice
  • Supports graduated, volume, package, prepaid and minimum-commitment charges, plus wallets and top-ups
  • Separate MIT-licensed MCP server, CLI and Python/JS SDKs for metering LLM token usage
  • Prometheus metrics and dedicated workers let you scale event, billing and webhook queues separately

Weaknesses

  • AGPL-3.0 license may be a problem for embedding in closed-source products
  • Billing Assistant and some enterprise integrations are Premium only
  • Production self-hosting means operating stateful services and workers yourself
  • Self-hosted instances send product analytics by default unless you opt out

What it needs

  • no GPU
  • Docker + Compose
  • Needs Docker Compose, Redis, Stripe, Adyen, GoCardless
  • port 80

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Backends, databases and hosting

See all 354
Also in Backends, databases and hosting
RankProjectScore
#109apijsonJava ORM serving JSON-defined CRUD APIs over many databases without endpoint code Live demo ↗ (opens in a new tab)18.4k starscustom license78 out of 100
#110efcoreObject-database mapper for .NET with LINQ queries, change tracking and migrations14.8k starsMIT78 out of 100
#112databendRust data warehouse with SQL analytics, vector and full-text search on object storage9.5k starsApache-2.078 out of 100
#113nhostOpen-source Firebase alternative on Postgres, Hasura GraphQL, auth and storage9.4k starsMIT78 out of 100
#114cheKubernetes-hosted cloud development workspaces with a web IDE, defined by devfiles7.2k starsEPL-2.078 out of 100