Skip to main content
Your plan decides how usage is paid, and that decides how the spend cap works. Spend caps are org-wide and set in dollars. Run floo billing balance to see your org’s model and balance. Plan features and limits are on Plans and limits.

Pay as you go (prepaid)

Run floo billing balance to inspect settled credits, pending funding, the remaining monthly limit, and recorded stop or recovery progress. Use floo billing upgrade to open Billing for the current organization and add funds. Pending payments do not become spendable credits until settlement. New spending requires both a positive balance and room under the monthly hard limit. Raising the limit does not add credits; adding credits does not raise an existing positive limit. The first settled payment sets the limit to its settled amount when the limit is unset, zero, or no higher than the pre-plan $5 ceiling. A higher existing limit is preserved. floo billing spend-cap set 50 sets a $50 monthly hard limit. Prepaid accounts always use hard_stop: set 0 and weaker policies are rejected with PREPAID_HARD_LIMIT_REQUIRED. When funds or limit headroom run out, new spending is refused and floo suspends workloads. Inspect floo billing balance for the limiting condition and recovery progress, then check the app itself. Usage can arrive after work runs, and retained resources can keep accruing charges after workloads stop. The saved card covers unpaid usage and, while auto top-up is on, replenishes credits within the monthly limit. Billing shows payment failures and any required recovery action.

Auto top-up

Pay as you go orgs have a saved card. When auto top-up is on and the balance falls below $5, floo charges that card for the org’s last credit purchase amount, plus any unpaid usage, and adds credits once the payment settles. The threshold and amount are not configurable. Auto top-up is on by default once an org buys credits under the current checkout terms. An org whose card was saved under earlier terms has it off until its next credit purchase. The monthly limit set with floo billing spend-cap set bounds each top-up: it never adds more credits than the limit still allows this month. No top-up is charged when that amount would be under $10. Org admins turn auto top-up off or on with the CLI or on the dashboard Billing page:
Turning it on before a purchase has authorized top-ups fails with AUTO_TOP_UP_NEEDS_PURCHASE; add credits once with floo billing upgrade. If the card is declined, floo turns auto top-up off and emails every org admin. A later successful credit purchase turns it back on, unless an admin turned it off themselves. Saved-card charges for unpaid usage continue at month-end or when unpaid usage reaches $25. Every org admin is emailed each time the card is charged.

Subscription billing

Steps 1 to 5 below apply to subscription billing. Checking usage and the JSON output work the same on prepaid.

1. Check current usage

It shows:
  • current plan
  • floo credits included per month on that plan
  • current period spend
  • current spend cap
--json also returns max_spend_cap_cents, the highest cap the plan allows.

2. Set a spend cap

The CLI takes dollars. On subscription billing, 0 turns budget protection off. On Pay as you go, use a positive amount.

3. Choose what happens at the cap

Every cap carries a policy. Warning emails go to org admins at 80% under all three; the policy decides what changes at 100%: The CLI has no policy flag: floo billing spend-cap set <amount> keeps the policy already on the org, or selects freeze_new_spend when budget protection was off. To choose a policy, use the dashboard Billing page or send policy alongside spend_cap (in cents) to POST /v1/billing/spend-cap. Sending a cap with the policy off is rejected with SPEND_CAP_POLICY_REQUIRED. Under freeze_new_spend and hard_stop, a blocked deploy fails with SPEND_CAP_EXCEEDED until the cap is raised or the next billing period begins. Raising the cap above current spend clears the block. After a hard_stop, services stay scaled to zero until the next deploy, restart, or promote recreates them. Choose alerts_only when downtime costs more than overspend, freeze_new_spend when running traffic must stay up but agents must not add capacity, and hard_stop when the bill itself is the hard limit.

4. Upgrade the plan

This opens Billing for the CLI’s current organization to choose a plan, add prepaid funds, or inspect recovery. A prepaid organization cannot start a self-serve subscription checkout; contact support if you need to change its billing model. Subscription plans start with no spend cap. A subscription plan change keeps an existing positive cap unless it is below the new plan’s included credits; then floo raises the cap to that allowance and keeps the policy. Pay as you go uses the mandatory hard limit described above.

5. Use JSON for automation

Dashboard surface

The Billing page shows:
  • current plan details
  • usage charts and limits
  • spend cap amount and policy
  • upgrade and billing portal flows
Scripts and agents set guardrails with the CLI or the HTTP API. Read retained billing email history with floo billing notifications. It records earlier observations and submission outcomes, not current workload health.
  1. Inspect usage after the first live deploy.
  2. Set a spend cap that matches the project budget. Pay as you go uses hard_stop; subscription accounts can choose a policy on Billing.
  3. Re-check usage before increasing the cap.
  4. Treat SPEND_CAP_EXCEEDED or SPEND_AUTHORITY_EXHAUSTED as an operational signal, not a transient error.