getlago/lago

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

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

Lago “Lago has been able to follow the pace of our releases and has allowed us to focus on what we do best.” Timothée Lacroix, CTO at Mistral AI · Read the customer story Give your coding agent Lago's public documentation, then choose the API, CLI, or MCP for your workflow. Paste this prompt to start: These interfaces work independently. Application code uses an SDK or the REST API; no Lago plugin is required. Confirm the target organization and environment, keep API keys out of prompts and source control, and review financial changes before execution. Follow the agent setup guide for connection details and validation, or explore the website overview. To see real usage become a charge locally, run the maintained demo below. Run the maintained demo from this repository: It starts the Lago version that matches this checkout, creates a disposable local organization, and prices three illustrative AI requests.…

getlago/lago on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-31T12:53:22.662Z

Inside the original README — Document outline
  1. Build with your AI agent
  2. See Lago price an AI workload
  3. What is Lago?
  4. How Lago fits into your stack
  5. Lago Direct and Lago Embedded
  6. Agentic-first by design
  7. Platform
  8. Production characteristics
  9. Chosen by teams operating at scale
  10. Open source and managed options
  11. Deploy Lago
  12. SDKs and developer resources

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: AGPL-3.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

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

Repository facts

Owner
getlago
Primary language
Go
Stars
10,701
Forks
771
Open issues + pull requests
33
License
AGPL-3.0
Archived
No
Default branch
main
Created
2022-02-28T09:22:45.000Z
Last push
2026-10-21T08:05:53.000Z

Topics and intended use

Owner-supplied topics: analytics, billing, clickhouse, events, fintech, go, ingestion, invoices, metering, open-source, payments, pricing, pricing-data-science, react, ruby, self-hosted, subscriptions, usage-based-billing

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-21T12:14:45.869Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

avelino/awesome-go

ollama/ollama

golang/go

kubernetes/kubernetes

JuliusBrussee/caveman

netdata/netdata