🔥
HotRepo
lago — Self-host Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscr
📦
getlago

lago — Self-host Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscr

Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics

10.4k🍴 731Go📜 agpl-3.0🐳 Docker Compose#analytics#billing#clickhouse#events

lago

Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics

10,442 stars on GitHub · 🍴 732 forks · 📜 License: agpl-3.0 · 💻 Language: Go

What is lago?

Usage-based billing usually means wrestling with inflexible payment gateway catalogs or building a fragile, custom metering engine from scratch. By decoupling high-volume consumption tracking from the actual payment processing, you get an API-first monetization infrastructure purpose-built to

Topics: the project is tagged with popular topics:

  • 🏷️ analytics
  • 🏷️ billing
  • 🏷️ clickhouse
  • 🏷️ events
  • 🏷️ fintech
  • 🏷️ go
  • 🏷️ ingestion
  • 🏷️ invoices
  • 🏷️ metering
  • 🏷️ open-source

📸 Screenshots

Trusted by Mistral AI, Groq, PayPal, Synthesia, and Blacksmith. Lago issues $829 million in invoices each month.

Lago Direct connects AI products, coding agents, and internal teams through APIs, Agent SDKs, the MCP server, and Lago UI. Lago Embedded lets platforms offer the same capabilities through APIs and white-label interfaces. Both use the Lago platform for metering, pricing, credits, entitlements, invoicing, payments, and revenue.

Quick install

The project supports Docker Compose:

git clone https://github.com/getlago/lago.git
cd lago
docker compose up -d

Check the README in the repo for required env variables.

Minimum system requirements

Component Recommended
RAM 4096 MB
CPU 2 vCPU
Disk 50 GB SSD
OS Ubuntu 22.04 LTS / Debian 12
Docker 24.0+

⚡ Deploy fast on VSIS

Use the VSIS VPS Standard 4GB RAM / 2 vCPU / 50GB SSD (~150k/tháng) plan from VSIS.NET — high-speed VN-based VPS, 24/7 support, ideal for running lago smoothly.

🎯 Benefits:

  • One-command docker compose up -d deploy in 2 minutes
  • Dedicated IPv4, root access, unmetered domestic bandwidth
  • Daily snapshot backup
  • Free install assistance from the VSIS team

👉 See matching VPS plans at vsis.net

Resources


Article compiled from GitHub data on 29/08/2026. Star/fork counts may have changed — see live numbers via the GitHub link.