tier
is a tool that lets you define and manage your SaaS application's pricing model in one place (pricing.json).
Tier will handle setting up and managing Stripe in a way that is much more friendly for SaaS and consumption based billing models. Tier's SDK can then be implemented for access checking, metering/reporting, and more.
- Manage your features, plans and their pricing in one place
- On demand test environments and preview deployments allow you to work with confidence
- Create custom plans and variants as needed for specific customers or tests
- Stripe is kept in sync and fully managed by Tier
- Access Checking and Entitlements are handled by the Tier SDKs
- Install Tier CLI
- Create your first pricing.json and
tier push
to your dev or live environment - Get a Tier SDK and add it to enable Access Checks and Metering
You can see and example here: Tier Hello World!
brew install tierrun/tap/tier
Binaries for major architectures can be found at here.
If go1.19 or later is installed, running or installing tier like:
go run tier.run/cmd/tier@latest
or
go install tier.run/cmd/tier@latest