#4747th of 102 in Backends, databases and hostingFor finance and business, finance and accounting

flexprice

Usage-based billing and metering API with credits, plans and invoicing

Stars
6.9k
License
AGPL-3.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Go
Stars, last 29 weeks+3,458
21 Apr 2026: 3,417 stars28 Apr 2026: 3,423 stars5 May 2026: 3,428 stars12 May 2026: 3,437 stars19 May 2026: 3,447 stars26 May 2026: 3,461 stars2 Jun 2026: 3,467 stars9 Jun 2026: 3,473 stars16 Jun 2026: 3,487 stars23 Jun 2026: 3,495 stars30 Jun 2026: 3,500 stars7 Jul 2026: 3,507 stars14 Jul 2026: 3,516 stars21 Jul 2026: 3,529 stars28 Jul 2026: 3,538 stars4 Aug 2026: 3,769 stars11 Aug 2026: 4,133 stars18 Aug 2026: 4,259 stars25 Aug 2026: 4,271 stars1 Sept 2026: 4,583 stars8 Sept 2026: 5,375 stars15 Sept 2026: 5,432 stars22 Sept 2026: 6,226 stars29 Sept 2026: 6,798 stars6 Oct 2026: 6,808 stars13 Oct 2026: 6,842 stars20 Oct 2026: 6,849 stars27 Oct 2026: 6,863 stars3 Nov 2026: 6,868 stars10 Nov 2026: 6,875 stars

3,417 on 21 Apr 20266,875 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Flexprice is a Go billing backend that ingests usage events through an API or SDKs (Go, Python, JavaScript) and meters them in real time. It prices them against plans, applies prepaid or promotional credits, enforces feature entitlements and generates invoices. It can sync to payment, CRM and accounting tools, and runs on PostgreSQL, Kafka, ClickHouse and Temporal.

Who it is for: Teams self-hosting usage-based or credit-based billing for AI and SaaS products

Strengths

  • Covers usage, seat, tiered, prepaid-credit and hybrid pricing with per-customer plan overrides
  • Includes wallets, credit grants, auto top-ups and feature entitlements alongside invoicing
  • SDKs for Go, Python and JavaScript; make dev-setup starts the full stack via Compose
  • Can layer on existing providers such as Stripe or Chargebee instead of replacing them

Weaknesses

  • Heavy infrastructure: PostgreSQL, Kafka, ClickHouse, Temporal and Redis all required
  • Open core: ee and internal/ee directories need a commercial license
  • AGPL-3.0 core may conflict with some company policies on network-served code
  • README gives no production deployment, sizing or throughput figures

What it needs

  • no GPU
  • Docker + Compose
  • Needs PostgreSQL, Kafka, ClickHouse, Temporal, Redis, Docker Compose
  • port 8080

Quick answers

Is flexprice open source?

Yes. Its code is on GitHub under the AGPL-3.0 license.

Can you run flexprice with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license93 out of 100
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100