Skip to content

Flexprice

Usage-based billing and metering platform for SaaS and AI product teams

Copyleft (OSI) · AGPL-3.0

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

6,875

Last commit

4 days ago

Nov 2026

Repository age

2 years

since Nov 2024

Latest version

v2.1.51

Nov 2026

Contributors

–

8 active in 90 days

Releases

25

last 12 months

Language

Go

Flexprice is a Go billing platform for teams that charge by usage, credits or a mix. Your application sends usage events, or you stream them from a data warehouse. Flexprice meters them in real time, applies plan pricing and prepaid or promotional credits, enforces feature limits, and generates invoices.

Its stack uses ClickHouse, Kafka, PostgreSQL and Temporal, and it can sync with payment processors, CRM, CPQ and accounting tools. It supports seat-based subscriptions, usage-based pricing and prepaid credit bundles. You can change a pricing model without writing your own billing code.

It is AGPL-3.0 licensed. You can self-host it with Docker or use the vendor's hosted plan. It targets the same job as metered billing services from payment providers, and it is built for developers who want control over pricing logic and data.

Who it's for

AI startups charging per token, call or credit

Real-time metering and credit handling are the core design.

Skip if: You only sell flat monthly plans.

SaaS engineering teams with custom pricing

You can model hybrid plans without custom billing code.

Skip if: You cannot run Kafka, ClickHouse and PostgreSQL.

Teams worried about billing vendor lock-in

The core is open and can be self-hosted under AGPL-3.0.

Skip if: Your legal team rejects AGPL obligations.

The problem it solves

Billing logic for usage-based or credit-based pricing often turns into custom code that developers must maintain. Flexprice handles metering, credits, limits and invoices in one system so pricing changes do not need new billing code.

Strengths

  • Real-time metering of streamed usage events
  • Supports usage, seat, credit and hybrid pricing
  • Enforces feature limits and applies credits
  • Syncs with payment, CRM and accounting tools
  • Active project with 25 releases in the last year

Trade-offs

  • Stack needs ClickHouse, Kafka, PostgreSQL and Temporal
  • AGPL-3.0 license has network-use obligations
  • Built for product billing, not general bookkeeping
  • Hosted plan starts at 99 USD per month

Self-host Flexprice

Self-hostable
Yes
Docker Compose
The repository ships a Compose file
Hosted plan
From $99/month · pricing

Frequently asked questions

Can I self-host it?

Yes. It ships with Docker support and is open source under AGPL-3.0.

Is there a hosted version?

Yes. A hosted plan is offered, starting at 99 USD per month.

What pricing models does it support?

Seat-based subscriptions, usage-based pricing, prepaid credit bundles and hybrid combinations.

Which databases does it use?

ClickHouse, PostgreSQL, Kafka and Temporal.

Similar tools in Accounting and invoicing software

Expensify

Accounting and invoicing software

Open source TypeScript client for expense reports and receipts, built with React Native

5.1k 4.1k today Active MIT

InvoicePlane

Accounting and invoicing software

Self-hosted PHP app for freelancers and small firms that bill clients and track payments

3.3k 889 16 days ago Active MIT

Paymenter

Accounting and invoicing software

Self-hosted billing and subscription platform for web hosting companies

2.9k 570 yesterday Thriving MIT

Autumn

Accounting and invoicing software

2.8k Apache-2.0

lotus

Accounting and invoicing software

1.8k 136 3 months ago Slowing MIT

InvoiceShelf

Accounting and invoicing software

2.1k 429 yesterday Active AGPL-3.0