Lago
estimatedOpen-source usage-based billing with direct Postgres access to revenue data
Lago is a commercial open-source (COSS) billing platform focused on usage-based billing, shipped as a Docker distribution that stores data in PostgreSQL tables such as invoices, events, fees, and credit_notes. In this Aug 2024 wiki article, editor Anh-Tho Chuong argues Stripe's API has no MRR endpoint and steers customers toward paid add-ons (Sigma, Data Pipeline), then demonstrates SQL queries for total revenue, MRR/ARR, and 'Usage MRR' directly on Lago's schema. It positions open-source billing as a way to own financial data and build reports (e.g., via Metabase) without ETL pipelines or third-party metrics tools.
authentik
Open Core · undisclosed
Docker · PostgreSQL
Terraform
Open Core · undisclosed
Docker · PostgreSQL
Trigger.dev
Open Core · ~$225k/mo
Docker · PostgreSQL
Vaultwarden
Open Source · undisclosed
Docker · GitHub Pages · PostgreSQL
Appsmith
Open Core · ~$840K–$1.84M/mo
Docker · PostgreSQL
Budibase
Open Core · ~$167k/mo
Docker · PostgreSQL
Cloud / Infra
Data / Storage
- 01Stripe's missing MRR API created a proven third-party market: the article cites ChartMogul at $39M/yr revenue and ProfitWell's $200M acquisition as companies that 'strictly exist due to Stripe's limitations'.
- 02Customers already pay per-transaction for billing data access: Stripe Data Pipeline costs $0.03/€0.025 per transaction (Snowflake/Redshift only) and Sigma charges a $10–$100/mo base plus $0.014–$0.020 per transaction/mo.
- 03High-volume, low-ticket billing makes data fees material: 816M DoorDash orders in 2020 would imply ~$10.2M/yr in Data Pipeline fees even at a hypothetical 50% volume discount.
- 04Developer-led open-source distribution is the channel: Lago ships a Docker distribution and publishes copy-paste Postgres revenue queries in its public GitHub wiki, targeting teams already comfortable writing SQL.
- 01Stripe's core API has no /getMRR-equivalent route; the Cal.com founder's public frustration on X (cited twice) shows warehouse-grade metrics require 'serious legwork'.
- 02Data Pipeline only syncs to Snowflake and Redshift, and Sigma's CSV exports are 'hardly data warehouse material' — gaps for teams on other warehouses or needing raw, continuous syncs.
- 03ChartMogul/ProfitWell 'won't account for everything (e.g. usage-based MRR)', and Pigment has no Stripe integration yet and 'isn't priced for your average Series ABC startup'.
- 04DIY ELT via Airbyte/Fivetran/Stitch doesn't finish the job: 'You still need to calculate MRR. This is non-trivial' — even Lago's own recipes leave discounts (coupons/wallets) and refunds (credit_notes) as manual exclusions.
- 01Ship a Dockerized Postgres 'MRR views' package for Stripe users: maintain the article's invoices/fees logic (payment_status=1, exclude charge/add-on fees, use issuing_date) as dbt-style SQL models over Airbyte/Fivetran-synced Stripe data, priced flat to undercut Sigma's $0.014–$0.020 per transaction.
- 02Build the usage-based MRR layer ChartMogul/ProfitWell explicitly skip — seat proration and metered-vs-recurring charge splits — delivered as open-source SQL plus Metabase dashboards on a billing schema, mirroring Lago's COSS playbook.
- 03Exploit the FP&A gap the article flags: a mid-market Stripe-to-FP&A connector (the integration Pigment had 'high-up on their roadmap') priced for Series A–C startups rather than large enterprises.