Lago
"Lago is an open-source software for metering and usage-based billing. It's the best alternative to Chargebee, Recurly or Stripe Billing for companies that need to handle complex billing logic." [1]
Lago is an open-source, MIT-licensed metering and billing platform built for companies with complex usage-based, subscription, or hybrid billing logic. It handles event ingestion, invoicing, prepaid credits, entitlements, and revenue analytics, with noted adoption by AI infrastructure companies such as Mistral AI and Groq. Lago can be self-hosted at no cost or run on a managed cloud with US and EU endpoints; published pricing exists alongside an enterprise plan. SDKs cover six languages, webhooks are supported, and an MCP server is available.
Best for / Avoid if
Best for: Prototypes and side projects - free to start, no sales call; Regulated or enterprise workloads - compliance attestations and an enterprise plan; AI agents and automation - an agent-ready surface (MCP / llms.txt)
Pricing & procurement
- Pricing model
- Contact sales [2]
- Published pricing
- ✓ Yes [3]
- Free tier
- ✓ Yes [4]
- Free tier details
- Open-source self-host (AGPL-3.0 license) available on GitHub with 10k+ stars. Users can deploy on their own infrastructure at no cost to Lago. Forever-free open-source tier with core billing functionality. [5]
- Self-serve signup
- ✓ Yes [6]
- Requires sales call
- ✗ No [7]
- Enterprise plan
- ✓ Yes [8]
| Plan | Item | Per | Amount | Source |
|---|---|---|---|---|
| Open Source (Self-Hosted) | Full Lago platform — self-hosted on own infrastructure (AGPL-3.0) | forever | $0 | source |
| Business | Cloud-hosted Lago platform — price not published, contact sales | - | source | |
| Enterprise | High-volume cloud or self-hosted — price not published, contact sales | - | source |
Capabilities
- Supported actions
- create_customer, update_customer, delete_customer, list_customers, retrieve_customer_portal_url, create_plan, update_plan, delete_plan, list_plans, create_subscription, update_subscription, terminate_subscription, retrieve_usage, create_billable_metric, update_billable_metric, delete_billable_metric, list_billable_metrics, ingest_event, batch_ingest_events, create_invoice, finalize_invoice, preview_invoice, download_invoice, void_invoice, retry_payment, create_credit_note, download_credit_note, void_credit_note, estimate_credit_note, create_coupon, apply_coupon, create_addon, create_wallet, topup_wallet, list_wallet_transactions, store_payment_method, create_tax_rate, create_alert, manage_entitlements, proration, tiered_pricing, volume_pricing, graduated_pricing, package_pricing, per_unit_pricing, multicurrency, dunning, customer_portal, webhooks, revenue_analytics, coupons, trials, prepaid_credits [9]
- Regions
- US (api.getlago.com), EU (api.eu.getlago.com), self-hosted (any region) [10]
- Input types
- usage events (JSON), subscription objects, customer objects, billable metric definitions, plan configurations, coupon definitions, wallet top-up requests
- Output types
- JSON API responses, invoices (PDF), credit notes (PDF), webhook events, revenue analytics reports, customer portal (embedded iframe), OpenAPI spec
- Webhooks
- ✓ Yes [11]
- Sandbox / test mode
- ✓ Yes [12]
- SDK languages
- Python, JavaScript, Go, Ruby, PHP, Rust [13]
- MCP server
- ✓ Yes [14]
Trust & compliance
- SOC 2
- SOC 2 Type II [15]
- HIPAA
- – Unknown [16]
- GDPR
- ✓ Yes [17]
- ISO 27001
- – Unknown
- PCI DSS
- – Unknown
- Published SLA
- ✓ Yes [18]
- Rate limits
- Event ingestion (POST /events): 500 requests/sec; Current usage endpoints: 200 requests/sec; All other endpoints: 50 requests/sec. Returns 429 with X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset headers. Kafka/Kinesis/S3 connectors bypass REST limits. [19]
- Known restrictions
- SOC 2 Type II applies to the fully hosted (cloud) version only; self-hosted is outside scope, Separate test and production environments are not currently supported within a single Lago account - two separate accounts are required, Dunning (automatic) is a premium license feature, Batch event ingestion limited to 100 events per REST API request [20]
Developer surface
Integration
- API style
- rest
- Base URL
- https://api.getlago.com/api/v1
- Version
- v1
- Versioning
- url
- Stability
- ga
- Auth methods
- api_key
- Idempotency keys
- ✗ No
- Error format
- vendor-specific
- Webhook signing
- hmac_sha256
- Rate limit
- 50 / second
Adoption & maturity
- Launched
- 2022-06-02
- Notable customers
- PayPal, Mistral AI, Groq, Synthesia, Swan, Moov, 1NCE, Arcee AI, Silverfin, Laravel
Other Subscription & Billing APIs
Chargebee
"Billing & Monetization for SaaS and AI Companies."
Maxio
"Power your AI business with the billing, rev rec, and reporting engine that's as smart and scalable as your next breakthrough."
Recurly
"Subscription Management Software & Recurring Billing Platform"
Stigg
"Monetization Control Layer for AI Products"
Stripe
Financial infrastructure to grow your revenue.
Paddle
"As the complete Merchant of Record, Paddle helps digital product companies to operate and grow, automatically."
References
- ↑Description: docs.getlago.com
- ↑Pricing model: getlago.com · getlago.com
- ↑Published pricing: github.com · getlago.com
- ↑Free tier: github.com · getlago.com
- ↑Free tier details: github.com · getlago.com
- ↑Self-serve signup: github.com
- ↑Requires sales call: getlago.com
- ↑Enterprise plan: getlago.com
- ↑Supported actions: docs.getlago.com · docs.getlago.com
- ↑Regions: docs.getlago.com
- ↑Webhooks: docs.getlago.com
- ↑Sandbox: docs.getlago.com
- ↑SDK languages: docs.getlago.com · github.com
- ↑MCP server: getlago.com · hub.docker.com
- ↑SOC 2: docs.getlago.com · getlago.com
- ↑HIPAA: getlago.com
- ↑GDPR: getlago.com
- ↑Published SLA: getlago.com · getlago.com
- ↑Rate limits: docs.getlago.com
- ↑Known restrictions: docs.getlago.com · docs.getlago.com · docs.getlago.com
Change history
- 2026-06-21 Capabilities: {} → {"dunning":true,"usage_based":true,"entitlements":true}
- 2026-06-21 Summary Md: (none) → Lago is an open-source, MIT-licensed metering and billing platform built for co…
- 2026-06-21 Score Agent Friendliness: (none) → 75
- 2026-06-21 Score Pricing Transparency: (none) → 75
- 2026-06-21 Score Setup Speed: (none) → 100
- 2026-06-21 Score Docs Quality: (none) → 55
- 2026-06-21 Score Procurement Friction: (none) → 90
- 2026-06-21 Score Trust Readiness: (none) → 60
- 2026-06-21 Best For: (none) → Prototypes and side projects - free to start, no sales call, Regulated or enter…
- 2026-06-21 Scoring Methodology: (none) → Scores are computed deterministically from this profile's published, sourced fi…
- 2026-06-21 Llms Txt URL: (none) → https://www.getlago.com/llms.txt
- 2026-06-21 Rendering: (none) → static
- 2026-06-21 Has Structured Data: (none) → Yes
- 2026-06-21 Robots Allows Agents: (none) → Yes
- 2026-06-21 API Reference URL: (none) → https://www.getlago.com/docs/api-reference/intro
- 2026-06-21 Status Page URL: (none) → https://status.getlago.com
- 2026-06-21 Changelog URL: (none) → https://www.getlago.com/changelog
- 2026-06-21 Docs URL: (none) → https://docs.getlago.com/welcome
- 2026-06-21 Llms Txt Present: (none) → Yes
- 2026-06-21 Free Tier Details: set to Open-source self-host (AGPL-3.0 license) available on GitHub with 10k+ stars. U…
- 2026-06-21 Self Serve Signup: set to Yes
- 2026-06-21 Requires Sales Call: set to No
- 2026-06-21 Enterprise Plan Available: set to Yes
- 2026-06-21 SOC 2: set to type_2
- 2026-06-21 GDPR: set to Yes
- 2026-06-21 SLA Published: set to Yes
- 2026-06-21 SLA URL: set to https://www.getlago.com/legal/lago-cloud-terms
- 2026-06-21 Data Retention Policy URL: set to https://getlago.com/legal/privacy-policy
- 2026-06-21 Documented Rate Limits: set to Event ingestion (POST /events): 500 requests/sec; Current usage endpoints: 200 …
- 2026-06-21 Rate Limit Requests: set to 50
- 2026-06-21 Rate Limit Window: set to second
- 2026-06-21 Known Restrictions: set to SOC 2 Type II applies to the fully hosted (cloud) version only; self-hosted is …
- 2026-06-21 Auth Methods: set to api_key
- 2026-06-21 Auth Docs URL: set to https://getlago.com/docs/api-reference/intro
- 2026-06-21 API Style: set to rest
- 2026-06-21 Base URL: set to https://api.getlago.com/api/v1
- 2026-06-21 API Version: set to v1
- 2026-06-21 Versioning Scheme: set to url
- 2026-06-21 Stability: set to ga
- 2026-06-21 MCP URL: set to https://hub.docker.com/r/getlago/lago-mcp-server
- 2026-06-21 Quickstart URL: set to https://getlago.com/docs/guide
- 2026-06-21 Idempotency Supported: set to No
- 2026-06-21 Error Format: set to vendor-specific
- 2026-06-21 Webhook Signing: set to hmac_sha256
- 2026-06-21 Webhook Events URL: set to https://getlago.com/docs/api-reference/webhooks/messages
- 2026-06-21 Slug: set to lago
- 2026-06-21 Free Tier Limit: set to open-source self-host (MIT license)
- 2026-06-21 Launched At: set to 2022-06-02
- 2026-06-21 Notable Customers: set to PayPal, Mistral AI, Groq, Synthesia, Swan, Moov, 1NCE, Arcee AI, Silverfin, Lar…
- 2026-06-21 Fields Not Found: set to hipaa, iso_27001, pci_dss, minimum_commitment, business_plan_price_usd, enterpr…
Suggest an edit / leave a review
Leave a review or comment
curl -X POST https://apio.sh/api/feedback/lago \
-H 'Content-Type: application/json' \
-d '{"kind":"review","rating":5,"body":"Your experience with this API…"}'Suggest a correction to a field (cite a source)
curl -X POST https://apio.sh/api/suggest/lago/FIELD \
-H 'Content-Type: application/json' \
-d '{"value":"corrected value","citations":[{"url":"https://source.example/page","excerpt":"supporting quote"}],"note":"what changed and why"}'