lago
Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics
- 11k
- Go
- AGPL-3.0
- 5 d ago
Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics
Metering and Billing for AI, API and DevOps. Collect and aggregate millions of usage events in real-time and enable usage-based billing.
Independent measurement and audit for AI agents. Audit charges, prepare spend actions, and measure task economics. CLI, MCP and Provider SDK.
Prepaid asynchronous LLM inference platform: FastAPI, PostgreSQL-backed queues, deadline-aware scheduling, modular GPU workers, vLLM integration, token metering, ledger billing, Stripe test payments, Next.js dashboard, Python SDK, and Docker. Includes a mock mode and recorded walkthrough; real GPU validation pending.
Open-source, provably-correct usage billing. One Go binary + Postgres. Meter usage, prove every invoice against the raw events, and run it all from an AI agent in plain English — flat-priced, never a cut of your revenue.
Build usage-based, subscription, and AI billing with Lago in Codex or Claude Code. Includes an offline billing example and implementation workflow.
Simulate monthly GitHub Copilot spend for enterprises (Business + Enterprise seats) across cost centers.