Open-source alternative to Stripe Billing

Lago is a free, open-source Stripe Billing alternative for usage-based and subscription billing: it meters usage from your product, applies your plans and prices and creates invoices, while Stripe can still collect the payments. Stripe Billing’s pay-as-you-go fee is 0.7% of billing volume, on top of payment fees; self-hosted Lago takes no percentage.

Free app Code: Open source Import from Stripe Billing: No Some setup

Why look for an alternative to Stripe Billing?

Stripe Billing is Stripe's product for subscriptions and usage-based pricing. It creates recurring invoices, meters usage and collects payments through Stripe, run entirely on Stripe's platform.

Companies look for an alternative because Stripe Billing takes a share of what you bill on top of Stripe's payment fees, so the cost grows with revenue, and because it ties pricing and customer data to Stripe. A self-hosted Lago works out usage, plans and invoices on your own server with no percentage fee, and can keep using Stripe, Adyen or GoCardless only to collect payments.

How Lago compares

Usage-based billing for SaaS, API and AI products.

Built for usage-based pricing: your product sends usage events, such as API calls, tokens or storage, to Lago, and it turns them into charges with per-unit, graduated, package, volume or percentage prices, alongside subscriptions, coupons, prepaid credits, taxes and PDF invoices. Stripe Payments can still collect the cards. A developer has to connect your product to Lago's API, and invoice emails, dunning and accounting integrations are in its paid Premium edition.

What you gain
  • No percentage of your billing goes to the billing tool
  • Your pricing, customers and usage data stay on your server
  • The code is public, so your developers can read exactly how a charge was worked out
What is different
  • A developer has to connect your product to Lago before anything is billed
  • Emailing invoices, payment reminders, usage alerts and accounting or CRM sync are paid Premium features
  • You still need a payment provider such as Stripe to take card payments, with its own fees
Some setup Open source

Moving from Stripe Billing

There is no import of Stripe Billing plans or subscriptions into Lago, so the move is planned work for a developer. Recreate your products as billable metrics and plans in Lago, with the same prices, then create your customers and their subscriptions through Lago's API. Connect Stripe as Lago's payment provider so it keeps collecting cards; Lago can sync its customers with Stripe. Have your product send usage events to Lago, run both systems for one billing period and compare the invoices, then turn off Stripe Billing's subscriptions.

Questions

What is the best open-source alternative to Stripe Billing?

Lago is the free, open-source alternative to Stripe Billing for subscription and usage-based billing in the catalogue today. Built for usage-based pricing: your product sends usage events, such as API calls, tokens or storage, to Lago, and it turns them into charges with per-unit, graduated, package, volume or percentage prices, alongside subscriptions, coupons, prepaid credits, taxes and PDF invoices. Stripe Payments can still collect the cards. A developer has to connect your product to Lago's API, and invoice emails, dunning and accounting integrations are in its paid Premium edition.

Does Lago replace Stripe?

No, Lago replaces only Stripe Billing, not Stripe Payments. Lago works out what each customer owes and creates the invoices; a payment provider such as Stripe, Adyen or GoCardless still collects the money and charges its own card fees.

Does Lago take a percentage of my revenue?

No. The self-hosted open-source edition charges no fee on what you bill. Stripe's pricing page puts Stripe Billing's pay-as-you-go fee at 0.7% of billing volume, on top of Stripe's payment fees.

Can Lago bill for usage like Stripe Billing?

Yes. Lago is built for usage-based pricing: your product sends usage events such as API calls, tokens or storage, and Lago turns them into charges with per-unit, graduated, package, volume or percentage prices, alongside subscriptions, coupons and prepaid credits, as Stripe Billing does on Stripe's platform.

Is Lago really free compared with Stripe Billing?

Lago's open-source edition is free under the AGPL-3.0 licence. Its makers sell a Premium edition, priced on request, that adds invoice emails, dunning, usage alerts, accounting and CRM integrations, and single sign-on. Your payment provider still charges its own card fees. To run it you need Cloudgate and a server: use hosted Cloudgate, which can also provide the server, or install Cloudgate on a server of your own for free. Cloudgate's plans and prices are at cloudgate.octabyte.io/pricing.

Do I need a developer to replace Stripe Billing?

Yes, for the setup. Cloudgate installs Lago on your server, but billing only works once a developer connects your product to Lago's API or SDKs so it sends usage events. After that, plans, customers and invoices are managed in Lago's web app.