Custom Pricing Units in Flexprice (price in credits, bill in USD)
Hi HN, working in the monetization field, we kept seeing the same problem. Product teams want to price in credits or tokens. Finance wants clean USD accounting. Engineering ends up stitching conversion logic across services, and over time rounding errors, inconsistent invoices, and reconciliation headaches creep in. So we added Custom Pricing Units to Flexprice! You can now define your own unit (e.g. CRD), attach a conversion rate to a base currency (like USD), and use that unit across plans, recurring charges, usage pricing, and wallets. Customers see and are charged in credits. Flexprice…
What it does
In the maker’s words, at launch
Hi HN, working in the monetization field, we kept seeing the same problem. Product teams want to price in credits or tokens. Finance wants clean USD accounting. Engineering ends up stitching conversion logic across services, and over time rounding errors, inconsistent invoices, and reconciliation headaches creep in. So we added Custom Pricing Units to Flexprice! You can now define your own unit (e.g. CRD), attach a conversion rate to a base currency (like USD), and use that unit across plans, recurring charges, usage pricing, and wallets. Customers see and are charged in credits. Flexprice computes, stores, and invoices in the base currency. Conversion is deterministic. Rounding only happens at invoice calculation. There’s a single source of truth for the rate. Example: 1 credit = 0.01 USD → 100 credits = 1 USD. This has been especially useful for teams selling tokens, running credit wallets, or operating in multiple regions while keeping accounting in one currency. Docs and API examples are live: https://docs.flexprice.io/docs/product-catalogue/custom-pric... Happy to answer questions on how we model conversion and precision internally or join us here: http:// bit.ly/4huvkDm
Does the same job
all alternatives →
- CTCredit-to-currency conversion controls for wallet-based billingFeb 2026 · ▲7
If you sell credits or tokens, at some point someone asks: “What is one credit actually worth?” We shipped explicit Wallet Conversion Rate controls in Flexprice to answer that cleanly. Each wallet can now define: • conversion_rate — how credits map to currency when spending • topup_conversion_rate — optional rate used only when adding credits This supports use cases like promotional top-ups, bonus credits, or discounted purchases while keeping invoice calculations consistent. Wallets store credits.Invoices remain in a single base currency. Conversion defines the relationship between the two.…

- FOFlexprice: Open-Source Usage-Based Billing Toolkit2025 · ▲7
Hey HN, I’am Koshima, co-founder of Flexprice (https://flexprice.io/). Flexprice is an open source monetization platform for AI & Agentic companies. You can build usage-based, credit-based, or hybrid pricing models with full control. Usage-based billing works on paper, but breaks fast in production: (1) High-volume data (e.g., 10k API calls/sec from AI inferences) breaks naive pipelines, dropping events and causing underbilling or customer complaints. (2) Backfilling missing events or retroactive discounts screws up invoices, forcing 3 AM log stitching to avoid revenue…
Unit Converter Pro - currency and units converter2017 · ▲80Fast and easy to use currency and units converter
- NPNomod payment integrated into usage-based billing stackJan 2026 · ▲9
Hi HN, We just shipped a Nomod integration in Flexprice. For context, flexprice is an open-source billing system that handles invoices, usage, and credit wallets. One gap we wanted to close was supporting region-specific payment providers without breaking billing state. With this integration: - Invoices finalized in Flexprice can be synced to Nomod - A hosted Nomod payment link is generated for the invoice - Payment status updates flow back into Flexprice - Invoices and payment records stay in sync - Credits (if applicable) are applied only after payment succeeds This keeps billing logic…
More commerce this month
the category →

Compare your startup equity grant for free.
Commerce · 26d ago · equitybee.com