2 apps Lago
Flexprice screenshot thumbnail

Flexprice

Flexprice is a developer-first billing platform built specifically for AI-native and SaaS companies that need usage-based, credit-based, and hybrid pricing models without building custom billing infrastructure. The metering engine ingests millions of usage events in real time through HTTP APIs or SDK calls, supporting sum, count, unique count, latest value, and multiplier aggregation strategies across custom event schemas like API calls, token counts, compute minutes, and GPU time. Credit management handles prepaid wallets with promotional grants, rollover caps, auto top-ups, and priority-based credit application during invoice generation. The pricing engine supports per-unit, tiered, volume, package, and flat-rate models with per-customer overrides, committed minimums, and enterprise contract terms. Feature entitlements enforce boolean toggles, metered usage limits, and configuration values per plan, enabling applications to gate functionality through simple API checks. Automated invoicing calculates charges from real-time usage data with proration for mid-cycle upgrades and downgrades, generating detailed line items linked to tracked consumption. The architecture separates event ingestion through Kafka from billing computation via Temporal workflow orchestration, allowing each layer to scale independently with ClickHouse handling high-performance usage aggregation. Stripe Connect integration processes payments and manages customer payment methods. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPLv3 licensed.

Deploy
Meteroid screenshot thumbnail

Meteroid

Meteroid delivers the billing infrastructure that SaaS companies need when Stripe Billing gets too rigid and building in-house gets too expensive. The Rust backend ingests usage events via REST API or Kafka with deduplication by event ID and customer ID, storing time-series data in ClickHouse for sub-second aggregation queries across billions of events. Billable metrics transform raw events — API calls, compute time, tokens, storage, transactions — into accurate charges using configurable aggregation functions, dimensions, and filters without pre-aggregation. The plan builder supports any pricing structure: flat rate, per-unit, tiered graduated, tiered volume, package, and hybrid combinations with multiple price components per plan. Versioned plans enable pricing changes without affecting existing subscribers through grandfathering, while experiments let you A/B test pricing with controlled rollouts. Subscription management handles the full lifecycle — creation, upgrades, downgrades, mid-cycle proration, scheduled changes, and cancellation with configurable grace periods. The TypeScript frontend provides a complete web dashboard for managing customers, plans, subscriptions, invoices, and revenue analytics with MRR tracking, churn analysis, and cohort insights. Automated invoice generation handles complex scenarios including usage-based line items, credits, discounts, and tax calculations with PDF rendering. Stripe Connect integration enables payment collection directly through the platform. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.

Deploy