nowfound

AI · June 30, 2025

FO

Flexprice: Open-Source Usage-Based Billing Toolkit

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…

What it does

In the maker’s words, at launch

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 leaks. (3) Prepaid credits and trials are a mess because it requires you to handle expirations, partial deductions, and priority rules. (4) Product teams want real-time, per-customer usage reports (e.g., “How many tokens did user X consume?”), but querying raw events requires slow, custom SQL hacks. (5) Webhook integrations for invoicing or CRMs fail on duplicates, out-of-order events, or time zone bugs, risking customer disputes. (6) What works for 100 users fails at 10,000 because rate limits, and idempotency leads to urgent rewrites. This week, we’re doing a 5-day launch week, where we’re shipping a new set of billing features every day. Today’s launch includes: (1) Fire-and-forget event ingestion with SDKs (Python, JS, Go) and auto retry handling (2) Real-time event debugger for tracking ingestion status, filtering payloads, and inspecting failures (3) Usage analytics API providing billing-grade summaries with filters, groupings, and time-bucketed results (4) Prepaid credit system supporting trial credits, expirations, and configurable priority on deduction (5) Webhook system to automate billing workflows like invoicing or subscription changes We’re shipping new features daily. It’s early, actively evolving, and contributions are welcome. If you’ve dealt with usage-based billing, broken credit logic, or event ingestion at scale, your feedback would help. You can read the details of the launch at https://flexprice.io/blog/the-developer-toolkit. You can clone the project and explore the repo at https://github.com/flexprice, and demo at https://www.youtube.com/watch?v=SFARthC7JXc Would love to hear your technical critiques, edge case concerns, or how you’ve handled billing infrastructure in your own stack.

Does the same job

all alternatives →
  • Flexprice2025 · ▲240

    Usage-based pricing and metering for developers

  • EasybillingJun 2026 · ▲91

    AI-native billing & payments for usage-based AI products

  • Plasso Flexkit2018 · ▲345

    Powerful payments & e-commerce API without writing code.

  • NP
    Nomod 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…

  • MCP-BillingJul 2026 · ▲112

    OAuth 2.1 + usage-based Stripe billing for MCP servers

  • AC
    A customer billing portal built to reduce "can you resend the invoice?Feb 2026 · flexprice.io · ▲6

    Hey HN, A recurring problem we kept running into with billing systems was the human layer around them. Customers asking: “What’s my current balance?”“Which invoice is pending?”“Why did usage spike last week?”And the answer was usually someone digging through dashboards, exporting PDFs, or pasting screenshots. So we built a read-only customer billing portal inside Flexprice (open-source metering + billing infra). It gives customers visibility into: subscriptions and billing periodsprepaid wallet balances and credit transactionsinvoices (status, search, download)feature-level usage and cost…

More ai this month

the category →
  • I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.

    AI · 16d ago · simedw.com

  • Astute585

    Automate your B2B brand going viral, with new media creators

    AI · 18d ago · company-app.joinastute.com

  • Grok Bot547

    AI teammates that you can give real work to

    AI · 25d ago · x.ai

  • Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…

    AI · 26d ago · cactuscompute.com

  • Make your software self-driving

    AI · 30d ago · coldtea.ai

  • Soloop472

    Approval-first Agent OS for solo founders

    AI · 30d ago · soloop.io

Launched alongside, June 2025

the whole month →
  • IM

    Hey HN! Pilots everywhere are required to keep a logbook of all their flying hours, aircraft, airports, and so on. Since I track everything digitally (some people still just use paper logbooks!), I put together some data visualizations and a few 3D globes to show my flying history. This globe is probably my favourite so far: https://jameshard.ing/pilot/globes/all If you’ve got ideas for other graphs or ways to show this kind of data, I’d love to hear them!

    Life & fun · 2025 · jameshard.ing

  • Stunning presentations with AI. No design skills required.

    AI · 2025 · chroniclehq.com

  • Build native mobile apps for iOS and Android without code.

    Dev tools · 2025 · bble.io

  • Twenty991

    The #1 open-source CRM

    Dev tools · 2025 · twenty.com

  • All your connections, across all your socials.

    AI · 2025 · pally.com

  • WC

    I was the main contributor to workout.lol, an open-source fitness app to easily build a workout routine. The project had traction (1.4k GitHub stars, 95 forks, ~20K visits/month), but was eventually sold due to video licensing hurdles. The new owner stopped maintaining it, and the repo went abandoned. Over the next 9 months, I sent 15 emails to try to save it : no replies. Feature requests & issues were ignored. The community was left with a "broken" tool let's say. I couldn't just let it die So I built the new version from scratch with the same open-source spirit, but a better…

    Dev tools · 2025 · github.com