OSS探訪

FlexPrice — usage metering・credits・entitlement・invoiceをまとめるdeveloper-first billing infrastructure

OSS健全度 100
スコアの見方

発掘スコアはStars・Watchers・Forks・Contributorsを対数圧縮して重み付けした独自指標(上限なし)。成長モメンタムは観測期間内の同スコアの差、OSS健全度は取得できた更新状況・Community Health・Releaseの0〜100評価です。

Stars
5,510
主要言語
Go
ライセンス
AGPL-3.0
リポジトリ最終更新
2026/09/16

概要

FlexPriceは、usage-based・credit-based・hybrid pricingを扱うbilling infrastructureです。eventをreal-timeでmeteringし、plan、credit、feature entitlement、subscription、invoiceへ接続できます。Go backendとPostgreSQL・Kafka・ClickHouse・Temporal等を組み合わせ、2026年9月17日時点のlatest releaseはv2.1.30です。

特徴と向いている用途

公式資料に基づく紹介・実機未検証 · 内容確認日:

usage eventからpricing・credit・invoiceまでbilling flowを一つにつなぐ

APIやSDKからusage eventを受け、metering、pricing、prepaid/promotional credit、feature limit、subscription、invoiceを処理します。seat-based、pay-as-you-go、tiered、prepaid等を組み合わせられます。

出典:[2]

既存payment/CRM/accounting stackとcomposeしてmonetization layerを作る

Stripe等のpayment providerを置き換えるだけでなく、その上にusage、pricing、credit、entitlementを重ねる設計です。SDK/APIとno-code UIを通じてbilling ruleをproduct側から操作できます。

出典:[2][1]

AI/SaaS productでusage-based billingやcredit walletを内製せず組み込みたい場合に

API call、token、compute、seat、creditなどproduct固有のmeterをpricingへ結び付け、pricing modelを頻繁に変更したいdeveloper/finance teamに向きます。

出典:[2]

repository全体が単一AGPLではなくOpen Coreで、self-host stackも複数componentを運用する

READMEはcoreの大部分をAGPLv3としつつ、eeinternal/ee をcommercial license対象と説明しています。またlocal full stackはPostgreSQL、Kafka、ClickHouse、Temporal等を含むため、productionでは各componentのHA・backup・security設計が必要です。

出典:[2][3]

参考にした公式資料

  1. [1]flexprice/flexprice — GitHub repository metadata(2026-09-17)
  2. [2]FlexPrice — README(2026-09-17)
  3. [3]FlexPrice v2.1.30 release(2026-09-17)
編集部からの補足

usage dataからinvoiceまでを一つのmonetization layerにまとめる点を重視しました。EE directoryのcommercial license境界は確認必須です。

3ステップで試す

  1. 1

    ソースを取得

    git clone --depth 1 https://github.com/flexprice/flexprice.git
  2. 2

    リポジトリへ移動

    cd flexprice
  3. 3

    公式手順を確認

    READMEのInstallation / Quick Start / Getting Startedにある公式コマンドを続けて実行してください。

    find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
公式READMEで確認

成長

成長の推移 · 直近30日

5,510 Stars

推移データを蓄積中です。

開発アクティビティ

直近90日・週次

Commit(直近30日)
785
Open PR
93

開発アクティビティを蓄積中です。

Built with

カテゴリとタグ

GitHubデータ

GitHubのデータGitHubの詳細データを見る

GitHub Topics

  • billing
  • clickhouse
  • events
  • go
  • kafka
  • postgresql
  • pricing
  • usage-based-pricing
  • stripe
  • stripe-subscriptions
  • subscription-management
  • temporal
Stars
5,510
Forks
494
Watchers
12
Open Issues
80
主要言語
Go
ライセンス
AGPL-3.0
リポジトリ最終更新
2026/09/16

このOSSの使い方や活用事例をMarkdownで投稿できます。管理者が承認した後に公開されます。

情報の誤りを報告

掲載内容に誤りや古い情報があればお知らせください。

FlexPriceとは?Usage-based Billing・Metering OSSを解説 | OSS探訪