Skip to content

Open-source and self-hosted usage-based billing software

Engineering-led teams pick open source to keep usage data in their own infrastructure, avoid a percentage of revenue, or extend the billing engine themselves. The trade-off is running it: upgrades, scaling and on-call are yours.

Listed here: platforms that document an open-source codebase or a self-hosted deployment. 6 platforms qualify, in the order of the overall ranking.

#PlatformScore Open source or self-hostedUsage event ingestionHigh-volume meteringIdempotency and deduplicationPrepaid credits
1 Lago 75.9 Core strengthCore strengthCore strengthNot documentedCore strength
2 Flexprice 74.1 Core strengthCore strengthSupportedSupportedCore strength
3 UniBee 59.6 Core strengthSupportedSupportedNot documentedCore strength
4 Kill Bill 50.4 Core strengthCore strengthSupportedNot documentedNot documented
5 OpenMeter 41.7 Core strengthSupportedCore strengthSupportedCore strength
6 DigitalRoute 41.5 SupportedCore strengthCore strengthSupportedSupported
4

Lago

Strong performer Usage billing platform · United States
75.9 /100

Lago is an open-source billing platform for usage-based and AI products that can run in Lago Cloud (US or EU) or be self-hosted on your own infrastructure. Its metering engine reports around 10,000 events per second on the REST batch API, with connectors and an agent SDK for ingestion, and it supports prepaid wallets with usage alerts, entitlements, commitments, token-based pricing and invoice previews. Reference customers include PayPal, Mistral AI, Groq and Synthesia. Lago integrates with Salesforce, HubSpot, NetSuite, Xero and QuickBooks.

Salesforce HubSpot Mid-market SMB +1
7

Flexprice

Strong performer Usage billing platform
74.1 /100

Flexprice is an open-source monetization platform for AI-native companies, founded in 2021, that can be used as a cloud service or self-hosted. It ingests events through SDKs and a bulk API with deduplication, manages prepaid credits and wallets, enforces entitlements and usage alerts, and tracks AI costs and margins next to revenue. Teams can run pricing experiments and preview draft invoices before they are issued. Paid plans start at USD 199 per month, and it integrates with Salesforce, HubSpot, NetSuite, QuickBooks and Xero.

4.8 · 2 G2 reviews Salesforce HubSpot Pipedrive
What is the best open-source usage-based billing software?
6 of the 49 platforms we score meet this need. On our ranking, the top three are Lago (75.9/100), Flexprice (74.1/100) and UniBee (59.6/100). Listed here: platforms that document an open-source codebase or a self-hosted deployment.

Other needs: AI companies · SaaS billing and metered usage · Prepaid credits and commitments · Usage billing with revenue recognition · High-volume metering