Flexprice
by Flexprice • • Usage-Based Billing Software
Flexprice is an open-source usage-based billing platform for AI and SaaS companies, metering events and billing credits, commitments and hybrid plans.
Flexprice turns raw product usage into invoices for companies that charge by the token, the API call or the credit. Squirrelly Technologies Private Limited, an independent company backed by TDV Partners, Shastra VC and the Anupam Mittal Family Fund, develops it. The team works from offices in San Francisco, Bengaluru and Gurgaon. Its billing engine is published on GitHub under the AGPL-3.0 licence, so the same code runs hosted or on a team's own servers. Usage events arrive through the events API, client SDKs or the Kafka Collector, and copies of an event collapse into one when the ID and timestamp match. Features turn those events into billable metrics with aggregations such as SUM, COUNT UNIQUE, MAX and weighted sum, while custom SQL metrics cover the rest. Plans pair a recurring fee with usage charges rated by volume, slab or package tiers, and every price edit creates a new version with an effective date. Wallets hold prepaid and promotional credits that usage draws down, each top-up carrying an expiry date and a priority. Commitments bill usage above a contracted floor at an overage rate, and progressive billing raises an invoice mid-period once usage crosses a threshold. AI and SaaS companies whose pricing mixes subscriptions, metered usage and credit packs are the intended users, especially where engineering already owns the event pipeline. Product teams that adjust pricing often get versioned plans and per-subscription overrides without rewriting billing code. Revenue teams closing enterprise deals can record commitments and reservation discounts against the same meters. Where billing data may not leave a company's network, Flexprice runs in the customer's VPC, on premises or air-gapped, with SAML single sign-on and SCIM provisioning. An AI product sends each model call as an event, and Flexprice rates the tokens against the customer's plan before drawing down their credit wallet. Threshold notifications fire a webhook whenever a wallet balance or a usage level moves between its info, warning and critical levels. Invoices then go to Stripe, Razorpay, Paddle or Chargebee for collection, with Stripe handling dunning and retries. The same invoices post to QuickBooks Online or Zoho Books, and scheduled CSV exports drop invoices and events into the company's Amazon S3 bucket. Engineering keeps sending events, and finance closes the month from invoices that already carry every metered quantity.
Pricing
View plans-
Launch
$99 per month
Flat monthly subscription, billed monthly
- Up to $300K billing volume
- Subscription, usage-based, hybrid and credit pricing
- Real-time metering, reporting and SQL metrics
- Prepaid credits, wallets and entitlements
- Coupons, add-ons and tax management
- PDF invoices and customer portal
- Multi-currency and multi-timezone billing
- Stripe payments, dunning and retries
- Community support on Slack
- Excludes Premium Support and enterprise features
-
Growth
$500 per month
$500 a month plus 0.40% of billing volume, billed monthly
- Up to 50M usage events per month
- Everything in Launch
- Early access to Ferry, an AI revenue coworker
- Priority Support as an add-on
-
Scale
Custom pricing
- Price on request, as one fixed price with no revenue share
- Everything in Growth
- VPC, on-premises or air-gapped deployment
- HubSpot, Stripe Tax and 50+ integrations
- SAML SSO, SCIM and role-based permissions
- Senior support, custom SLA, 24/7 support and a private Slack channel
- SOC 2 Type 2 and GDPR compliance
- Custom usage ingestion sources
-
Flexprice Open Source
Free
- Self-hosted under the AGPL-3.0 licence
- Subscription plans, usage-based charges, add-ons and coupons
- Tax management, billing webhooks and PDF invoices
- Prepaid credits, credit notes, custom SQL metrics and commitments are premium features outside this edition
Features
- Included: Usage event ingestion API
- Included: Configurable billable metrics
- Included: Tiered, volume and package rates
- Included: Hybrid flat-fee plus usage plans
- Included: Prepaid credits with drawdown
- Included: Commitments with overage billing
- Included: Customer-facing usage dashboard
- Included: Usage threshold alerts
- Included: Usage-itemized invoices
- Included: Idempotent event replay and backfill
- Included: Versioned plan price changes
- Included: Usage data sync to a data warehouse
- Included: Charges collected via a connected payment provider
- Included: Threshold billing mid-cycle
- Included: Sync usage invoices to an ERP
- Not included: Hard limits enforced from usage
- Included: Open source self-hosted edition
Additional Features
- Events API with SDKs and a Kafka Collector
- SUM, COUNT UNIQUE, MAX and weighted sum aggregations
- Custom SQL metrics
- Volume, slab and package tiered pricing
- Flat fee and usage charges on one invoice
- Prepaid and promotional credit wallets
- Credit top-ups with expiry dates and priority
- Commitments with an overage rate
Best for
- AI companies billing for tokens, API calls or GPU time
- SaaS companies mixing subscriptions with metered usage
- Companies selling prepaid credit packs
- Engineering teams sending usage events from their own servers
- Teams that want to self-host an open-source billing engine
- Sales-led companies billing contracts with minimum commitments
- Finance teams posting invoices to QuickBooks Online or Zoho Books
- Companies that need billing inside their own VPC or air-gapped
Use cases
- metering LLM tokens and API calls for billing
- running prepaid credit wallets that usage draws down
- billing a platform fee plus usage on one invoice
- billing enterprise contracts with commitments and overage
- invoicing mid-period when usage crosses a set amount
- alerting customers when a wallet balance runs low
- changing plan prices from a future effective date
- backfilling past usage events
- syncing invoices to QuickBooks Online or Zoho Books
- exporting invoices and events to an Amazon S3 bucket
- self-hosting the billing engine
Screenshots & Videos
Explore Flexprice in action
User Reviews
Compare with Similar Software
Click to compare side by side with Flexprice