🌟 Built with developers in mind, so you don’t have to create billing and metering from scratch. 🌟
Flexprice is a developer first answer to building and launching any pricing model and collecting usage data in real-time.
We have one goal - our friends should never have to write a billing system from scratch again.
In-house Billing Systems are a nightmare for Engineers. With rising use of AI workloads internally and building new AI features, it has become necessary to build metering and billing systems to track usage and costs.
Frequency of changes in pricing models is also increasing. These changes make it hard to manage existing subscriptions and require a lot of manual effort in terms of migrations and testing.
Usage metering, subscription management and infra cost into one stack
Developers don't need to spend months building internal metering and rating systems.
Flexprice offers APIs, SDKs, self serve UI widgest, internal dashboards and more to help you get started in minutes. With Flexprice, you can:
-
Evolve your pricing with flexibility: We support Usage-based pricing, Minimum commitments, Volume discounts, Prepaid Credits, Upgrades and downgrades, etc.
-
Real-time overview AI Infrastructure Costs: Optimize revenue operations and measure LLM Token Usage, GPU Time, Compute Hours, API Call Frequency and Duration, etc
-
Custom Invoice and Billing logic: Raise invoices, manage billing cycles, apply discounts, taxes, grace period, payment terms, etc
To run Flexprice for local development or running from source, you will need
- Golang
- Any of the below supported platform environments:
- Linux based environment
- OSX (Darwin) based environment
- WSL under Windows
git clone https://github.com/flexprice/flexprice
cd flexprice
go run cmd/server/main.goSee CONTRIBUTING.md for more details on the code architecture and design principles.
Whether you're a newbie coder or a wizard 🧙♀️, your perspective is golden. Take a peek at our:
📖 API Docs


