Flexprice

Open source

Flexprice is an open-source billing and metering platform for usage-based, credit-based and hybrid pricing, available as cloud or self-hosted.

flexprice.io
Flexprice homepage screenshot
GitHub stars
6.9k
Last 30 days
-23(+0%)
Last commit
yesterday
Repository age
2 years
Version
v2.1.48
Licence
AGPL-3.0
Self-hosted
Yes

About Flexprice

Flexprice is monetization infrastructure for AI-native and SaaS teams that charge by usage, credits or a mix of models. It handles metering, pricing, credits and billing so developers do not need to build custom billing logic for every pricing change.

Applications send usage data to Flexprice from backend APIs, AI agents or custom workflows, or stream it from data warehouses and analytics pipelines. Flexprice processes the data in real time, prices usage according to the customer's plan, deducts prepaid or promotional credits, applies feature limits and produces invoices. It then connects to existing payment, CPQ, CRM and accounting tools, such as Stripe, to push invoices and revenue data onward. A no-code interface is included.

The project is written in Go, uses ClickHouse, Kafka, PostgreSQL and Temporal according to its repository topics, and is licensed under AGPL-3.0. It can be used as a cloud service or self-hosted, and documentation, a demo and a Slack community are linked from the README.

Key features

  • Real-time usage metering
  • Usage-based, credit-based and hybrid pricing
  • Prepaid credits and top-ups
  • Feature access limits
  • Automatic invoice generation
  • Payment, CRM and accounting integrations
  • No-code user interface

Good fit for

  • Billing AI products by usage
  • Running credit bundles for a SaaS product
Tags
billing
usage-based-pricing
metering
subscriptions
stripe
clickhouse
go
self-hosted

Flexprice: questions and answers

What is Flexprice used for?
Flexprice is an open-source billing and metering platform for usage-based, credit-based and hybrid pricing, available as cloud or self-hosted. It is a good fit for billing AI products by usage and running credit bundles for a SaaS product.
Is Flexprice open source?
Yes. Flexprice is open source under the AGPL-3.0 licence. Its source code is on GitHub at flexprice/flexprice and is written mainly in Go.
Is Flexprice free?
Yes. Flexprice is open source, so the software itself is free to use. A managed cloud version is also available, with paid plans from $500 per month.
Can I self-host Flexprice?
Yes. Flexprice can be self-hosted on your own server or infrastructure.
What is Flexprice an alternative to?
Flexprice is an open-source alternative to Stripe Billing, Chargebee, Zuora and Recurly. Other open-source alternatives to Stripe Billing include Lago, OpenMeter and Meteroid.
Is Flexprice actively maintained?
Yes. The most recent commit to Flexprice was on 12 November 2026, and the latest release is v2.1.48, published on 5 November 2026. The project has 6.9k stars on GitHub.

Open-source alternatives to Flexprice

See all

SaaS alternatives to Flexprice

See all