Open-source pricing from code

Raterunner gives engineering and product teams one YAML source of truth for pricing plans, promo codes, pricing tier limits, entitlements, and provider sync. Review pricing changes in Git, validate them before release, and apply them to Stripe and other providers without dashboard drift.

Pricing from codeSchema validated
Animated Raterunner terminal showing YAML validation and Stripe dry-run output

One source of truth

Define the billing model once, then let tools consume it.

Plans, prices, entitlements, addons, and promotions live together. The schema makes configuration explicit, reviewable, and portable across payment providers.

raterunner/billing.yaml
version: 1providers:  - stripeentitlements:  seats: { type: int, unit: seat }  api_calls: { type: int, unit: call }  sso: { type: bool }plans:  - id: pro    name: Pro    prices:      monthly: { amount: 2900 }      yearly: { amount: 29000 }    limits:      seats: 10      api_calls: 50000      sso: false

CLI in the workflow

Useful commands stay close to the product story.

Install the CLI, validate the file, then preview provider changes before any external payment gateway is touched.

Open-source workflow

Keep pricing changes in the same workflow as product changes.

Store prices and entitlements in code

Keep plans, limits, features, prices, and promo rules in a versioned `billing.yaml` file.

Manage pricing changes with the CLI

Validate edits, preview diffs, and catch broken provider references before they reach production.

Deploy billing config together

Sync pricing plans and promo codes to payment providers while your backend reads the same source files.

Start building

Install the CLI, create `billing.yaml`, and run a dry-run sync.