Monetization Infrastructure Built for AI Native Companies
FlexPrice lets AI-native and SaaS teams operate usage-based, credit-based, and hybrid pricing with real-time metering and reporting that scales as your product evolves.Why FlexPrice?
Modern app developers often find themselves wrestling with billing systems. Traditional billing services handle simple subscriptions or payments, but anything beyond that – usage metering, credit systems, feature gating, custom invoice logic – usually isn’t supported out of the box.Developer-First Design
Built API-first with easy integrations. Simply send usage events via SDKs, and FlexPrice handles the aggregation, metering, and billing logic in real time.
Open Source & Self-Hostable
Run on your own infrastructure for full transparency and control. No black-box dependency, no surprise fees, and you’re free from vendor lock-in.
Composable Architecture
Integrates with your existing billing providers like Stripe or Chargebee. Build on top of your current stack rather than replacing it.
Flexible Pricing Models
Support usage-based billing, tiered plans, seat-based subscriptions, prepaid credits, free tiers with overage, or any hybrid model out-of-the-box.
Core Features
Usage Metering
Track custom usage events at granular level in real time. Handle millions of events with reliable aggregation, even at peak load.
Credit Grants
Support prepaid and promotional credits with full control. Set up automatic top-ups, credit expiration, and wallet management.
Pricing Plans
Design and iterate on pricing models with total flexibility. Launch new plans or modify existing ones without engineering effort.
Feature Management
Manage feature entitlements and usage limits per plan or per customer. Define toggles, metered limits, or configuration values.
Subscriptions & Invoicing
Generate accurate invoices based on real-time usage data. Automate billing cycles with proration, overages, and credit application.
Real-Time Analytics
Get clear visibility into usage and charges. Real-time usage summaries and cost reports for both engineering and finance teams.
Get Started
Quickstart
Get FlexPrice running locally with Docker Compose and ingest your first usage event in under 5 minutes.
Architecture Overview
Understand FlexPrice’s system architecture, technology stack, and how components work together.
API Reference
Explore the complete API documentation with examples for all endpoints.
SDKs
Use official SDKs for Go, Python, and JavaScript to integrate FlexPrice into your application.
Open Architecture
Your application, whether it’s running backend APIs, AI agents, or custom workflows, can send usage data to FlexPrice. You can directly stream data from data warehouses or analytics pipelines as well.Ingest Usage Data
Your application sends usage events to FlexPrice via SDKs or HTTP APIs. Stream from data warehouses or analytics pipelines directly.
Process & Calculate
FlexPrice processes data in real time. Calculate pricing based on customer plans, apply prepaid/promotional credits, enforce feature limits, and generate invoices automatically.
Why Billing is a Developer Problem
When existing billing tools don’t flex to your product’s needs, developers shoulder the burden – eating up valuable development time and causing ongoing maintenance headaches.
- Rigid billing tools: Traditional systems handle simple subscriptions but struggle with usage metering, credit systems, and custom invoice logic
- Complex usage metering at scale: Accurate tracking involves capturing high-volume events, real-time aggregation, and handling edge cases reliably
- Vendor lock-in: Third-party platforms are often closed systems with percentage fees on revenue, frustrating engineers who want control
- Delayed monetization: Every week spent building billing is a week not spent on core features, delaying revenue and business agility
Community & Resources
Documentation
Complete guides and API reference
GitHub
Open source repository
Demo
Watch FlexPrice in action
Slack Community
Join the community
Follow us on LinkedIn
Follow us on X
License
FlexPrice is a commercial open source company with an “Open Core” model:- Core technology (99%): Fully open source, licensed under AGPLv3
- Enterprise Edition (1%): Covered under a commercial license