Flexprice
- About
- Open-source billing for usage-based, credit-based and hybrid pricing. Open-source alternative to Stripe Billing and Orb.
- Catalogue
- No. 446
- Category
- Development
- GitHub stars
- ★ 6.9k

Overview
Flexprice is open-source monetization infrastructure for AI-native and SaaS companies. It lets you run usage-based, credit-based and hybrid pricing with real-time metering and reporting. Your backend, AI agents or data warehouse send usage events, and Flexprice works out what each customer owes under their plan. It's API-first and can be self-hosted or used as a hosted service.
What it does well
The open core covers metering, credits, pricing and billing. Usage events stream in through SDKs and are aggregated in real time, so pricing changes don't mean rewriting billing code. You can grant prepaid and promotional credits, gate features by plan, and change pricing models without a long migration. After billing is calculated, Flexprice connects to the tools you already use for payments, CPQ, CRM and accounting.
Why it’s in the collection
Flexprice takes on the metering and credit logic that AI products otherwise end up building by hand. It's AGPL-licensed.
On GitHub
- Stars
- 6,875
- Forks
- 955
- Commits
- 10,666
- Repository
- flexprice/flexprice
Languages
- Go 96.3%
- Shell 0.9%
- Python 0.8%
- Other 2%
Compared with
Stripe BillingStripe's subscription and usage-based billing product.
OrbCommercial usage-based billing platform.
MetronomeCommercial usage-based billing platform.
LagoNo. 394Open-source usage-based billing platform.
See every open-source alternative to Stripe Billing and Orb in the collection.



