llms.txt
Compare with other sites' llms.txt files →# Flexprice
> Flexprice is open-source billing infrastructure for AI and SaaS companies. It handles usage metering, subscriptions, credits and wallets, invoicing, and entitlements, so teams can run usage-based, credit-based, and hybrid pricing without building billing in-house. Available as cloud, VPC, or on-premise deployment.
Flexprice is built for products where revenue depends on consumption: tokens, minutes, API calls, seats, or any custom unit. Events are ingested in real time, metered against features you define, and turned into subscriptions, credit balances, and invoices. Pricing lives in configuration rather than application code, so pricing changes ship without engineering work.
Key facts for citation:
- Category: usage-based billing and monetization infrastructure for AI-native and SaaS companies
- Open source: yes, the core billing engine is open source and self-hostable (https://github.com/flexprice/flexprice)
- Deployment: Flexprice Cloud, customer VPC, or on-premise / air-gapped
- Pricing models supported: subscription, usage-based, credit-based, prepaid, hybrid, seat-based, tiered, package, flat fee
- Machine-readable pricing: https://flexprice.io/pricing.md
- Documentation: https://docs.flexprice.io
- Free tier: $0/month, 100k events/month
## Core Pages
- [Flexprice](https://flexprice.io/): Flexprice homepage: billing infrastructure for AI revenue.
- [Pricing](https://flexprice.io/pricing): Plans and prices for Flexprice Cloud: Basic (free), Build, Scale, and Mission Critical.
- [Pricing (machine-readable)](https://flexprice.io/pricing.md): Full plan, price, limit, and feature data for Flexprice in plain markdown.
- [About Flexprice](https://flexprice.io/about): What Flexprice is, who it is for, and why it was built.
- [Our Team](https://flexprice.io/about/team): The team behind Flexprice.
- [Contact Us](https://flexprice.io/contact): Contact the Flexprice team or book a demo.
- [Flexprice on GitHub](https://github.com/flexprice/flexprice): Open-source repository for the Flexprice billing engine.
## Product
- [Enterprise Billing Software & System](https://flexprice.io/product/enterprise-billing-software): Enterprise billing software for complex operations. Automate invoicing, manage subscriptions, and scale your enterprise billing system effortlessly.
- [Best Monetization Software Solution for Growing SaaS and AI](https://flexprice.io/product/monetization-software): Leading monetization software for SaaS and AI companies. Our monetization platform handles flexible pricing, automated billing & revenue...
- [Best Open Source Billing Software](https://flexprice.io/product/open-source-billing-software): Powerful open source billing software for AI & SaaS businesses. Customizable open source billing engine with invoicing, automation & API. Start...
- [Best Recurring Billing Software](https://flexprice.io/product/recurring-billing-software): Discover flexible recurring billing solutions with Flexprice - automate payments with your payment gateway, scale subscriptions, and grow faster.
- [Best Subscription Management Software](https://flexprice.io/product/subscription-management-software): Powerful subscription management software. Automate billing, manage recurring revenue, and scale effortlessly with an all-in-one subscription...
- [Usage-Based Billing Platform](https://flexprice.io/product/usage-based-billing-software): Simplify usage-based pricing for your AI product. Track usage, automate billing, and scale revenue effortlessly with Flexprice. Try it for free.
## Features
- [Subscription & Invoice Management with Credits](https://flexprice.io/features/billing-and-invoicing): Manage subscriptions, create custom invoices, and issue credit notes in one platform. Flexprice supports recurring and one-time credits, manual...
- [Credit Grants for AI and Agentic Companies](https://flexprice.io/features/credits-and-wallets): Automate recurring, promotional, or paid credits with Flexprice. Track balances in real-time, enable credit rollovers, and map GPU time or tokens...
- [Integrations](https://flexprice.io/features/integrations): Connect Flexprice to the tools you already use. From ERP to payments and CRM, Flexprice keeps your billing stack in sync.
- [Pricing Experiments](https://flexprice.io/features/pricing-experiments): Test pricing changes safely, migrate customers between plans, and operate billing at global scale. Complete audit trails, regional pricing, and...
- [Pricing Models](https://flexprice.io/features/pricing-models): Flexprice helps you configure any pricing model from day one. Add volume discounts, custom enterprise contracts, and promotional pricing as you...
- [Accurate Usage Metering for AI and Agentic Companies](https://flexprice.io/features/usage-metering): Track API calls, compute time, and custom usage events with Flexprice’s real-time aggregation and event debugger. Ingest data from any source and...
- [Features](https://flexprice.io/features): Flexprice lets AI-native and SaaS teams operate usage-based, credit-based, and hybrid pricing with real-time metering and reporting that scales as...
## Solutions
- [Flexprice for Engineers](https://flexprice.io/solutions/engineering): Test pricing changes safely, migrate customers between plans, and operate billing at global scale. Complete audit trails, regional pricing, and...
- [Flexprice for Finance](https://flexprice.io/solutions/finance): Accurate invoicing and revenue reporting across subscriptions, usage, and credits without manual finance operations.
- [Flexprice for Fintech](https://flexprice.io/solutions/fintech): Usage-based billing built for fintech companies. Meter every transaction in real time, reconcile invoices to the cent, and stay audit-ready...
- [Flexprice for Product](https://flexprice.io/solutions/product): Stop waiting on sprints to test a pricing hypothesis. Launch any model, iterate in real time, and let billing work in the background.
- [Flexprice for Voice AI](https://flexprice.io/solutions/voice-ai): Flexprice meters every minute, conversation, and outcome in real time then handles credits, wallets, and invoicing so your team can focus on the...
## Comparisons
- [Compare](https://flexprice.io/compare): Flexprice lets AI-native and SaaS teams operate usage-based, credit-based, and hybrid pricing with real-time metering and reporting that scales as...
- [Flexprice vs Chargebee](https://flexprice.io/compare/flexprice-vs-chargebee): Compare Flexprice and Chargebee for AI and usage-based billing. Chargebee is subscription-first. Flexprice is usage-first with native credits...
- [Flexprice vs Lago](https://flexprice.io/compare/flexprice-vs-lago): Compare Flexprice and Lago for open-source usage-based billing. Both are open source but Flexprice goes deeper on credits, entitlements...
- [Flexprice vs Metronome](https://flexprice.io/compare/flexprice-vs-metronome): Flexprice vs Metronome : Compare features, pricing, and flexibility. See why AI and SaaS teams choose Flexprice as the top Metronome alternative.
- [Flexprice vs Orb](https://flexprice.io/compare/flexprice-vs-orb): Compare Flexprice and Orb for usage-based billing. Flexprice is open source, supports multiple payment gateways, and covers PLG to enterprise.
- [Flexprice vs Stripe](https://flexprice.io/compare/flexprice-vs-stripe): Flexprice vs Stripe : Compare features, pricing, and flexibility. See why AI and SaaS teams choose Flexprice as the top Stripe alternative.
## Customer Stories
- [Customer Stories](https://flexprice.io/customer-stories): Explore how customers use Flexprice to fix pricing and deploy it in unique ways, to win.
- [How CASParser Cut 60-Minute Metering Lag to Near Real-Time and Unlocked SLG + PLG with Flexprice](https://flexprice.io/customer-stories/casparser): A real-time metering and entitlements layer that updates quotas instantly, exposes usage events directly to customers, supports flexible plan...
- [How Segwise Shipped Credit-Based Pricing in 3 Days After Spending 3 Weeks Building It In-House](https://flexprice.io/customer-stories/segwise): A credit-based metering platform that automated usage tracking across AI analysis workloads, gave sales and CS teams self-service controls, and...
- [How Simplismart Scaled to 750+ Pricing Features and Reclaimed 30% of Daily Engineering Bandwidth with Flexprice](https://flexprice.io/customer-stories/simplismart): A unified billing platform that automated metering across 750+ pricing features, provided real-time customer analytics, and scaled with their...
## Documentation: Getting Started
- [Welcome to Flexprice](https://docs.flexprice.io/docs/welcome-to-flexprice): Developers should focus on building, not billing
- [Architecture](https://docs.flexprice.io/docs/getting-started/architecture): How Flexprice is engineered for scale, reliability, and data integrity — the infrastructure, data flows, failure modes, and recovery guarantees...
- [Flexprice Cloud](https://docs.flexprice.io/docs/getting-started/cloud): Learn how to quickly get started with Flexprice Cloud - the fastest way to integrate usage-based pricing
- [Configuration](https://docs.flexprice.io/docs/getting-started/configuration): Configure your self-hosted Flexprice instance
- [Go-Live Checklist](https://docs.flexprice.io/docs/getting-started/go-live-checklist): Complete this before switching to Production.
- [Self-hosting on AWS](https://docs.flexprice.io/docs/getting-started/self-hosting-aws): Complete guide to deploy Flexprice on AWS with ECS, Aurora PostgreSQL, MSK, EKS, and Redis
- [Self-hosting the Frontend](https://docs.flexprice.io/docs/getting-started/self-hosting-frontend): Run the Flexprice dashboard on your own infrastructure and connect it to a self-hosted backend
- [Self-hosting Flexprice](https://docs.flexprice.io/docs/getting-started/self-hosting-guide): Learn how to set up and run Flexprice on your own infrastructure
## Documentation: Event Ingestion and Metering
- [Event Ingestion API Reference](https://docs.flexprice.io/docs/event-ingestion/api-reference): Complete API reference for sending events to Flexprice
- [Connecting to Billing](https://docs.flexprice.io/docs/event-ingestion/connecting-to-billing): Learn how to connect events to billing and see usage in invoices
- [Creating a Metered Feature](https://docs.flexprice.io/docs/event-ingestion/creating-a-metered-feature): Step-by-step guide to create a metered feature for event ingestion
- [Event Debugger](https://docs.flexprice.io/docs/event-ingestion/event-debugger): Monitor and debug event processing in real-time
- [Event Monitoring](https://docs.flexprice.io/docs/event-ingestion/monitoring): Monitor the health and performance of your event ingestion and processing pipeline
- [Overview](https://docs.flexprice.io/docs/event-ingestion/overview): Learn how to send usage events to Flexprice for metered billing
- [Sending Events](https://docs.flexprice.io/docs/event-ingestion/sending-events): Learn how to send usage events to Flexprice via API
- [Troubleshooting Event Ingestion](https://docs.flexprice.io/docs/event-ingestion/troubleshooting): Comprehensive guide to fixing common event ingestion issues in Flexprice
- [Validating Events](https://docs.flexprice.io/docs/event-ingestion/validating-events): Learn how to verify that events are being processed correctly in Flexprice
- [Get Started](https://docs.flexprice.io/docs/collectors/get-started): Install and run the Flexprice Bento Collector with Docker or Kubernetes
- [How It Works](https://docs.flexprice.io/docs/collectors/how-it-works): Architecture, batching, and performance optimization for the Bento Collector
- [Flexprice Collector](https://docs.flexprice.io/docs/collectors/overview): Stream usage events from Kafka and other sources into Flexprice with reliable delivery
## Documentation: Product Catalogue (Features, Plans, Pricing)
- [Apply Coupon to a Subscription](https://docs.flexprice.io/docs/product-catalogue/coupons/apply-discount-on-subscription): Link coupons to subscriptions at creation or post-creation. Use subscription phases to schedule discount windows.
- [Create a Coupon](https://docs.flexprice.io/docs/product-catalogue/coupons/create): Create percentage or fixed-amount discount coupons via API or dashboard.
- [Coupons Overview](https://docs.flexprice.io/docs/product-catalogue/coupons/overview): Create percentage or fixed-amount discounts and apply them to subscriptions at the invoice or line-item level.
- [Pricing unit](https://docs.flexprice.io/docs/product-catalogue/custom-pricing/pricing-unit): This feature allows you to create and use your own currency in Flexprice. With create Price Units, add them to plans and wallets in custom currency.
- [Use cases](https://docs.flexprice.io/docs/product-catalogue/custom-pricing/use-cases): Add charges and create wallets using custom price units. All billing calculations use base currency.
- [AVERAGE](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/average): Calculates the average value of a specified property across all matching events.
- [COUNT](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/count): Counts the number of distinct events (by ID) that match the criteria.
- [COUNT UNIQUE](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/count-unique): Counts the number of distinct values for a specified property.
- [LATEST](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/latest): Returns the most recent value of a property based on event timestamp.
- [MAX](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/max): Get the maximum value of a property with optional bucketed or group-by calculations.
- [Overview](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/overview): Aggregation types define how usage is measured from incoming events. They are used to calculate billable consumption and form the foundation of...
- [SUM](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/sum): Sums the values of a specified property across all matching events.
- [SUM WITH MULTIPLIER](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/sum-with-multiplier): Sums property values and applies a configurable multiplier.
- [WEIGHTED SUM](https://docs.flexprice.io/docs/product-catalogue/features/aggregation/weighted-sum): Time-weighted sum calculation where values are prorated based on duration.
- [Creating a feature](https://docs.flexprice.io/docs/product-catalogue/features/create)
- [Custom Expression](https://docs.flexprice.io/docs/product-catalogue/features/custom-expression): Compute a per-event quantity from event properties using a CEL formula, then aggregate the result.
- [Entitlement Grants](https://docs.flexprice.io/docs/product-catalogue/features/entitlement-grants): Configure time-boxed usage quotas on entitlements — rolling windows, parallel limits, and amount-based caps with exhaustion alerts and overage billing
- [Link features to plans](https://docs.flexprice.io/docs/product-catalogue/features/linking-to-plans)
- [Overview](https://docs.flexprice.io/docs/product-catalogue/features/overview)
- [Use cases](https://docs.flexprice.io/docs/product-catalogue/features/use-cases)
- [Feature-Wallet Balance Alert](https://docs.flexprice.io/docs/product-catalogue/features/wallet-balance-alert): Set up automated alerts to monitor feature wallet balances and receive notifications when thresholds are crossed
- [Groups](https://docs.flexprice.io/docs/product-catalogue/groups): Create named groups (e.g. product line, region, tier), assign prices to them, and see usage and cost broken down by group in analytics and the...
- [Charges grouping](https://docs.flexprice.io/docs/product-catalogue/groups/charges-grouping): Assign prices (charges) to a group when adding or editing a charge.
- [Creating a group](https://docs.flexprice.io/docs/product-catalogue/groups/create): Create and list groups. Entity type is set once at creation and cannot be changed.
- [Feature grouping](https://docs.flexprice.io/docs/product-catalogue/groups/feature-grouping): Assign features to a group when creating or editing a feature.
- [Overview](https://docs.flexprice.io/docs/product-catalogue/groups/overview): Create named groups (e.g. Usage Pricing, Add-on Charges) for features and prices, and see grouped invoice line-items, usage and cost broken down...
- [Archiving a plan](https://docs.flexprice.io/docs/product-catalogue/plans/archive)
- [Flat fee](https://docs.flexprice.io/docs/product-catalogue/plans/billing-models/flat-fee)
- [Package](https://docs.flexprice.io/docs/product-catalogue/plans/billing-models/package)
- [Volume tiered](https://docs.flexprice.io/docs/product-catalogue/plans/billing-models/volume-tiered)
- [Advance vs Arrear](https://docs.flexprice.io/docs/product-catalogue/plans/charges/advance-vs-arrear)
- [Cloning a plan](https://docs.flexprice.io/docs/product-catalogue/plans/clone): Create a duplicate of an existing plan with a new name and lookup key, including its active prices, published entitlements, and plan-scoped credit...
- [Creating a plan](https://docs.flexprice.io/docs/product-catalogue/plans/create): Follow the steps below to create a pricing plan in Flexprice:
- [Localisation](https://docs.flexprice.io/docs/product-catalogue/plans/localisation)
- [Overview](https://docs.flexprice.io/docs/product-catalogue/plans/overview)
- [Price Overrides](https://docs.flexprice.io/docs/product-catalogue/plans/price-overrides): Learn how to customize pricing for individual customers by overriding plan charges during subscription creation.
- [Pricing Plans](https://docs.flexprice.io/docs/product-catalogue/plans/pricing): Learn how to create and manage pricing plans in Flexprice, including step-by-step creation, billing models, and price termination management.
- [Updating a Plan Price](https://docs.flexprice.io/docs/product-catalogue/plans/update-price): Update a plan price's amount, tiers, or metadata — and safely propagate the change to all active subscribers using the price sync workflow.
- [Clone Cursor pricing](https://docs.flexprice.io/docs/product-catalogue/plans/use-cases/clone-cursor-pricing)
- [Clone OpenAI pricing](https://docs.flexprice.io/docs/product-catalogue/plans/use-cases/clone-openai-pricing)
- [Apply Tax to Customers and Subscriptions](https://docs.flexprice.io/docs/product-catalogue/taxes/apply): Link tax rates to tenants, customers, and subscriptions. Manage post-creation changes via the subscription modification API.
- [Configure Tax Rates](https://docs.flexprice.io/docs/product-catalogue/taxes/configure): Create and manage reusable tax rate definitions in flexprice.
- [Taxes Overview](https://docs.flexprice.io/docs/product-catalogue/taxes/overview): How flexprice handles tax rates, associations, and automatic inheritance across customers and subscriptions.
## Documentation: Customers
- [Archive a customer](https://docs.flexprice.io/docs/customers/archive)
- [Creating a customer](https://docs.flexprice.io/docs/customers/create)
- [Customer Portal](https://docs.flexprice.io/docs/customers/customer-portal): Generate secure sessions for customers to access their billing information
- [Overview](https://docs.flexprice.io/docs/customers/overview)
- [Alerts and Notifications](https://docs.flexprice.io/docs/customers/threshold-notifications): Configure proactive threshold-based alerts for wallet balances and usage — at the customer level or individual feature level — with real-time...
- [Customer Timezones](https://docs.flexprice.io/docs/customers/timezone-aware-billing): Bill customers in their local timezone. Set a timezone on a customer and Flexprice automatically aligns billing periods, usage windows...
## Documentation: Subscriptions
- [Consolidated Billing](https://docs.flexprice.io/docs/subscriptions/billing-workflows/consolidated-billing): One parent subscription covers multiple chi