🔥
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.7k🍴 780Go📜 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,670 stars on GitHub · 🍴 767 forks · 📜 License: agpl-3.0 · 💻 Language: Go

What is lago?

A self-hosted web/product analytics tool — Google Analytics alternative, cookieless, GDPR-friendly, lightweight <1KB script.

The biggest strength is GDPR/PDPA compliant out of the box + 50-100x lighter than GA, no site slowdown.

Best for site owners, blogs/SaaS, anyone needing accurate data + GDPR/PDPA compliance.

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 10/10/2026. Star/fork counts may have changed — see live numbers via the GitHub link.