6,598 open-source and SaaS tools, with GitHub stats refreshed every day.

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 commit
today
Repository age
23 months
Version
v2.1.33
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

Open-source alternatives to Flexprice

See all

SaaS alternatives to Flexprice

See all