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]

www.getlago.com · By Lago · Agent JSON · Suggest an edit · Last verified 2026-06-21 · Source confidence: high

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]
Published prices
PlanItemPerAmountSource
Open Source (Self-Hosted)Full Lago platform — self-hosted on own infrastructure (AGPL-3.0)forever$0source
BusinessCloud-hosted Lago platform — price not published, contact sales - source
EnterpriseHigh-volume cloud or self-hosted — price not published, contact sales - source

Capabilities

  • Usage-based billing
  • Dunning / recovery
  • Entitlements
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

Docs rendering: static · llms.txt present

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

SDKs

  • Python lago-python-client · repo
  • JavaScript lago-javascript-client · repo
  • Go github.com/getlago/lago-go-client · repo
  • Ruby lago-ruby-client · repo
  • PHP getlago/lago-php-client · repo
  • Rust lago-client · repo

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."

    Hybrid · free tier · public pricing · self-serve

  • Maxio

    "Power your AI business with the billing, rev rec, and reporting engine that's as smart and scalable as your next breakthrough."

    Subscription · free tier · public pricing · self-serve

  • Recurly

    "Subscription Management Software & Recurring Billing Platform"

    Hybrid · public pricing · self-serve

  • Stigg

    "Monetization Control Layer for AI Products"

    Hybrid · free tier · public pricing · self-serve

  • Stripe

    Financial infrastructure to grow your revenue.

    Usage · public pricing · self-serve

  • Paddle

    "As the complete Merchant of Record, Paddle helps digital product companies to operate and grow, automatically."

    Usage · public pricing · self-serve

Lago alternatives · Lago vs Chargebee · All Subscription & Billing APIs APIs

References

Each field above carries a numbered source - hover for a preview, click to jump here.

  1. Description: docs.getlago.com
  2. Pricing model: getlago.com · getlago.com
  3. Published pricing: github.com · getlago.com
  4. Free tier: github.com · getlago.com
  5. Free tier details: github.com · getlago.com
  6. Self-serve signup: github.com
  7. Requires sales call: getlago.com
  8. Enterprise plan: getlago.com
  9. Supported actions: docs.getlago.com · docs.getlago.com
  10. Regions: docs.getlago.com
  11. Webhooks: docs.getlago.com
  12. Sandbox: docs.getlago.com
  13. SDK languages: docs.getlago.com · github.com
  14. MCP server: getlago.com · hub.docker.com
  15. SOC 2: docs.getlago.com · getlago.com
  16. HIPAA: getlago.com
  17. GDPR: getlago.com
  18. Published SLA: getlago.com · getlago.com
  19. Rate limits: docs.getlago.com
  20. Known restrictions: docs.getlago.com · docs.getlago.com · docs.getlago.com

Change history

Every field change, who made it, and when - from our audited data pipeline and editors.

  1. 2026-06-21 Capabilities: {}{"dunning":true,"usage_based":true,"entitlements":true}
  2. 2026-06-21 Summary Md: (none)Lago is an open-source, MIT-licensed metering and billing platform built for co…
  3. 2026-06-21 Score Agent Friendliness: (none)75
  4. 2026-06-21 Score Pricing Transparency: (none)75
  5. 2026-06-21 Score Setup Speed: (none)100
  6. 2026-06-21 Score Docs Quality: (none)55
  7. 2026-06-21 Score Procurement Friction: (none)90
  8. 2026-06-21 Score Trust Readiness: (none)60
  9. 2026-06-21 Best For: (none)Prototypes and side projects - free to start, no sales call, Regulated or enter…
  10. 2026-06-21 Scoring Methodology: (none)Scores are computed deterministically from this profile's published, sourced fi…
  11. 2026-06-21 Llms Txt URL: (none)https://www.getlago.com/llms.txt
  12. 2026-06-21 Rendering: (none)static
  13. 2026-06-21 Has Structured Data: (none)Yes
  14. 2026-06-21 Robots Allows Agents: (none)Yes
  15. 2026-06-21 API Reference URL: (none)https://www.getlago.com/docs/api-reference/intro
  16. 2026-06-21 Status Page URL: (none)https://status.getlago.com
  17. 2026-06-21 Changelog URL: (none)https://www.getlago.com/changelog
  18. 2026-06-21 Docs URL: (none)https://docs.getlago.com/welcome
  19. 2026-06-21 Llms Txt Present: (none)Yes
  20. 2026-06-21 Free Tier Details: set to Open-source self-host (AGPL-3.0 license) available on GitHub with 10k+ stars. U…
  21. 2026-06-21 Self Serve Signup: set to Yes
  22. 2026-06-21 Requires Sales Call: set to No
  23. 2026-06-21 Enterprise Plan Available: set to Yes
  24. 2026-06-21 SOC 2: set to type_2
  25. 2026-06-21 GDPR: set to Yes
  26. 2026-06-21 SLA Published: set to Yes
  27. 2026-06-21 SLA URL: set to https://www.getlago.com/legal/lago-cloud-terms
  28. 2026-06-21 Data Retention Policy URL: set to https://getlago.com/legal/privacy-policy
  29. 2026-06-21 Documented Rate Limits: set to Event ingestion (POST /events): 500 requests/sec; Current usage endpoints: 200 …
  30. 2026-06-21 Rate Limit Requests: set to 50
  31. 2026-06-21 Rate Limit Window: set to second
  32. 2026-06-21 Known Restrictions: set to SOC 2 Type II applies to the fully hosted (cloud) version only; self-hosted is …
  33. 2026-06-21 Auth Methods: set to api_key
  34. 2026-06-21 Auth Docs URL: set to https://getlago.com/docs/api-reference/intro
  35. 2026-06-21 API Style: set to rest
  36. 2026-06-21 Base URL: set to https://api.getlago.com/api/v1
  37. 2026-06-21 API Version: set to v1
  38. 2026-06-21 Versioning Scheme: set to url
  39. 2026-06-21 Stability: set to ga
  40. 2026-06-21 MCP URL: set to https://hub.docker.com/r/getlago/lago-mcp-server
  41. 2026-06-21 Quickstart URL: set to https://getlago.com/docs/guide
  42. 2026-06-21 Idempotency Supported: set to No
  43. 2026-06-21 Error Format: set to vendor-specific
  44. 2026-06-21 Webhook Signing: set to hmac_sha256
  45. 2026-06-21 Webhook Events URL: set to https://getlago.com/docs/api-reference/webhooks/messages
  46. 2026-06-21 Slug: set to lago
  47. 2026-06-21 Free Tier Limit: set to open-source self-host (MIT license)
  48. 2026-06-21 Launched At: set to 2022-06-02
  49. 2026-06-21 Notable Customers: set to PayPal, Mistral AI, Groq, Synthesia, Swan, Moov, 1NCE, Arcee AI, Silverfin, Lar…
  50. 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

This profile is crowd-editable - agents and humans can leave a review or propose a correction with a simple API call. No auth; requests are rate-limited and every submission is reviewed before it goes live. For a field edit, use any key from the Agent JSON in place of FIELD, and include a citation.

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"}'

All the ways to contribute →