# flexprice/flexprice

Usage-based pricing and billing for developers 🔓 Cloud or self-hosted ⚙️ No-code UI 💰 Realtime usage metering 🎟 Credits & top-ups 🔑 Control feature access

Repository: https://github.com/flexprice/flexprice
Canonical: https://ross.abutalabs.com/products/flexprice
Homepage: https://flexprice.io
Language: Go
License: AGPL-3.0
License Family: copyleft
Topics: billing, clickhouse, events, go, kafka, postgresql, pricing, usage-based-pricing, stripe, stripe-subscriptions, subscription-management, temporal, hacktoberfest
Last push: 2026-08-26T15:07:27+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 47
- inputs: {"age_days": 666, "days_push": 7, "days_rel": 9, "gap_med": 4, "n_releases_24m": 76}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4453, forks 487 (observed 2026-08-28T04:08:50.445334+00:00)

## What it is
Flexprice is an open-source usage-based pricing and billing platform for developers, offering real-time usage metering, credits and wallets, pricing experiments, and invoicing. It can be deployed in the cloud or self-hosted and integrates with payment and business tools like Stripe.

## Use cases
- meter API or AI product usage in real time
- implement usage-based or hybrid pricing for a SaaS
- manage prepaid credits and customer wallets
- generate invoices and sync them to Stripe
- control feature access based on subscription entitlements
- self-host billing infrastructure instead of building it in-house

## When to choose
- you need usage-based, credit-based, or hybrid billing without building metering from scratch
- you want an open-source, self-hostable billing engine with a no-code UI
- your AI-native or SaaS product needs real-time metering and entitlement enforcement

## When to avoid
- you only need simple flat-rate recurring subscriptions with no usage metering
- you require a fully managed vendor with enterprise SLAs and cannot operate infrastructure
- your product is not commercial and has no monetization needs

## Facets
- artifact type: service
- maturity: active
- function: analytics, api-framework, webhook, self-hosted, developer-tools
- domain: fintech, apis, backend, self-hosted, artificial-intelligence
- platform: self-hosted, go, cloud
- tags: billing, usage-based-pricing, metering, invoicing, credits, stripe, subscriptions, monetization, docker, web-server

## Member repositories
- flexprice/flexprice (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:50.445334+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:45.760692+00:00, confidence not recorded.
  - readme: https://github.com/flexprice/flexprice (fetched 2026-08-28T04:08:50.445334+00:00, sha 1d01b784860d)
  - homepage: https://flexprice.io (fetched 2026-08-29T09:07:40.801561+00:00, sha 5a46c8ec95dd)
  - site_page: https://flexprice.io/features (fetched 2026-08-29T09:07:40.810562+00:00, sha c4b02030ab98)
  - site_page: https://flexprice.io/pricing (fetched 2026-08-29T09:07:40.812634+00:00, sha 0822604812ff)
- Data as of 2026-08-30T08:39:29.467469+00:00.
