Why Features?
Instead of just billing customers per unit, you can also control access to capabilities. A “Starter” plan might include:- ✅ Up to 10,000 API calls/month (meter feature with limit)
- ✅ Access to the Analytics dashboard (switch feature = true)
- ✅ 1 workspace (custom feature = “1”)
- ❌ Advanced exports (switch feature = false)
Feature Types
Meter
Quantitative entitlements backed by usage tracking. Set limits and reset periods.
Switch
Boolean on/off flags for capabilities that are simply enabled or disabled.
Custom
Arbitrary text or numeric values. Use for seats, workspace limits, retention periods, etc.
Creating Features
Features are created in Dashboard → Features or via the API.- Meter Feature
- Switch Feature
- Custom Feature
Feature Lifecycle
- Create a feature (choose type)
- Attach the feature to a plan with entitlement rules (limit, enabled/disabled, value)
- Customer subscribes to the plan → inherits feature entitlements
- Check entitlements in your app using the Fluxrate API to gate features
Attaching Features to Plans
When adding a feature to a plan, you configure the specific entitlement for that plan tier:| Field | Description |
|---|---|
is_enabled | Whether this feature is on for this plan |
usage_limit | For meter features: max usage allowed (null = unlimited) |
usage_reset_period | When the limit resets: day, week, month, year |
is_soft_limit | If true, access is not blocked when limit is exceeded |
static_value | For custom features: the entitlement value (e.g., “5”) |