#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.
- Stars
- 10.9k
- License
- AGPL-3.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
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
- [BUG]: Can't rotate API key in the UI ↗ (opens in a new tab)0 reactions · closed 10 Jun 2026Fixed by fix(api-key): rotation ↗ (opens in a new tab)
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| Rank | Project | Score |
|---|---|---|
| #109 | apijsonJava ORM serving JSON-defined CRUD APIs over many databases without endpoint code | 78 out of 100 |
| #110 | efcoreObject-database mapper for .NET with LINQ queries, change tracking and migrations | 78 out of 100 |
| #112 | databendRust data warehouse with SQL analytics, vector and full-text search on object storage | 78 out of 100 |
| #113 | nhostOpen-source Firebase alternative on Postgres, Hasura GraphQL, auth and storage | 78 out of 100 |
| #114 | cheKubernetes-hosted cloud development workspaces with a web IDE, defined by devfiles | 78 out of 100 |