Dec 2, 2026

pricelab

stripe pricing ai rust react typescript billing saas

pricelab is a pricing guard for AI products. AI cost grows with usage, but most pricing doesn't, so some customers end up costing more than they pay. pricelab finds them, replays your real customers under three new pricing models using Stripe's own invoice math, and switches the ones you pick without bill shock.

How it works

  • Margin: lines up what each customer paid with the AI cost they created, by feature and by plan, and flags losses every week.
  • Pricing: drafts seat plus overage, unified credits and pay per output models from your unit costs, then an LLM tunes and explains them.
  • Replay: asks Stripe to price every customer, month and model with an invoice preview.
  • Switch: creates the new prices in Stripe, moves customers at renewal with subscription schedules, caps the first new bill with a credit grant, and shows that first bill on a test clock.
  • Customer emails: drafts one price change email per customer you move, checked against their own numbers. pricelab never sends them.
  • Playground: model any business in three SQL tables (customers, bills, usage) in your browser, or upload your own CSV, without touching Stripe.

Stack: Rust (axum, tokio, rusqlite) for the API, replay and seed; React 19, Vite and TypeScript for the UI. One binary serves both. Free in Stripe sandboxes and test mode. The live demo loads with demo data, view only, no sign-up needed.

1

Give a star to encourage!Discussion
Start a new conversation!
Login to join the discussion

More Builds by Koushik Venkatesan

go devtools tailscale mcp ssh
macos swift menu-bar usb diagnostics