Documentation
Spend caps
Set a hard monthly limit for your workspace. Rebasable alerts you and never bills above it.
A spend cap is a hard monthly limit for your workspace’s bill. It is the feature we wanted for years on other platforms: a traffic spike, a runaway autoscaler or a forgotten preview can never turn into a surprise invoice.
How it works
- New paid workspaces start with a default cap of $50/month. Change it in Billing → Spend cap (admins and owners).
- Before a change: creating a service, scaling up, upgrading a database or enabling autoscaling is rejected if the projected monthly cost would exceed the cap. You see the projected cost and the cap in the error, and can raise the cap on the spot.
- During the month: we email the workspace admins at 50%, 80% and 100% of the cap (plus Slack, Discord or webhooks if you set them up under Notifications).
- At 100%: you choose what happens:
- Suspend paid resources (default): paid services and databases are paused. Data, disks and backups are kept. Free resources keep running.
- Notify only: resources keep running and we keep alerting you. Choose this only if uptime matters more than the limit: usage above the cap is billed.
- Raise the cap or wait for the next billing period, and suspended resources resume.
# the API: GET and PUT /v1/billing/spend-cap
curl -X PUT https://api.rebasable.com/v1/billing/spend-cap \
-H "Authorization: Bearer $REBASABLE_TOKEN" -H "content-type: application/json" \
-d '{"capCents": 20000, "action": "suspend"}'
What counts
Everything on the invoice: instances (prorated per second), databases, disks, workspace seats, and bandwidth or build minutes beyond what your plan includes.
Tips
- Set the cap about 25% above your normal monthly bill. The pricing calculator suggests one.
- Use the Free or Starter instance type for preview environments to keep them cheap.
- The Usage page shows month-to-date spend and a projection for the full month.