flexprice

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README ΒΆ

fleprice logo

⚑️ Usage metering and billing for AI companies ⚑️

🌟 Built with developers in mind, so you don’t have to create billing and metering from scratch. 🌟


LinkedIn

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.

The struggle is real since AI is here

Record Replay Testing

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.

The Solution: Flexprice

Usage metering, subscription management and infra cost into one stack

Record Replay Testing

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

Flexprice Dashboard

πŸš€ Setting up Flexprice from source for development and contributions

To run Flexprice for local development or running from source, you will need

  1. Golang
  2. Any of the below supported platform environments:
    1. Linux based environment
    2. OSX (Darwin) based environment
    3. WSL under Windows
git clone https://github.com/flexprice/flexprice
cd flexprice
go run cmd/server/main.go

Code Architecture

See CONTRIBUTING.md for more details on the code architecture and design principles.

πŸ‘¨πŸ»β€πŸ’» Let's Build Together! πŸ‘©πŸ»β€πŸ’»

Whether you're a newbie coder or a wizard πŸ§™β€β™€οΈ, your perspective is golden. Take a peek at our:

πŸ“œ Contribution Guidelines

πŸ—οΈ Local Development Setup

❀️ Code of Conduct

✨ Resources!

πŸ“– API Docs

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL